User Tools

Site Tools


docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker [2018/03/20 07:47]
rpjday
docker [2019/10/07 10:28] (current)
rpjday [Overview]
Line 3: Line 3:
 Collection of Docker-related topics, including Fedora-related. Collection of Docker-related topics, including Fedora-related.
  
-===== Internal ​wiki links =====+Internal ​pages:
  
-  * [[Docker installation on Fedora]]+  * [[Dockerfiles]]
  
-Links:+===== The bigger picture =====
  
-  * [[https://​docs.docker.com/​install/​linux/​docker-ce/​fedora/​|Install Docker on Fedora]] +  * podman 
-  * [[https://​docs.docker.com/​install/​linux/​linux-postinstall/​|Post-installation steps for Linux]]+  * containerd 
 +  * buildah 
 +  * cri-o
  
-Get rid of old packages: 
  
-<​code>​ +===== TO DO =====
-$ sudo dnf remove docker \ +
-                  docker-common \ +
-                  docker-selinux \ +
-                  docker-engine-selinux \ +
-                  docker-engine +
-</​code>​+
  
-Install ​Docker ​repo for Fedora 25/26/27:+  * Properties of Docker ​CE 
 +  * ''​podman''​ 
 +  * Compose 
 +  * Swarm 
 +  * libcgroup 
 +  * containerd.io 
 +  * nginx 
 +  * orchestration (Swarm versus Kubernetes) 
 +  * export DOCKER_HIDE_LEGACY_COMMANDS=true
  
-<​code>​ +===== Internal wiki links =====
-$ sudo dnf -y install dnf-plugins-core +
-$ sudo dnf config-manager \ +
-    --add-repo \ +
-    https://​download.docker.com/​linux/​fedora/​docker-ce.repo +
-</​code>​+
  
-Optionally, live life dangerously by enabling ''​edge''​ and ''​test''​ repos: +  * Containers versus images ​(technology
- +  * [[Docker installation on Fedora]] 
-<​code>​ +  * [[Docker initial containers]]
-$ sudo dnf config-manager --set-enabled docker-ce-edge +
-$ sudo dnf config-manager --set-enabled docker-ce-test +
-</​code>​ +
- +
-Finally, install, start and test ''​docker-ce'' ​(Community Edition)+
- +
-<​code>​ +
-$ sudo dnf install docker-ce +
-$ sudo systemctl enable docker +
-$ sudo systemctl start docker +
-$ sudo docker run hello-world +
-</​code>​ +
- +
-Optionally, add user accounts to ''​docker''​ group: +
- +
-<​code>​ +
-$ sudo groupadd docker +
-$ sudo usermod -aG docker $USER +
-$ docker run hello-world +
-</​code>​+
docker.1521532072.txt.gz · Last modified: 2018/03/20 07:47 by rpjday