[Buildroot] [PATCH v3 2/7] board/guest: documentation and sample files
Peter Korsgaard
peter at korsgaard.com
Mon Jul 27 09:46:34 UTC 2020
>>>>> "Francois" == Francois Perrad <fperrad at gmail.com> writes:
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
> DEVELOPERS | 1 +
> board/guest/Dockerfile | 2 +
> board/guest/readme.txt | 143 +++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 146 insertions(+)
> create mode 100644 board/guest/Dockerfile
> create mode 100644 board/guest/readme.txt
..
> +How to with Docker
> +==================
> +
> +A Docker image could created with a Dockerfile and few commands are needed:
> +
> + # dockerd &
> +
> + $ cat Dockerfile
> + FROM scratch
> + ADD rootfs.tar /
> + $ docker build --tag br:guest .
> + $ docker images
> + REPOSITORY TAG IMAGE ID CREATED SIZE
> + br guest 0c54c85a3452 42 seconds ago 1.75MB
NIT: Why not just use docker import rootfs.tar br:test?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list