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

[20.10 beta] Unknown capability "CAP_PERFMON" on Linux 5.8.14 #41562

Closed
aiordache opened this issue Oct 16, 2020 · 2 comments · Fixed by #41563
Closed

[20.10 beta] Unknown capability "CAP_PERFMON" on Linux 5.8.14 #41562

aiordache opened this issue Oct 16, 2020 · 2 comments · Fixed by #41563
Labels
area/daemon kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. version/20.10
Milestone

Comments

@aiordache
Copy link
Contributor

Running a DIND container fails on an Arch Linux with 5.8.14 kernel.

Steps to reproduce the issue:

$ docker run --rm -d -p "2375:2375" --privileged -e "DOCKER_TLS_CERTDIR=" --name dind docker:19.03.3-dind

Describe the results you received:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: unknown capability "CAP_PERFMON": unknown.

Describe the results you expected:
A running DIND container.

Output of docker version:

Client: Docker Engine - Community
 Version:           20.10.0-beta1
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        ac365d7
 Built:             Tue Oct 13 18:13:41 2020
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.0-beta1
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       9c15e82
  Built:            Tue Oct 13 18:17:18 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.4.1
  GitCommit:        c623d1b36f09f8ef6536a057bd658b3aa8632828
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker info:

$ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.4.2-27-gac2e081-tp-docker)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 15
 Server Version: 20.10.0-beta1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 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 io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: c623d1b36f09f8ef6536a057bd658b3aa8632828
 runc version: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.8.14-arch1-1
 Operating System: Arch Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.38GiB
 Name: coldwave
 ID: KLCY:J2HM:MPJB:PQMJ:7VVB:3B3H:DDM6:CKAV:EQS3:I5IY:HYCG:JZ3H
 Docker Root Dir: /home/anca/.local/docker
 Debug Mode: true
  File Descriptors: 22
  Goroutines: 35
  System Time: 2020-10-16T16:27:34.896840907+02:00
  EventsListeners: 0
 Username: ancaiordache
 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 blkio weight support
WARNING: No blkio weight_device support

Additional environment details (AWS, VirtualBox, physical, etc.):
Arch Linux 5.8.14-arch1-1

@thaJeztah thaJeztah added area/daemon kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. version/20.10 labels Oct 16, 2020
@thaJeztah thaJeztah added this to the 20.10.0 milestone Oct 16, 2020
@thaJeztah
Copy link
Member

Introduced by #41460
I opened #41563 with a (temporary) fix; the PR describes why this is happening

@goldyfruit
Copy link

Same issue here, thanks for the PR! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. version/20.10
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants