Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


Docker commands

Learn by example

https://docs.docker.com/engine/userguide/


Docker Cheat Sheet

https://github.com/wsargent/docker-cheat-sheet#images


Install on ubuntu:

sudo apt-get install docker.io


Install on Centos ( + start the service )

yum install docker

systemctl status docker.service -l

systemctl start docker.service

systemctl is-enable docker


vagrant@contrib-jessie:~$ docker info
Containers: 22
Running: 8
Paused: 0
Stopped: 14
Images: 17
Server Version: 1.12.5
Storage Driver: overlay2
Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options:
Kernel Version: 4.8.0-0.bpo.2-amd64
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.2 MiB
Name: contrib-jessie
ID: YEAQ:TGCS:HF2B:B5H3:TBTE:ZUQC:4J6C:PIYX:MNNJ:SWMU:6YV4:DKRE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
127.0.0.0/8