moby: System error in /sys/fs/cgroup/cpu,cpuactt

I’m on Debian Unstable with the docker.io images (debian no longer repackages). This is what happens when I try to run any image:

~ docker run -it debian:jessie
Error response from daemon: Cannot start container c35192b15227f0a93170415f688bd7ff974aaf7af63a168398d865d857ed2f75: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-c35192b15227f0a93170415f688bd7ff974aaf7af63a168398d865d857ed2f75.scope/cpu.shares: no such file or directory

and indeed, that structure does not exist on my directory

~ ls /sys/fs/cgroup/cpu,cpuacct/init.scope/
cgroup.clone_children  cgroup.procs  cpuacct.stat  cpuacct.usage  cpuacct.usage_percpu  cpu.shares  notify_on_release  tasks

i.e. no system.slice.

I’m running a very new linux kernel, has the sys directory perhaps changed to the point that docker breaks?


~ uname -a
Linux Samskara 4.1.0-2-amd64 #1 SMP Debian 4.1.6-1 (2015-08-23) x86_64 GNU/Linux

~ docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64

~ docker -D info
Containers: 3
Images: 13
Storage Driver: devicemapper
 Pool Name: docker-8:5-27000835-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 1.601 GB
 Data Space Total: 107.4 GB
 Data Space Available: 105.8 GB
 Metadata Space Used: 1.978 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Data loop file: /mnt/archive/docker/devicemapper/devicemapper/data
 Metadata loop file: /mnt/archive/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.104 (2015-08-10)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.0-2-amd64
Operating System: Debian GNU/Linux stretch/sid (containerized)
CPUs: 4
Total Memory: 15.62 GiB
Name: Samskara
ID: EM6A:FAHK:YV4K:3AUD:LWIU:RJ2Q:ZPOP:Q4C7:IIAX:ZIR6:P5UY:67GB
Username: fommil
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 2
  • Comments: 52 (20 by maintainers)

Commits related to this issue

Most upvoted comments

that auto response is very useful… are you using a service for that or did you hack something up? (I want to use it for my projects if it is possible to customise it to only respond once to a submitter to avoid spamming people)