Cgroups: cgroup mountpoint does not exist: unknown

hi,
when I try to build an image with docker plugin I have this issue;

 ---> 4f0cfa6f1ec5
Step 2/8 : RUN pacman -Sy archiso --noconfirm --debug --verbose
---> Running in 041f89067345
cgroups: cgroup mountpoint does not exist: unknown
time="2021-07-11T10:49:14Z" level=fatal msg="exit status 1"

here build info

Status: Image is up to date for plugins/docker:latest
+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock --seccomp-profile=/etc/docker/default.json
Detected registry credentials
+ /usr/local/bin/docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b7f0
 Built:             Wed Mar 11 01:22:56 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b7f0
  Built:            Wed Mar 11 01:30:32 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
+ /usr/local/bin/docker info
Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
  WARNING: You're not using the default seccomp profile
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: /etc/docker/default.json
 Kernel Version: 5.12.10-arch1-1
 Operating System: Alpine Linux v3.11
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.597GiB
 Name: 35d2e13ddf8b
 ID: 2F4Q:A4DC:YCN6:QANZ:UXT7:FBO5:O554:UDLZ:HI7C:ITJL:PY6U:O5O6
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: ******
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpu shares support
+ /usr/local/bin/docker build --rm=true -f Dockerfile -t 689eede19ea8b14d3df9c278b91c7ce97aea93ef . --pull=true --label org.opencontainers.image.created=2021-07-11T10:48:34Z --label org.opencontainers.image.revision=689eede19ea8b14d3df9c278b91c7ce97aea93ef --label org.opencontainers.image.source=https://git.ducamps.win/vincent/docker-archiso-builder.git --label org.opencontainers.image.url=https://git.ducamps.win/vincent/docker-archiso-builder
Sending build context to Docker daemon  75.78kB

Hi, have you manage to fix this issue ?

I have the problem too with debian:latest and ubuntu:rolling

Step 2/14 : RUN apt-get update
 ---> Running in 953711f899ba
cgroups: cgroup mountpoint does not exist: unknown

Docker version

Client:
 Version:           20.10.8
 API version:       1.41
 Go version:        go1.16.6
 Git commit:        3967b7d28e
 Built:             Wed Aug  4 10:59:01 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.8
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.6
  Git commit:       75249d88bc
  Built:            Wed Aug  4 10:58:48 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.5.5
  GitCommit:        72cec4be58a9eb6b2910f5d10f1c01ca47d231c0.m
 runc:
  Version:          1.0.1
  GitCommit:        v1.0.1-0-g4144b638
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

I’v tried https://github.com/docker/for-linux/issues/219#issuecomment-692423012, but it doesn’t seem to fix the issue on my system.