Docker operates with images. Containers can be spawned from image.
- view images
- delete images
docker rmi <image id>
- delete container
docker rm <container id>
- create image from modified container
docker build -t <image name>:<version or tag> .
- start container (i for interactive, t for pseudo-tty)
docker -ti <image name> bash