Skip to content

get docker working again (broken by per recipe sysroots)

Mark Asselstine yocto-meta-virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2containerd: uprev to version required by docker 1.13.0recipes-containers/containerd/containerd_git.bb+3 -31 reply
2/2runc: uprev to version required by docker 1.13.0recipes-containers/runc/runc_git.bb+3 -33 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] get docker working again (broken by per recipe sysroots)

By uprev'ing runc and containerd to the versions specified by docker's vendor.conf file we are able to get the docker runtime back to a fully functional state (ie. it now passes some basic usecases)

This series is applied on top of the commit sent by Jan Kiszka [containerd: Fix build on 386] but should apply with our without that merged.

It is highly unfortunate that docker is forking runc. Although we only have docker using runc at the moment this has the potential to cause issues if/when we get other runc users integrated.

With these changes we can now run docker pull, docker run, docker images, docker ps -a,... successfully. Running 'docker run hello-world' produces the expected results:

----
Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.

To try something more ambitious, you can run an Ubuntu container with:

  $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
https://cloud.docker.com/

For more examples and ideas, visit:
https://docs.docker.com/engine/userguide/
----

Running 'docker info' we also see that there is no longer a mismatch reported for these dependencies.

Mark