Docker commands

# list of images

sudo docker image ls

 

# list of container

sudo docker container ls

 

#copy from docker image

sudo docker cp <image>:/file/path/filename ./filename

 

# open shell

sudo docker run --rm -it --entrypoint bash zachdeibert/monodevelop

 

# open shell into container

sudo docker exec -it monodevelop-docker-container-1 /bin/bash