Saturday, December 23, 2017

Docker Terminology : Containers, Repos & Registries

Containers
They are built from images
  • docker ps -a : running containers
  • docker ps : all containers
If you don't give a name to container , they get a fancy name automatically like abc_xyz.

Inside run command If we don't give -it : i = interactive and t=tty terminal ,  then container will be started and command run then show down

Similarly , We could have installed something in container , or patched it 

After patching or installing create a new image

To see history of commands


Repositories & Registries

We pull images from Repos and Repos live inside of Registries.
Public Registry = hub.docker.com
 

No comments: