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

[Docker Rootless] dockerd can't find 'config.json' #323

Open
Bambusa29 opened this issue Nov 17, 2022 · 0 comments
Open

[Docker Rootless] dockerd can't find 'config.json' #323

Bambusa29 opened this issue Nov 17, 2022 · 0 comments

Comments

@Bambusa29
Copy link

Bambusa29 commented Nov 17, 2022

Hi all,

The rootless mode work fine but i have a this error message in the 'daemon.log' every minute

No config file found, using default or config from environment variables

My "config.json" is in my local user repertory : /home/omdocker/.docker.
It can read the context : docker context ls
I have done a export DOCKER_CONFIG=~/.docker and restart docker, but the error are still here.
Any clue ?
Thx

Docker info :

dockerClient:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.9.1-docker)

Server:
 Containers: 22
  Running: 20
  Paused: 0
  Stopped: 2
 Images: 22
 Server Version: 20.10.21
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
  userxattr: true
 Logging Driver: syslog
 Cgroup Driver: systemd
 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: 1c90a442489720eec95342e1789ee8a5e1b9536f
 runc version: v1.1.4-0-g5fd4c4d1
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
  rootless
  cgroupns
 Kernel Version: 5.19.0-0.deb11.2-amd64
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.425GiB
 Name: omv
 ID: POM6:7XYU:7NNC:IXDD:OM4V:J4IY:RG6T:PHC5:6YQJ:6P3D:MALN:QVKB
 Docker Root Dir: /srv/dev-disk-by-uuid-51836ffa-b9bc-4714-bff8-8d975484a54b/docker/data
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: true
 Product License: Community Engine
systemctl --user status docker


● docker.service - Docker Application Container Engine (Rootless)
     Loaded: loaded (/home/omdocker/.config/systemd/user/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-11-17 22:05:42 CET; 1h 13min ago
       Docs: https://docs.docker.com/go/rootless/
   Main PID: 575466 (rootlesskit)
      Tasks: 583
     Memory: 675.0M
        CPU: 2min 49.151s
     CGroup: /user.slice/user-1003.slice/user@1003.service/app.slice/docker.service
             ├─575466 rootlesskit --net=slirp4netns --mtu=65520 --slirp4netns-sandbox=auto --slirp4netns-seccomp=auto --disable-host-loopback --port-driver=builtin --copy-up=/et>
             ├─575482 /proc/self/exe --net=slirp4netns --mtu=65520 --slirp4netns-sandbox=auto --slirp4netns-seccomp=auto --disable-host-loopback --port-driver=builtin --copy-up=>
             ├─575500 slirp4netns --mtu 65520 -r 3 --disable-host-loopback --enable-sandbox --enable-seccomp 575482 tap0
             ├─575508 dockerd
             ├─575525 containerd --config /run/user/1003/docker/containerd/containerd.toml --log-level info
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant