Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config
@ 2022-04-14 17:28 Francis Laniel
  2022-04-14 17:28 ` [Buildroot] [RFC PATCH v1 1/1] qemu_x86_64_docker: add new qemu defconfig Francis Laniel
  2022-04-19 21:16 ` [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config Arnout Vandecappelle
  0 siblings, 2 replies; 4+ messages in thread
From: Francis Laniel @ 2022-04-14 17:28 UTC (permalink / raw)
  To: buildroot; +Cc: Gerome Burlats, Romain Naour, Francis Laniel

Hi.


First, I hope you are fine and the same for your relatives.

In this contribution, I added a new qemu config for x86_64.
This configuration is mainly based on qemu_x86_64_defconfig but it adds kernel
CONFIG_ to be able to use docker.
It also adds package related to docker like DOCKER_CLI and CONTAINERD.

The CONFIG_ options added were checked with moby check-config script [1].

I was able to build and execute the image with start-qemu.sh:
Welcome to Buildroot
buildroot login: root
# docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:10d7d58d5ebd2a652f4d93fdd86da8f265f5318c6a73cc5b6a9798ff6d2b2e67
Status: Downloaded newer image for hello-world:latest

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

Sadly, the image has to a bit big (more than 300M) but I think it is fine since
this image will only be used for virtualization.

If you say any way to improve this contribution, feel free to share it!

Francis Laniel (1):
  qemu_x86_64_docker: add new qemu defconfig

 DEVELOPERS                             |   2 +
 board/qemu/x86_64_docker/linux.config  | 112 +++++++++++++++++++++++++
 board/qemu/x86_64_docker/post-build.sh |  11 +++
 board/qemu/x86_64_docker/readme.txt    |   7 ++
 configs/qemu_x86_64_docker_defconfig   |  49 +++++++++++
 5 files changed, 181 insertions(+)
 create mode 100644 board/qemu/x86_64_docker/linux.config
 create mode 100755 board/qemu/x86_64_docker/post-build.sh
 create mode 100644 board/qemu/x86_64_docker/readme.txt
 create mode 100644 configs/qemu_x86_64_docker_defconfig


Best regards and thank you in advance.
---
[1] https://github.com/moby/moby/blob/master/contrib/check-config.sh
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-04-21 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-14 17:28 [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config Francis Laniel
2022-04-14 17:28 ` [Buildroot] [RFC PATCH v1 1/1] qemu_x86_64_docker: add new qemu defconfig Francis Laniel
2022-04-19 21:16 ` [Buildroot] [RFC PATCH v1 0/1] New "docker" ready qemu config Arnout Vandecappelle
2022-04-21 16:30   ` Francis Laniel

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