description: docker commends - not finished yet
check all running proceses/containers
1 | docker ps -a |
delete a container
1 | docker rm container_name |
see all images
1 | docker images |
remove an image
1 | docker rmi image_name |
Stop all running containers
1 | docker stop $(docker ps -a -q) |
commit container as a new image
1 | docker commit new_image_name |
mount host directory in docker container
1 | # mount code folder under current folder into the html folder within the Nginx image |
more on search4fan.github.io