* [PATCH] container-image-busybox: add a reference container image
@ 2019-07-24 2:38 Chen Qi
2019-07-24 3:03 ` Bruce Ashfield
2019-07-24 9:38 ` Burton, Ross
0 siblings, 2 replies; 8+ messages in thread
From: Chen Qi @ 2019-07-24 2:38 UTC (permalink / raw)
To: openembedded-core
Add a small busybox based container image.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 meta/recipes-core/images/container-image-busybox.bb
diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
new file mode 100644
index 0000000000..a4d63b0eea
--- /dev/null
+++ b/meta/recipes-core/images/container-image-busybox.bb
@@ -0,0 +1,8 @@
+SUMMARY = "A small busybox based container image."
+LICENSE = "MIT"
+
+IMAGE_INSTALL = "busybox"
+IMAGE_LINGUAS = ""
+IMAGE_FSTYPES = "container"
+
+inherit core-image
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 2:38 [PATCH] container-image-busybox: add a reference container image Chen Qi
@ 2019-07-24 3:03 ` Bruce Ashfield
2019-07-24 5:06 ` Khem Raj
2019-07-24 9:38 ` Burton, Ross
1 sibling, 1 reply; 8+ messages in thread
From: Bruce Ashfield @ 2019-07-24 3:03 UTC (permalink / raw)
To: Chen Qi; +Cc: Patches and discussions about the oe-core layer
On Tue, Jul 23, 2019 at 10:39 PM Chen Qi <Qi.Chen@windriver.com> wrote:
>
> Add a small busybox based container image.
This really isn't a great container reference image. It isn't
manipulating many of
the things that you should be in a container image (linux-dummy, etc).
Have you seen the reference images that have either been presented at the
various ELC conferences and/or the ones that are in meta-virtualization ?
Or the ones from Togan labs, meta-overc, etc ?
IMHO, It would be better to collaborate on this in a non-core layer
for this release and
then consolidate things with the OCI image types, and when we sort out
if/what/when
makes sense from meta-virt into oe-core.
This is a topic of many opinions and different implementations and deserves some
cycles spent on documenting the choices, what we expect the base image to
do, etc.
Cheers,
Bruce
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
> 1 file changed, 8 insertions(+)
> create mode 100644 meta/recipes-core/images/container-image-busybox.bb
>
> diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
> new file mode 100644
> index 0000000000..a4d63b0eea
> --- /dev/null
> +++ b/meta/recipes-core/images/container-image-busybox.bb
> @@ -0,0 +1,8 @@
> +SUMMARY = "A small busybox based container image."
> +LICENSE = "MIT"
> +
> +IMAGE_INSTALL = "busybox"
> +IMAGE_LINGUAS = ""
> +IMAGE_FSTYPES = "container"
> +
> +inherit core-image
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 3:03 ` Bruce Ashfield
@ 2019-07-24 5:06 ` Khem Raj
2019-07-24 12:29 ` Bruce Ashfield
0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2019-07-24 5:06 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: Patches and discussions about the oe-core layer
On Tue, Jul 23, 2019 at 8:03 PM Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
>
> On Tue, Jul 23, 2019 at 10:39 PM Chen Qi <Qi.Chen@windriver.com> wrote:
> >
> > Add a small busybox based container image.
>
> This really isn't a great container reference image. It isn't
> manipulating many of
> the things that you should be in a container image (linux-dummy, etc).
>
> Have you seen the reference images that have either been presented at the
> various ELC conferences and/or the ones that are in meta-virtualization ?
> Or the ones from Togan labs, meta-overc, etc ?
>
> IMHO, It would be better to collaborate on this in a non-core layer
> for this release and
> then consolidate things with the OCI image types, and when we sort out
> if/what/when
> makes sense from meta-virt into oe-core.
I think this is very much suitable for OE-Core, and I would like us to
have container reference image
in core, however, I agree there is prework that should be includes
from prior work in other layers and
we should consolidate all that into a reference usable image in oe-core.
>
> This is a topic of many opinions and different implementations and deserves some
> cycles spent on documenting the choices, what we expect the base image to
> do, etc.
>
> Cheers,
>
> Bruce
>
> >
> > Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> > ---
> > meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
> > 1 file changed, 8 insertions(+)
> > create mode 100644 meta/recipes-core/images/container-image-busybox.bb
> >
> > diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
> > new file mode 100644
> > index 0000000000..a4d63b0eea
> > --- /dev/null
> > +++ b/meta/recipes-core/images/container-image-busybox.bb
> > @@ -0,0 +1,8 @@
> > +SUMMARY = "A small busybox based container image."
> > +LICENSE = "MIT"
> > +
> > +IMAGE_INSTALL = "busybox"
> > +IMAGE_LINGUAS = ""
> > +IMAGE_FSTYPES = "container"
> > +
> > +inherit core-image
> > --
> > 2.17.1
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 2:38 [PATCH] container-image-busybox: add a reference container image Chen Qi
2019-07-24 3:03 ` Bruce Ashfield
@ 2019-07-24 9:38 ` Burton, Ross
2019-07-24 10:13 ` ChenQi
1 sibling, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2019-07-24 9:38 UTC (permalink / raw)
To: Chen Qi; +Cc: OE-core
Are you aware of container-test-image.bb? Curious what the point of this is.
Ross
On Wed, 24 Jul 2019 at 03:39, Chen Qi <Qi.Chen@windriver.com> wrote:
>
> Add a small busybox based container image.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
> 1 file changed, 8 insertions(+)
> create mode 100644 meta/recipes-core/images/container-image-busybox.bb
>
> diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
> new file mode 100644
> index 0000000000..a4d63b0eea
> --- /dev/null
> +++ b/meta/recipes-core/images/container-image-busybox.bb
> @@ -0,0 +1,8 @@
> +SUMMARY = "A small busybox based container image."
> +LICENSE = "MIT"
> +
> +IMAGE_INSTALL = "busybox"
> +IMAGE_LINGUAS = ""
> +IMAGE_FSTYPES = "container"
> +
> +inherit core-image
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 9:38 ` Burton, Ross
@ 2019-07-24 10:13 ` ChenQi
2019-07-24 12:27 ` Bruce Ashfield
0 siblings, 1 reply; 8+ messages in thread
From: ChenQi @ 2019-07-24 10:13 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 07/24/2019 05:38 PM, Burton, Ross wrote:
> Are you aware of container-test-image.bb? Curious what the point of this is.
>
> Ross
Yes. It exists in meta-selftest, having an empty /usr/bin/theapp, for
the purpose of selftest.
I think we could have some reference image for container. So I added
this small reference image, from which users could create container and
use shell.
I expect it to be like busybox:glibc or busybox:musl in Docker Hub, with
the major difference that we use symlinks to /bin/busybox.nosuid and
/bin/busybox.suid while official ones use separate binaries.
Regards,
Chen Qi
> On Wed, 24 Jul 2019 at 03:39, Chen Qi <Qi.Chen@windriver.com> wrote:
>> Add a small busybox based container image.
>>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
>> meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>> create mode 100644 meta/recipes-core/images/container-image-busybox.bb
>>
>> diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
>> new file mode 100644
>> index 0000000000..a4d63b0eea
>> --- /dev/null
>> +++ b/meta/recipes-core/images/container-image-busybox.bb
>> @@ -0,0 +1,8 @@
>> +SUMMARY = "A small busybox based container image."
>> +LICENSE = "MIT"
>> +
>> +IMAGE_INSTALL = "busybox"
>> +IMAGE_LINGUAS = ""
>> +IMAGE_FSTYPES = "container"
>> +
>> +inherit core-image
>> --
>> 2.17.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 10:13 ` ChenQi
@ 2019-07-24 12:27 ` Bruce Ashfield
2019-07-25 1:43 ` ChenQi
0 siblings, 1 reply; 8+ messages in thread
From: Bruce Ashfield @ 2019-07-24 12:27 UTC (permalink / raw)
To: ChenQi; +Cc: OE-core
On Wed, Jul 24, 2019 at 6:00 AM ChenQi <Qi.Chen@windriver.com> wrote:
>
> On 07/24/2019 05:38 PM, Burton, Ross wrote:
> > Are you aware of container-test-image.bb? Curious what the point of this is.
> >
> > Ross
>
> Yes. It exists in meta-selftest, having an empty /usr/bin/theapp, for
> the purpose of selftest.
>
> I think we could have some reference image for container. So I added
> this small reference image, from which users could create container and
> use shell.
>
And you do realize that such references already exist in several other
layers ? So it would be best to do a study of those options, talk to the
interested folks and then we can propose something to oe-core.
> I expect it to be like busybox:glibc or busybox:musl in Docker Hub, with
> the major difference that we use symlinks to /bin/busybox.nosuid and
> /bin/busybox.suid while official ones use separate binaries.
Have a look at the ELCe presentations from 2018, this has been covered
in great detail at those events.
We can't just drop an image into core without documentation, examples,
test cases, etc. That's what I'm talking about as points of collaboration.
Cheers,
Bruce
>
> Regards,
> Chen Qi
>
> > On Wed, 24 Jul 2019 at 03:39, Chen Qi <Qi.Chen@windriver.com> wrote:
> >> Add a small busybox based container image.
> >>
> >> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> >> ---
> >> meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
> >> 1 file changed, 8 insertions(+)
> >> create mode 100644 meta/recipes-core/images/container-image-busybox.bb
> >>
> >> diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
> >> new file mode 100644
> >> index 0000000000..a4d63b0eea
> >> --- /dev/null
> >> +++ b/meta/recipes-core/images/container-image-busybox.bb
> >> @@ -0,0 +1,8 @@
> >> +SUMMARY = "A small busybox based container image."
> >> +LICENSE = "MIT"
> >> +
> >> +IMAGE_INSTALL = "busybox"
> >> +IMAGE_LINGUAS = ""
> >> +IMAGE_FSTYPES = "container"
> >> +
> >> +inherit core-image
> >> --
> >> 2.17.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 5:06 ` Khem Raj
@ 2019-07-24 12:29 ` Bruce Ashfield
0 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2019-07-24 12:29 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On Wed, Jul 24, 2019 at 1:06 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Tue, Jul 23, 2019 at 8:03 PM Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> >
> > On Tue, Jul 23, 2019 at 10:39 PM Chen Qi <Qi.Chen@windriver.com> wrote:
> > >
> > > Add a small busybox based container image.
> >
> > This really isn't a great container reference image. It isn't
> > manipulating many of
> > the things that you should be in a container image (linux-dummy, etc).
> >
> > Have you seen the reference images that have either been presented at the
> > various ELC conferences and/or the ones that are in meta-virtualization ?
> > Or the ones from Togan labs, meta-overc, etc ?
> >
> > IMHO, It would be better to collaborate on this in a non-core layer
> > for this release and
> > then consolidate things with the OCI image types, and when we sort out
> > if/what/when
> > makes sense from meta-virt into oe-core.
>
> I think this is very much suitable for OE-Core, and I would like us to
> have container reference image
> in core, however, I agree there is prework that should be includes
> from prior work in other layers and
> we should consolidate all that into a reference usable image in oe-core.
I definitely agree on that something belongs in oe-core, and yes, 100%
agreed that we shouldn't do this ad-hoc and should at a minimum have
documentation and some consolidated images / use cases from the
existing layers with container image types.
Cheers,
Bruce
>
> >
> > This is a topic of many opinions and different implementations and deserves some
> > cycles spent on documenting the choices, what we expect the base image to
> > do, etc.
> >
> > Cheers,
> >
> > Bruce
> >
> > >
> > > Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> > > ---
> > > meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
> > > 1 file changed, 8 insertions(+)
> > > create mode 100644 meta/recipes-core/images/container-image-busybox.bb
> > >
> > > diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
> > > new file mode 100644
> > > index 0000000000..a4d63b0eea
> > > --- /dev/null
> > > +++ b/meta/recipes-core/images/container-image-busybox.bb
> > > @@ -0,0 +1,8 @@
> > > +SUMMARY = "A small busybox based container image."
> > > +LICENSE = "MIT"
> > > +
> > > +IMAGE_INSTALL = "busybox"
> > > +IMAGE_LINGUAS = ""
> > > +IMAGE_FSTYPES = "container"
> > > +
> > > +inherit core-image
> > > --
> > > 2.17.1
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-core mailing list
> > > Openembedded-core@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
> >
> >
> > --
> > - Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end
> > - "Use the force Harry" - Gandalf, Star Trek II
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] container-image-busybox: add a reference container image
2019-07-24 12:27 ` Bruce Ashfield
@ 2019-07-25 1:43 ` ChenQi
0 siblings, 0 replies; 8+ messages in thread
From: ChenQi @ 2019-07-25 1:43 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: OE-core
On 07/24/2019 08:27 PM, Bruce Ashfield wrote:
> On Wed, Jul 24, 2019 at 6:00 AM ChenQi <Qi.Chen@windriver.com> wrote:
>> On 07/24/2019 05:38 PM, Burton, Ross wrote:
>>> Are you aware of container-test-image.bb? Curious what the point of this is.
>>>
>>> Ross
>> Yes. It exists in meta-selftest, having an empty /usr/bin/theapp, for
>> the purpose of selftest.
>>
>> I think we could have some reference image for container. So I added
>> this small reference image, from which users could create container and
>> use shell.
>>
> And you do realize that such references already exist in several other
> layers ? So it would be best to do a study of those options, talk to the
> interested folks and then we can propose something to oe-core.
>
>> I expect it to be like busybox:glibc or busybox:musl in Docker Hub, with
>> the major difference that we use symlinks to /bin/busybox.nosuid and
>> /bin/busybox.suid while official ones use separate binaries.
> Have a look at the ELCe presentations from 2018, this has been covered
> in great detail at those events.
>
> We can't just drop an image into core without documentation, examples,
> test cases, etc. That's what I'm talking about as points of collaboration.
>
> Cheers,
>
> Bruce
Hi Bruce,
Thanks for your info and advice.
I'll do more investigation.
Regards,
Chen Qi
>> Regards,
>> Chen Qi
>>
>>> On Wed, 24 Jul 2019 at 03:39, Chen Qi <Qi.Chen@windriver.com> wrote:
>>>> Add a small busybox based container image.
>>>>
>>>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>>>> ---
>>>> meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
>>>> 1 file changed, 8 insertions(+)
>>>> create mode 100644 meta/recipes-core/images/container-image-busybox.bb
>>>>
>>>> diff --git a/meta/recipes-core/images/container-image-busybox.bb b/meta/recipes-core/images/container-image-busybox.bb
>>>> new file mode 100644
>>>> index 0000000000..a4d63b0eea
>>>> --- /dev/null
>>>> +++ b/meta/recipes-core/images/container-image-busybox.bb
>>>> @@ -0,0 +1,8 @@
>>>> +SUMMARY = "A small busybox based container image."
>>>> +LICENSE = "MIT"
>>>> +
>>>> +IMAGE_INSTALL = "busybox"
>>>> +IMAGE_LINGUAS = ""
>>>> +IMAGE_FSTYPES = "container"
>>>> +
>>>> +inherit core-image
>>>> --
>>>> 2.17.1
>>>>
>>>> --
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-07-25 1:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-24 2:38 [PATCH] container-image-busybox: add a reference container image Chen Qi
2019-07-24 3:03 ` Bruce Ashfield
2019-07-24 5:06 ` Khem Raj
2019-07-24 12:29 ` Bruce Ashfield
2019-07-24 9:38 ` Burton, Ross
2019-07-24 10:13 ` ChenQi
2019-07-24 12:27 ` Bruce Ashfield
2019-07-25 1:43 ` ChenQi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox