Docker

Containers

containervsvm

Basic concepts

https://docs.docker.com/engine/reference/glossary images_containers

Docker architecture

dockerlinux dockerarch

Windows vs Linux

dockerwindows

https://xebia.com/blog/deep-dive-into-windows-server-containers-and-docker-part-2-underlying-implementation-of-windows-server-containers/

Layers

Persistent Containers

Network

Key commands

docker help                     -- description of docker help commands
docker image pull               -- image download
docker image search             -- search for a docker image 
docker container run            -- launch a container instance
docker container run -v         -- mount  a persistent bundle
docker container run -it        -- opening an interactive terminal
docker container run -d         -- a container will run as a background process
docker container run -p         -- port forward
docker container ps | top       -- running containers
docker container inspect        -- querying the runtime parameters of the container
docker container start | stop   -- container start, stop

Docker ecosystem

Docker GUI management

docker container run -d -p 9000:9000 –privileged -v/var/run/docker.sock:/var/run/docker.sock portainer/portainer http://localhost:9000 (specify passwd, then local, connect and voilá, there is a GUI above the local docker environment)