[vpsFree.cz: community-list] Docker na Ubuntu 18.04, vytuhlý

Martin Sivák mars at montik.net
Thu Apr 30 14:02:14 CEST 2020


Ahoj,

zkoušel jsem rozchodit docker podle návodu na úplně čisté staging VPS
(id: 16366) s Ubuntu Bionic a něco nefunguje..

Když pustím hello world, tak to celé prostě jen tupě stojí a zírá

msivak at marsik-staging:~$ sudo docker --debug -l debug run hello-world
^C

V systemd je jedna hláška o problémech s právy:

msivak at marsik-staging:~$ sudo systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor
preset: enabled)
   Active: active (running) since Thu 2020-04-30 11:46:50 UTC; 7min ago
     Docs: https://docs.docker.com
 Main PID: 5205 (dockerd)
    Tasks: 42
   CGroup: /system.slice/docker.service
           └─5205 /usr/bin/dockerd -H fd://
--containerd=/run/containerd/containerd.sock

Apr 30 11:46:45 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:45.726167768Z" level=warning msg="Your kernel
does not support cgroup blkio weight"
Apr 30 11:46:45 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:45.726178266Z" level=warning msg="Your kernel
does not support cgroup blkio weight_device"
Apr 30 11:46:45 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:45.727419692Z" level=info msg="Loading
containers: start."
Apr 30 11:46:45 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:45.789141946Z" level=info msg="Default bridge
(docker0) is assigned with an IP address 172.17.0.0/16. Da
Apr 30 11:46:45 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:45.828937429Z" level=info msg="Loading
containers: done."
Apr 30 11:46:50 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:50.777518874Z" level=info msg="Docker daemon"
commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8
Apr 30 11:46:50 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:50.777796063Z" level=info msg="Daemon has
completed initialization"
Apr 30 11:46:50 marsik-staging dockerd[5205]:
time="2020-04-30T11:46:50.803581788Z" level=info msg="API listen on
/var/run/docker.sock"
Apr 30 11:46:50 marsik-staging systemd[1]: Started Docker Application
Container Engine.

Tahle:

Apr 30 11:46:50 marsik-staging systemd[1]: docker.service: Failed to
reset devices.list: Operation not permitted


Podle KB by tato kombinace měla fungovat, ale..

Martin Sivák


More information about the Community-list mailing list