Failed to start docker container with overlay

Hi,

I can't start any docker containers on my Manjaro installation.
Using overlayfs

Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
Logging Driver: json-file

I get the following error trying to start a container:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"write /proc/self/attr/keycreate: invalid argument\"": unknown.

I have no clue what I'm doing wrong, I followed the instructions in similar topics but its still not working.

Can anyone help me out?

Thanks.
Stefan F.

If you provide the steps you have followed so far, and exactly what you're trying to do, it might help us narrow it down.

Hi, I'm trying to use Docker.
Starting or creating a container gives the following error.

~ >>> sudo docker start 4fa43d85c23e                                                                                                                                                         
Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"write /proc/self/attr/keycreate: invalid argument\"": unknown
Error: failed to start containers: 4fa43d85c23e

I followed these instructions:

According to docker info overlayfs is enabled.

Docker is working correctly for me with minimal changes; overlayfs2 should be default.

Can you verify that basic commands like docker images work?

If you actually post dockerinfo it might provide some information. The more detailed and specific you can be the better the chances someone will be able to help. Otherwise it's going to be guesswork, and noone like that.

Hi yes basic commands work.
I wasn't sure which information to post, sorry about that.

~ >>> sudo docker images                                                                                                                                                                     
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
postgres            latest              30bf4f039abe        3 weeks ago         312MB

Output of docker info:

~ >>> sudo docker info                                                                                                                                                                       
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 1
Server Version: dev
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
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: 68c44f8cc8a3a4990928c96f8207688ecf6df2f9
runc version: 11fc498ffa5c4561eef9242e7f7115d57e57055b
init version: 3c53686 (expected: fec3683)
Kernel Version: 4.19.30-1-MANJARO
Operating System: Manjaro Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.51GiB
Name: home
ID: 89db25c6-86cc-4db3-8366-c80118585adc
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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by