Please enable JavaScript.
Coggle requires JavaScript to display documents.
Docker - Coggle Diagram
Docker
Container
Way to Package an application with all necessary Dependencies and configuration
Makes development and deployment easy and efficient
Container Layers
Intermediate Layers
Layer - Application Image
Layer - Linux Base Image
One command to install the app
Packaged with all configuration
Own isolated Environment
Containers live in container repository.
Private Repository
Public Repository
Docker Hub
Commands
docker pull <container name>
docker run <container name>
create and run a container from specific image
docker ps
show all the running containers
docker run -d <container name>
create and run a container in detached mode
docker stop <container ID>
docker ps -a
show all the running and stopped containers
docker run -d -p<ServerPort>:<ConteinerPort> <Continer Name>