Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raspbian: docker: Error response from daemon: unable to find "net_prio" in controller set: unknown. #729

Closed
2 of 3 tasks
yun14u opened this issue Jul 16, 2019 · 6 comments

Comments

@yun14u
Copy link

yun14u commented Jul 16, 2019

  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Create and run containers

Actual behavior

$ sudo docker run --rm -it alpine:3.8 /bin/sh
Unable to find image 'alpine:3.8' locally
3.8: Pulling from library/alpine
6a2a63c54ac7: Pull complete
Digest: sha256:04696b491e0cc3c58a75bace8941c14c924b9f313b03ce5029ebbc040ed9dcd9
Status: Downloaded newer image for alpine:3.8
docker: Error response from daemon: unable to find "net_prio" in controller set: unknown.

Steps to reproduce the behavior

Output of docker version:

Client:
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.11.6
 Git commit:        4c52b90
 Built:             Sun, 07 Jul 2019 14:50:07 +0000
 OS/Arch:           linux/arm
 Experimental:      false

Server:
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.11.6
  Git commit:       4c52b90
  Built:            Sun Jul  7 14:50:07 2019
  OS/Arch:          linux/arm
  Experimental:     false

Output of docker info:

Containers: 3
 Running: 0
 Paused: 0
 Stopped: 3
Images: 2
Server Version: 18.09.1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host 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: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 1.0.0~rc6+dfsg1-3
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.19.50-v7+
Operating System: Raspbian GNU/Linux 10 (buster)
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 975.6MiB
Name: node-1
ID: J6CV:AUE2:T52G:S7G6:KMYA:WOPQ:IPVD:D7CG:SFTK:XR4S:OZXC:OKV7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support

Additional environment details (AWS, VirtualBox, physical, etc.)
I use raspbian buster with the following kernel detail

Linux node-1 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux

$ sudo ls -lh /sys/fs/cgroup
total 0
dr-xr-xr-x 5 root root  0 Feb 14 10:11 blkio
lrwxrwxrwx 1 root root 11 Feb 14 10:11 cpu -> cpu,cpuacct
lrwxrwxrwx 1 root root 11 Feb 14 10:11 cpuacct -> cpu,cpuacct
dr-xr-xr-x 5 root root  0 Feb 14 10:11 cpu,cpuacct
dr-xr-xr-x 3 root root  0 Feb 14 10:11 cpuset
dr-xr-xr-x 5 root root  0 Feb 14 10:11 devices
dr-xr-xr-x 3 root root  0 Feb 14 10:11 freezer
dr-xr-xr-x 5 root root  0 Feb 14 10:11 memory
dr-xr-xr-x 3 root root  0 Feb 14 10:11 net_cls
lrwxrwxrwx 1 root root  7 Feb 14 10:11 net_prio -> net_cls
dr-xr-xr-x 5 root root  0 Feb 14 10:11 pids
dr-xr-xr-x 6 root root  0 Feb 14 10:11 systemd
dr-xr-xr-x 5 root root  0 Feb 14 10:11 unified
 sudo mount |grep cgroup
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)

Let me know if there's any other system details that you need.
Thanks,

@Gartral
Copy link

Gartral commented Jul 17, 2019

brand new install on a Pi Zero W with Buster image 2019-07-10. Systemd 241

docker version:

Client:
Version: 18.09.1
API version: 1.39
Go version: go1.11.6
Git commit: 4c52b90
Built: Sun, 07 Jul 2019 14:50:07 +0000
OS/Arch: linux/arm
Experimental: false

Server:
Engine:
Version: 18.09.1
API version: 1.39 (minimum version 1.12)
Go version: go1.11.6
Git commit: 4c52b90
Built: Sun Jul 7 14:50:07 2019
OS/Arch: linux/arm
Experimental: false

docker info:

Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 2
Server Version: 18.09.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host 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: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 1.0.0~rc6+dfsg1-3
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
seccomp
Profile: default
Kernel Version: 4.19.57+
Operating System: Raspbian GNU/Linux 10 (buster)
OSType: linux
Architecture: armv6l
CPUs: 1
Total Memory: 480.3MiB
Name: raspberrypi
ID: Q4R4:OPPO:6MN3:7A4U:WI6E:U5MG:ODYV:XJ2G:2YG3:NELP:NTQE:S6CH
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpuset support

kernel details:

Linux raspberrypi 4.19.57+ #1244 Thu Jul 4 18:42:50 BST 2019 armv6l GNU/Linux

total 0
dr-xr-xr-x 6 root root 0 Feb 14 10:11 blkio
lrwxrwxrwx 1 root root 11 Feb 14 10:11 cpu -> cpu,cpuacct
lrwxrwxrwx 1 root root 11 Feb 14 10:11 cpuacct -> cpu,cpuacct
dr-xr-xr-x 6 root root 0 Feb 14 10:11 cpu,cpuacct
dr-xr-xr-x 6 root root 0 Feb 14 10:11 devices
dr-xr-xr-x 3 root root 0 Feb 14 10:11 freezer
dr-xr-xr-x 6 root root 0 Feb 14 10:11 memory
dr-xr-xr-x 3 root root 0 Feb 14 10:11 net_cls
lrwxrwxrwx 1 root root 7 Feb 14 10:11 net_prio -> net_cls
dr-xr-xr-x 6 root root 0 Feb 14 10:11 systemd
dr-xr-xr-x 5 root root 0 Feb 14 10:11 unified

cgroup mounts:

tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)

@yun14u yun14u closed this as completed Aug 22, 2019
@lolouk44
Copy link

how did you fix this please?

@virtimus
Copy link

virtimus commented Dec 6, 2019

how did you fix this please?

Simple - He clicked "close" :)

Same issue on Kali Linux

Linux kali 4.19.81-Re4son-v8l+ #1 SMP PREEMPT Wed Nov 6 07:24:49 UTC 2019 aarch64 GNU/Linux

@clebio
Copy link

clebio commented Dec 7, 2019

I ran into this issue, but haven't gone back to systematically check what resolved it for me. I think using a certain version of docker-ce might have been it.

root@bramble4:~# docker run --rm -it alpine:3.8 cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.8.4
PRETTY_NAME="Alpine Linux v3.8"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"

root@bramble4:~# dpkg-query -l docker-ce
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                       Architecture Description
+++-==============-=============================-============-====================================================
hi  docker-ce      5:19.03.1~3-0~raspbian-buster armhf        Docker: the open-source application container engine

root@bramble4:~# docker --version
Docker version 19.03.1, build 74b1e89

@virtimus
Copy link

virtimus commented Dec 9, 2019

Ended up installing from debs. My tracelog bellow

(kali linux - for Raspian You would probably use 32bit - armhf:
https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/
)

#docker
https://download.docker.com/linux/debian/dists/buster/pool/stable/arm64/
#get newest .deb containerd.io, docker-ce-cli and docker-ce

dpkg -l | grep docker
dpkg -l | grep container
#(purge packages if needed)

dpkg -i containerd.io_1.2.6-3_arm64.deb
systemctl enable containerd.service
systemctl start containerd.service

#check containerd service status
systemctl status containerd.service

#install docker-ce
dpkg -i docker-ce_19.03.53-0debian-buster_arm64.deb
systemctl status docker

dpkg -i docker-ce-cli_19.03.53-0debian-buster_arm64.deb
sudo apt-get install docker-compose

@nbn
Copy link

nbn commented Oct 1, 2021

Hrm. Have the same problem with net_cls. Funny thing how your problem is net_prio, which is a symbolic link to net_cls, and I have the inverse situation since on my system net_cls is a symbolic link to net_prio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants