ADD runs on the docker host.
The manual ADDcopies new files, directories, or URLs of deleted files from <src>and adds them to the image file system along the way <dest>.
RUN runs inside your container.
RUN . Dockerfile.
, RUN curl -o file.txt http://X.X.X.X/path/to/file/file.txt curl, , . curl ( ), RUN .
ADD url , curl ( ) , ( Go, ) .
http://X.X.X.X/path/to/file/file.txt -?
: :
, /etc/default/docker. , , .