User Tools

Site Tools



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

Link to this comparison view

Last revision Both sides next revision
manuals:vps:vpsadminos:docker [2020/03/17 12:40]
martyet created
manuals:vps:vpsadminos:docker [2020/10/24 22:56]
tbabej [Installation]
Line 26: Line 26:
 </​code>​ </​code>​
 +=== Fedora 33 ===
 +The upstream version of docker //​moby-engine//​ can be installed directly from Fedora repositories:​
 +dnf install -y moby-engine
 +It's necessary to configure the //dockerd// daemon to run with cgroupdriver=cgroupfs,​ otherwise you encounter the following problem:
 +$ docker run hello-world
 +docker: Error response from daemon: OCI runtime create failed: cgroup v2 not enabled on this host, can't use systemd (rootless) as cgroups manager: unknown.
 +To configure the cgroup driver one needs to override the //​ExecStart//​ for docker.service:​
 +$ systemctl edit docker
 +ExecStart=/​usr/​bin/​dockerd \
 +          --host=fd://​ \
 +          --exec-opt native.cgroupdriver=cgroupfs \
 +          $OPTIONS
 ==== General stuff ==== ==== General stuff ====
 Checking that docker is running smoothly: Checking that docker is running smoothly:
manuals/vps/vpsadminos/docker.txt · Last modified: 2021/01/02 18:05 by Aither