Skip to main content

Check if the cgroups are already mounted by running the following command:

$ cat /proc/self/cgroup | grep devices

$ cat /proc/self/cgroup | grep devices

If you see output that looks like this:

1:name=systemd:/user/docker/12345.devices

1:name=systemd:/user/docker/12345.devices

Then the cgroups are already mounted, and you may have a different issue causing the error.

If you don't see any output when running the above command, then you'll need to mount the cgroups manually. To do this, run the following commands:

$ sudo mkdir /sys/fs/cgroup/devices $ sudo mount -t cgroup -o devices devices /sys/fs/cgroup/devices

$ sudo mkdir /sys/fs/cgroup/devices
$ sudo mount -t cgroup -o devices devices /sys/fs/cgroup/devices

After mounting the cgroups, restart the Docker service with the following command:

$ sudo systemctl restart docker

$ sudo systemctl restart docker

Check if the cgroups are already mounted by running the following command:

$ cat /proc/self/cgroup | grep devices

If you see output that looks like this:

1:name=systemd:/user/docker/12345.devices

Then the cgroups are already mounted, and you may have a different issue causing the error.

If you don't see any output when running the above command, then you'll need to mount the cgroups manually. To do this, run the following commands:

$ sudo mkdir /sys/fs/cgroup/devices $ sudo mount -t cgroup -o devices devices /sys/fs/cgroup/devices

After mounting the cgroups, restart the Docker service with the following command:

$ sudo systemctl restart docker

Check if the cgroups are already mounted by running the following command:

$ cat /proc/self/cgroup | grep devices

If you see output that looks like this:

1:name=systemd:/user/docker/12345.devices

Then the cgroups are already mounted, and you may have a different issue causing the error.

If you don't see any output when running the above command, then you'll need to mount the cgroups manually. To do this, run the following commands:

$ sudo mkdir /sys/fs/cgroup/devices
$ sudo mount -t cgroup -o devices devices /sys/fs/cgroup/devices

After mounting the cgroups, restart the Docker service with the following command:

$ sudo systemctl restart docker
Source Link

Check if the cgroups are already mounted by running the following command:

$ cat /proc/self/cgroup | grep devices

If you see output that looks like this:

1:name=systemd:/user/docker/12345.devices

Then the cgroups are already mounted, and you may have a different issue causing the error.

If you don't see any output when running the above command, then you'll need to mount the cgroups manually. To do this, run the following commands:

$ sudo mkdir /sys/fs/cgroup/devices $ sudo mount -t cgroup -o devices devices /sys/fs/cgroup/devices

After mounting the cgroups, restart the Docker service with the following command:

$ sudo systemctl restart docker