Please enable JavaScript.
Coggle requires JavaScript to display documents.
Docker SOTA - Coggle Diagram
Docker SOTA
Image
concepts
introduction
what is it
analogy
a blueprint
a class
our application that is not running
why it exists
create multiple
containers
or instance
share your application
tags
what is it
version of image
or version of your app
using tags
used in downloading images
e.g downloading golang:1.6-alpine
digest
usage
pulling image
command
docker pull <imagename>:<image-tag>
creating image
read more:
docker files
deleting image
command
docker image rm <imagename>:<image-tag>
uploading to registry
Container
concepts
introduction
what is it
instance of image
why don't run
image immediately?
you can't add env, etc
can't create multiple instance
stopped container
a stopped stop
why stop it? because you want to run again later with the same config
for microservices
assign container to a network (read more:
docker network
)
expose a port (by mapping)
usage
instantiating a container
giving env
mapping ports
assigning to network
assigning docker volume
starting a container
stopping a container
Introduction
why it exist
isolated environment
compatibility in deployment
sharing images
microservices
easier with compose
Docker File
Compose
Networks
Volume