Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker [2018/03/20 07:49] – rpjday | docker [2019/10/07 10:28] (current) – [Overview] rpjday | ||
---|---|---|---|
Line 3: | Line 3: | ||
Collection of Docker-related topics, including Fedora-related. | Collection of Docker-related topics, including Fedora-related. | ||
- | ===== Internal | + | Internal |
- | * [[Docker installation on Fedora]] | + | * [[Dockerfiles]] |
- | Get rid of old packages: | + | ===== The bigger picture ===== |
- | < | + | * podman |
- | $ sudo dnf remove docker \ | + | * containerd |
- | | + | * buildah |
- | | + | * cri-o |
- | docker-engine-selinux \ | + | |
- | docker-engine | + | |
- | </ | + | |
- | Install Docker repo for Fedora 25/26/27: | ||
- | < | + | ===== TO DO ===== |
- | $ sudo dnf -y install dnf-plugins-core | + | |
- | $ sudo dnf config-manager \ | + | |
- | --add-repo \ | + | |
- | https:// | + | |
- | </ | + | |
- | Optionally, live life dangerously by enabling | + | * Properties of Docker CE |
+ | * '' | ||
+ | * Compose | ||
+ | * Swarm | ||
+ | * libcgroup | ||
+ | * containerd.io | ||
+ | * nginx | ||
+ | * orchestration (Swarm versus Kubernetes) | ||
+ | * export DOCKER_HIDE_LEGACY_COMMANDS=true | ||
- | < | + | ===== Internal wiki links ===== |
- | $ sudo dnf config-manager --set-enabled docker-ce-edge | + | |
- | $ sudo dnf config-manager --set-enabled docker-ce-test | + | |
- | </ | + | |
- | Finally, install, start and test '' | + | * Containers versus images |
- | + | * [[Docker installation on Fedora]] | |
- | < | + | * [[Docker initial containers]] |
- | $ sudo dnf install docker-ce | + | |
- | $ sudo systemctl enable docker | + | |
- | $ sudo systemctl start docker | + | |
- | $ sudo docker run hello-world | + | |
- | </ | + | |
- | + | ||
- | Optionally, add user accounts to '' | + | |
- | + | ||
- | < | + | |
- | $ sudo groupadd docker | + | |
- | $ sudo usermod -aG docker $USER | + | |
- | $ docker run hello-world | + | |
- | </ | + |