Please enable JavaScript.
Coggle requires JavaScript to display documents.
Docker with 5m everyday (Docker images (Build image (docker commit,…
Docker with 5m everyday
Docker client: docker command
Docker daemon
Docker images
base image
Image layer
Copy-on-Write
rootfs
bootfs
Build image
docker commit
Dockerfile
Registry
docker hub
local registry
Container
Entry container
docker attach
docker exec -it
start/stop/restart/pause/unpause
resource limition
Memory: -m
CPU: -c 1024
Block IO
bps: --device-read-bps/ --device-write-bps
iops: --device-read-iops/ --device-write-iops
--blio-weight
Docker network
default network
None network
docker0 bridge
user defined network
bridge
Overlay
VxLAN
macvlan
container communication
IP
DNS
joined
access container
container to external: SNAT
external to container: DNAT
Docker storage
storage driver
data volume
bind mount
docker managed volume
Docker machine
Create docker machine: docker-machine create --driver <> --generic-ip-address=<IP> <hostname>
docker-machine env <host name>
Docker techonlogy
Namespace
network
process id
hostname
user
filesystem/mount
uts
Control groups
CPU
Memory