diff --git a/docs/sources/articles/baseimages.md b/docs/sources/articles/baseimages.md index c795b7a0a7..d2adf62a12 100644 --- a/docs/sources/articles/baseimages.md +++ b/docs/sources/articles/baseimages.md @@ -52,7 +52,7 @@ which you can `docker pull`. You can then use that image to base your new minimal containers `FROM`: FROM scratch - ADD true-asm /true + COPY true-asm /true CMD ["/true"] The Dockerfile above is from extremely minimal image - [tianon/true]( diff --git a/docs/sources/articles/using_supervisord.md b/docs/sources/articles/using_supervisord.md index 91b8976d78..9188265199 100644 --- a/docs/sources/articles/using_supervisord.md +++ b/docs/sources/articles/using_supervisord.md @@ -52,7 +52,7 @@ Now let's add a configuration file for Supervisor. The default file is called `supervisord.conf` and is located in `/etc/supervisor/conf.d/`. - ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf + COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf Let's see what is inside our `supervisord.conf` file. diff --git a/docs/sources/examples/nodejs_web_app.md b/docs/sources/examples/nodejs_web_app.md index a7b8eea7e3..ad99c9bf84 100644 --- a/docs/sources/examples/nodejs_web_app.md +++ b/docs/sources/examples/nodejs_web_app.md @@ -84,11 +84,11 @@ via-package-manager#rhelcentosscientific-linux-6): # Install Node.js and npm RUN yum install -y npm -To bundle your app's source code inside the Docker image, use the `ADD` +To bundle your app's source code inside the Docker image, use the `COPY` instruction: # Bundle app source - ADD . /src + COPY . /src Install your app dependencies using the `npm` binary: @@ -117,7 +117,7 @@ Your `Dockerfile` should now look like this: RUN yum install -y npm # Bundle app source - ADD . /src + COPY . /src # Install app dependencies RUN cd /src; npm install diff --git a/docs/sources/examples/running_riak_service.md b/docs/sources/examples/running_riak_service.md index 59dba00639..6a81180320 100644 --- a/docs/sources/examples/running_riak_service.md +++ b/docs/sources/examples/running_riak_service.md @@ -53,7 +53,7 @@ After that, we install and setup a few dependencies: RUN locale-gen en_US en_US.UTF-8 - ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf + COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf RUN echo 'root:basho' | chpasswd