dockerfile test:

FROM redis
ADD https://www.baidu.com/123.tgz /opt/

res:

[root@tx 132]# docker build .
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM redis
 ---> 7614ae9453d1
Step 2/2 : ADD https://www.baidu.com/123.tgz /opt/
ADD failed: failed to GET https://www.baidu.com/123.tgz with status 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /123.tgz was not found on this server.</p>
</body></html>

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code