Rootless Docker Service doesn't use native overlayfs
Rootless Docker Service doesn't use native overlayfs despite modprobe options:
options overlay metacopy=off redirect_dir=off
whereas, the root Docker service works as expected.
Steps to reproduce the issue:
- export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
- systemctl --user start docker.service
- docker info | grep Native
Describe the results you received:
Native Overlay Diff: false
Describe the results you expected:
Native Overlay Diff: true
Output of docker version:
Docker version 20.10.16, build aa7e414fdc
Output of docker info:
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
compose: Docker Compose (Docker Inc., 2.5.1)
Server:
Containers: 6
Running: 2
Paused: 0
Stopped: 4
Images: 4
Server Version: 20.10.16
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
userxattr: true
Logging Driver: json-file
Cgroup Driver: none
Cgroup Version: 2
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: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16.m
runc version:
init version: de40ad0
Security Options:
seccomp
Profile: default
rootless
cgroupns
Kernel Version: 5.15.40-1-lts
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 62.47GiB
Name: phantom
ID: SMDW:PBEU:YHFR:NAVA:5WGK:ELUL:YRF3:SIHN:JEZB:FV52:LQZD:GUSE
Docker Root Dir: /home/sighoya/vm/docker
Debug Mode: true
File Descriptors: 40
Goroutines: 59
System Time: 2022-05-21T16:02:20.585738277+02:00
EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: Running in rootless-mode without cgroups. Systemd is required to enable cgroups in rootless-mode.
Additional environment details (AWS, VirtualBox, physical, etc.):
ArchLinux Linux phantom 5.15.40-1-lts #1 SMP Sun, 15 May 2022 19:07:59 +0000 x86_64 GNU/Linux
See also: #41802
Rootless Docker Service doesn't use native overlayfs
Rootless Docker Service doesn't use native overlayfs despite modprobe options:
options overlay metacopy=off redirect_dir=offwhereas, the root Docker service works as expected.
Steps to reproduce the issue:
Describe the results you received:
Native Overlay Diff: false
Describe the results you expected:
Native Overlay Diff: true
Output of
docker version:Output of
docker info:Additional environment details (AWS, VirtualBox, physical, etc.):
ArchLinux Linux phantom 5.15.40-1-lts #1 SMP Sun, 15 May 2022 19:07:59 +0000 x86_64 GNU/Linux
See also: #41802