How to copy file to an existing docker container

We can use the docker command to copy file from local to existing docker container.

#docker cp <source> <container>:<destination> 

Where source, container, destination need to be replaced with the location of the source file, id of the container and location to the destination file respectively.

That's all…