Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6093

Problems with starting docker on not systmd ubunto

$
0
0
  1. I've installed docker on Ubuntu server using apt repository (using this instruction).

  2. Hello world did't started because docker demon isn't started

sudo docker run hello-worlddocker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.See 'docker run --help'.
  1. I can't start docker demon due to this error
time="2024-02-19T09:16:25.041197268Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerdfailed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) (exit status 4)

Full stacktrace

$ sudo dockerdtime="2024-02-19T09:16:23.866995188Z" level=info msg="Starting up"time="2024-02-19T09:16:23.868173609Z" level=info msg="containerd not running, starting managed containerd"time="2024-02-19T09:16:23.933827047Z" level=info msg="started new containerd process" address=/var/run/docker/containerd/containerd.sock module=libcontainerd pid=5966time="2024-02-19T09:16:23.970972574Z" level=info msg="starting containerd" revision=ae07eda36dd25f8a1b98dfbf587313b99c0190bb version=1.6.28time="2024-02-19T09:16:24.004357389Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1time="2024-02-19T09:16:24.004442114Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.004609122Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005106478Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (overlay) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005138536Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005157988Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"time="2024-02-19T09:16:24.005172597Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005208386Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005423776Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005835550Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1time="2024-02-19T09:16:24.005862658Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1time="2024-02-19T09:16:24.005891110Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"time="2024-02-19T09:16:24.005907706Z" level=info msg="metadata content store policy set" policy=sharedtime="2024-02-19T09:16:24.006130520Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1time="2024-02-19T09:16:24.006162129Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1time="2024-02-19T09:16:24.006180163Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1time="2024-02-19T09:16:24.006220087Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1time="2024-02-19T09:16:24.006253245Z" level=info msg="loading plugin \"io.containerd.service.v1.introspection-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006271839Z" level=info msg="loading plugin \"io.containerd.service.v1.containers-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006289046Z" level=info msg="loading plugin \"io.containerd.service.v1.content-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006306568Z" level=info msg="loading plugin \"io.containerd.service.v1.diff-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006325379Z" level=info msg="loading plugin \"io.containerd.service.v1.images-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006343481Z" level=info msg="loading plugin \"io.containerd.service.v1.leases-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006377681Z" level=info msg="loading plugin \"io.containerd.service.v1.namespaces-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006396470Z" level=info msg="loading plugin \"io.containerd.service.v1.snapshots-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.006414966Z" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1time="2024-02-19T09:16:24.006499324Z" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2time="2024-02-19T09:16:24.006604012Z" level=info msg="loading plugin \"io.containerd.monitor.v1.cgroups\"..." type=io.containerd.monitor.v1time="2024-02-19T09:16:24.008345302Z" level=info msg="loading plugin \"io.containerd.service.v1.tasks-service\"..." type=io.containerd.service.v1time="2024-02-19T09:16:24.008505311Z" level=info msg="loading plugin \"io.containerd.grpc.v1.introspection\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008552631Z" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v1time="2024-02-19T09:16:24.008658783Z" level=info msg="loading plugin \"io.containerd.grpc.v1.containers\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008701743Z" level=info msg="loading plugin \"io.containerd.grpc.v1.content\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008734236Z" level=info msg="loading plugin \"io.containerd.grpc.v1.diff\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008774073Z" level=info msg="loading plugin \"io.containerd.grpc.v1.events\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008805663Z" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008834486Z" level=info msg="loading plugin \"io.containerd.grpc.v1.images\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008863252Z" level=info msg="loading plugin \"io.containerd.grpc.v1.leases\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008898319Z" level=info msg="loading plugin \"io.containerd.grpc.v1.namespaces\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.008932982Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1time="2024-02-19T09:16:24.009028711Z" level=info msg="loading plugin \"io.containerd.grpc.v1.snapshots\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.009065761Z" level=info msg="loading plugin \"io.containerd.grpc.v1.tasks\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.009096804Z" level=info msg="loading plugin \"io.containerd.grpc.v1.version\"..." type=io.containerd.grpc.v1time="2024-02-19T09:16:24.009133054Z" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1time="2024-02-19T09:16:24.009173888Z" level=info msg="skip loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1time="2024-02-19T09:16:24.009202757Z" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1time="2024-02-19T09:16:24.009267350Z" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint: skip plugin"time="2024-02-19T09:16:24.009909930Z" level=info msg=serving... address=/var/run/docker/containerd/containerd-debug.socktime="2024-02-19T09:16:24.010150016Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock.ttrpctime="2024-02-19T09:16:24.010343035Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.socktime="2024-02-19T09:16:24.010403918Z" level=info msg="containerd successfully booted in 0.040930s"time="2024-02-19T09:16:24.991802154Z" level=error msg="failed to mount overlay: operation not permitted" storage-driver=overlay2time="2024-02-19T09:16:24.991942123Z" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfstime="2024-02-19T09:16:24.992197282Z" level=warning msg="Unable to setup quota: operation not permitted\n"time="2024-02-19T09:16:24.992594020Z" level=info msg="Loading containers: start."time="2024-02-19T09:16:24.995630840Z" level=info msg="unable to detect if iptables supports xlock: 'iptables --wait -L -n': `iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)`" error="exit status 4"time="2024-02-19T09:16:25.039603676Z" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=mobytime="2024-02-19T09:16:25.041162385Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.mobytime="2024-02-19T09:16:25.041197268Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerdfailed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) (exit status 4)

Could you help me with running docker on system withou systemd


Viewing all articles
Browse latest Browse all 6093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>