[Buildroot] [PATCH v3 2/7] board/guest: documentation and sample files

François Perrad francois.perrad at gadz.org
Mon Jul 27 19:50:09 UTC 2020


Le lun. 27 juil. 2020 à 11:46, Peter Korsgaard <peter at korsgaard.com> a
écrit :

> >>>>> "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?
>

Good point.

François


>
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20200727/55df6638/attachment-0001.html>


More information about the buildroot mailing list