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:49]
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]]
  
-Get rid of old packages:+===== The bigger picture =====
  
-<​code>​ +  * podman 
-$ sudo dnf remove docker \ +  * containerd 
-                  ​docker-common \ +  * buildah 
-                  ​docker-selinux \ +  * cri-o
-                  docker-engine-selinux \ +
-                  docker-engine +
-</​code>​+
  
-Install Docker repo for Fedora 25/26/27: 
  
-<​code>​ +===== TO DO =====
-$ 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:+  * 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 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): +  * Containers versus images ​(technology
- +  * [[Docker installation on Fedora]] 
-<​code>​ +  * [[Docker initial containers]]
-$ 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.1521532151.txt.gz · Last modified: 2018/03/20 07:49 by rpjday