Help Center> CodeArts Deploy> FAQs> Custom Application Actions> When Docker System Template Is Selected, Creating and Starting a Container Fail on Ubuntu 22 OS
Updated on 2024-07-04 GMT+08:00

When Docker System Template Is Selected, Creating and Starting a Container Fail on Ubuntu 22 OS

Symptom

During the Ubuntu 22 OS test, the following error message is displayed in the Docker run step when the Docker template is executed:

cgroups: cgroup mountpoint does not exist: unknown

Cause Analysis

The Linux kernel version is incompatible with the Docker version.

Solution

You can manually mount the cgroup file to temporarily solve the problem.

sudo mkdir /sys/fs/cgroup/systemd

sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

Custom Application Actions FAQs

more