Docker is a container system which provides stable snapshots of environments for running code.

Updating an image

I followed this Gist on how to update an image, and it worked (locally), the next step was to update the image on the Docker hub so that others could use it.

Removing all exited containers

The following line will remove all exited containers.

snippet.bash
docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm
docker/docker.txt · Last modified: 2022/04/08 11:01 by admin
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0