container-image-busybox: add a reference container image
PATCH 1/1 container-image-busybox: add a reference container image
Add a small busybox based container image.
--- 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
meta/recipes-core/images/container-image-busybox.bb new file +8 -0
@@ -0,0 +1,8 @@ +SUMMARY = "A small busybox based container image." +LICENSE = "MIT" + +IMAGE_INSTALL = "busybox" +IMAGE_LINGUAS = "" +IMAGE_FSTYPES = "container" + +inherit core-image
Signature · 1 line
2.17.1
Quoted 2 lines · Chen Qi
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
Quoted 29 lines
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/recipes-core/images/container-image-busybox.bbmeta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 13 lines · Bruce Ashfield
Quoted 2 lines · Chen Qi
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 ?
Quoted 5 lines
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.
Quoted 50 lines
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
Quoted 24 lines
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/recipes-core/images/container-image-busybox.bbmeta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
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 [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 21 lines · Khem Raj
Quoted 13 lines · Bruce Ashfield
Quoted 2 lines · Chen Qi
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 ?
Quoted 5 lines
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.
Quoted 5 lines
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
Quoted 51 lines
Quoted 51 lines
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
Quoted 24 lines
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/recipes-core/images/container-image-busybox.bbmeta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
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 [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Are you aware of container-test-image.bb? Curious what the point of this is.
Ross
Quoted 31 lines · Chen Qi
Add a small busybox based container image.
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/recipes-core/images/container-image-busybox.bbmeta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 3 lines · Ross
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
Quoted 31 lines · Chen Qi
Quoted 30 lines
Add a small busybox based container image.
Signed-off-by Chen Qi <[email protected]>--- 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
meta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 4 lines · ChenQi
Quoted 2 lines · Ross
Are you aware of container-test-image.bb? Curious what the point of this is.
Quoted 9 lines
Quoted 1 line
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.
Quoted 3 lines
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.nosuidand/bin/busybox.suidwhile 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
Quoted 42 lines
Regards,
Chen QiQuoted 26 lines · Chen Qi
Quoted 25 lines
Add a small busybox based container image.
Signed-off-by Chen Qi <[email protected]>--- 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
meta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
Quoted 5 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 22 lines · Bruce Ashfield
Quoted 11 lines · ChenQi
Quoted 3 lines · Ross
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.
Quoted 3 lines
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.nosuidand/bin/busybox.suidwhile official ones use separate binaries.Have a look at the ELCe presentations from 2018, this has been covered in great detail at those events.
Quoted 6 lines
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
Quoted 42 lines
Quoted 40 lines
Regards,
Chen QiQuoted 26 lines · Chen Qi
Quoted 25 lines
Add a small busybox based container image.
Signed-off-by Chen Qi <[email protected]>--- 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
meta/recipes-core/images/container-image-busybox.bb new file +8
-1@@ -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
Quoted 5 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core