public inbox for gentoo-containers@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-containers] Issue with docker init script
@ 2017-11-05 15:55 Andrey Utkin
  0 siblings, 0 replies; only message in thread
From: Andrey Utkin @ 2017-11-05 15:55 UTC (permalink / raw
  To: gentoo-containers; +Cc: andrey_utkin

[-- Attachment #1: Type: text/plain, Size: 1835 bytes --]

Hi Gentoo Containers project team,

I experience inability to run docker daemon with provided init script.
The blocking nature of the issue makes me wonder if that's just me, as I
don't see it reported on bugzilla.

The issue is: docker daemon won't start from init script. Status would
show "crashed" immediately. See log in the bottom.

Workarounds:

* comment out "ulimit -n 1048576" from start_pre() in init script
* do not use init script, i.e. start dockerd directly or with
  start-stop-daemon --start --exec /usr/bin/dockerd --pidfile /run/docker.pid --verbose --background --stderr /var/log/docker-err.log --stdout /var/log/docker-out.log -- -p /run/docker.pid

Could anybody please try to reproduce that, or suggest what this could be?
Thanks in advance.

Some info on my system:

app-emulation/docker-17.09.0
Kernel: 4.13.11
Portage profile: default/linux/amd64/17.0/selinux
Selinux is in permissive mode



# rc-service -v docker status
Authenticating root.
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker status
* status: stopped
[ERR=3]
15:26:06 Sun 05 Nov root@starlite /home/j
# rc-service -v docker start
Authenticating root.
* Caching service dependencies ...                                                                                   [ ok ]
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker start
* Starting docker ...
* start-stop-daemon: fopen `/run/docker.pid': No such file or directory
* Detaching to start `/usr/bin/dockerd' ...                                                                          [ ok ]
[OK]
15:26:11 Sun 05 Nov root@starlite /home/j
# rc-service -v docker status
Authenticating root.
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker status
* status: crashed
[ERR=32]



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 1014 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-05 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-05 15:55 [gentoo-containers] Issue with docker init script Andrey Utkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox