I have run docker run hello-world
successfully, so I went for the next step and tried:
$docker run -it ubuntu bash
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
f476d66f5408: Pull complete
8882c27f669e: Extracting [==================================================>] 851B/851B
d9af21273955: Download complete
f5029279ec12: Download complete
docker: failed to register layer: unknown file type for /media/data/docker-data/overlay/ed414086db1bddb0515b1da4c980bf0d4a25b81fdb8d72ba225f4619cbb8ca3a/root/dev/full.
See 'docker run --help'.
And at the same time as this, SELinux alert browser shows:
SELinux is preventing bash from read access on the file /usr/lib64/libc-2.28.so.
What is the problem?
I haven’t run docker
in a while, and this is the first since upgrading to Fedora 30. I did have docker
running this demo about a year ago without issue. At that time I had installed it from the docker-ce
repo. One change I made was to move the docker root directory from the default /var/lib/docker
to /media/data/docker-data`.
Now on Fedora 30 I also removed docker-ce
(which doesn’t have a stable build for Fedora 30 yet) and installed moby-engine
.
I’m a total noob with docker so it’s entirely possible this is simply user error.
docker info
$ docker info
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 2
Server Version: dev
Storage Driver: overlay
Backing Filesystem: extfs
Supports d_type: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: a592beb5bc4c4092b1b1bac971afed27687340c5
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
seccomp
Profile: default
selinux
Kernel Version: 5.0.11-300.fc30.x86_64
Operating System: Fedora 30 (Thirty)
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 31.4GiB
Name: ssb2
ID: MY2I:IOZS:PVPO:DRGT:VQF7:PNEF:VMQR:X6N2:2Y3U:HD7S:ODAI:LNG4
Docker Root Dir: /media/data/docker-data
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: true