데비안 11로 업데이트 후 에러로 docker를 실행할 수 없다.
docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
ERRO[0000] error waiting for container: context canceled
인터넷에 역시 해결 방법이 있었다.
I ran into similar issue found a temp fix on another place.
Temp fix:
sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
/etc/fstab에 기록하면 된다.
$ cat /etc/fstab | tail -10
#docker error
#docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
#mkdir /sys/fs/cgroup/systemd
#mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
cgroup /sys/fs/cgroup/systemd cgroup none,name=systemd 0 0
https://waspro.tistory.com/556
docker root directory 변경