Help Center/ CodeArts Deploy/ FAQs/ Common FAQs/ What Should I Do If the Action "Create and Start Container" Fails on Ubuntu 22 OS When Using Template "Deploy a Docker Application for Linux"?
Updated on 2024-08-06 GMT+08:00

What Should I Do If the Action "Create and Start Container" Fails on Ubuntu 22 OS When Using Template "Deploy a Docker Application for Linux"?

Symptoms

The action "Create and Start Container" fails on Ubuntu 22 OS when using template "Deploy a Docker Application for Linux".

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