Skip to main content

Posts

Showing posts from December, 2018

Docker Fundamentals

Docker Training Notes Docker command: Check if docker is installed fine. 1. docker info 2. docker-compose --version Hello world with Docker 1. docker run hello-world Docker took below steps: 1. The docker client contacted the Docker daemon. 2. The Docker daemon pulled the 'hello-world" image from the Docker Hub. 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to the terminal. CLIENT DOCKER_HOST REGISTRY | | | docker build         Docker daemon       Docker Hub docker pull Containers docker run          Images Docker images vs container: 1. Image is combination of filesystem and parameters 2. Image has no state and doesn't change 3. Image is downloaded, build and run 4. Container