This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
manuals:vps:vpsadminos:docker [2020/03/17 11:40] – created martyet | manuals:vps:vpsadminos:docker [2021/01/02 17:05] – docker feature not needed Aither | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Installation ===== | ===== Installation ===== | ||
- | First of all we need to enable **Docker** and **FUSE** feature in VPS overview on [[manuals: | ||
As there are not everytime latest packages in distribution repos, we recommend to instead use the docker.com ones. Installation of these can be done easily on: | As there are not everytime latest packages in distribution repos, we recommend to instead use the docker.com ones. Installation of these can be done easily on: | ||
Line 26: | Line 25: | ||
</ | </ | ||
+ | === Fedora 33 === | ||
+ | The upstream version of docker // | ||
+ | < | ||
+ | dnf install -y moby-engine | ||
+ | </ | ||
+ | |||
+ | It's necessary to configure the //dockerd// daemon to run with cgroupdriver=cgroupfs, | ||
+ | < | ||
+ | $ 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 // | ||
+ | < | ||
+ | $ systemctl edit docker | ||
+ | ExecStart=/ | ||
+ | --host=fd:// | ||
+ | --exec-opt native.cgroupdriver=cgroupfs \ | ||
+ | $OPTIONS | ||
+ | </ | ||
==== General stuff ==== | ==== General stuff ==== | ||
Checking that docker is running smoothly: | Checking that docker is running smoothly: |