Docker commands

1. Docker command to copy a file from a location to a folder inside docker container

sudo docker cp /home/ec2-user/CrimsonExploration_20010101-20170917.zip [container-name]:/opt/camelDropBox/BHA


2. How to know the image date

docker images

3. Docker command to copy a folder from inside a docker container to outside

docker cp 83b4da51ad19:/opt/dataloader/logs    /home/madhut/



No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days