All of lore.kernel.org
 help / color / mirror / Atom feed
* Docker init script possibly uses wrong invocation?
@ 2018-08-02  4:04 David Antliff
  2018-08-03  2:41 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: David Antliff @ 2018-08-02  4:04 UTC (permalink / raw)
  To: meta-virtualization

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

I've installed the "docker" (docker_git.bb) recipe in my ARM64 yocto image, from meta-virtualization 1e67a44 (24 July).


I note that it installed /etc/init.d/docker.init, however this fails to start the daemon.


The script runs `/usr/bin/docker daemon ...` however this command is not recognised by this program:


# /usr/bin/docker daemon
docker: 'daemon' is not a docker command.

Instead, /usr/bin/dockerd run manually seems to do something more useful:
?
# /usr/bin/dockerd
INFO[2018-08-02T04:05:04.144036840Z] libcontainerd: started new docker-containerd process  pid=4643
INFO[0000] starting containerd                           module=containerd revision=cfd04396dc68220d1cecbe686a6cc3aa5ce3667c.m version=v1.0.2.m
...

I've noticed that docker.service also uses this invocation:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-containers/docker/files/docker.service

This makes me wonder if I've misconfigured something, or am I unlucky in my timing such that docker-from-git has changed its behaviour in this area very recently?

--
David.






[-- Attachment #2: Type: text/html, Size: 2107 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-03  2:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02  4:04 Docker init script possibly uses wrong invocation? David Antliff
2018-08-03  2:41 ` Bruce Ashfield
2018-08-03  2:47   ` EXTERNAL: " David Antliff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.