Wednesday, February 24, 2016


Today i figured it's time to learn docker.

Docker operates with images. Containers can be spawned from image.

  • view images

docker 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 

No comments: