Re:BuildKit in depth: Docker's build engine explained
by c0wb0yc0d3r on Tuesday February 06, 2024 @11:39PM
(#39284558)
Did you ever try running any containers without pushing to a registry? That is the part I can't wrap my head around yet? How do I get the run time to start the container locally?
[ Parent
| on HN ]
Re:BuildKit in depth: Docker's build engine explained
by codethief on Wednesday February 07, 2024 @12:01AM
(#39284694)
I'm not sure I'm following. What part of running a container would entail pushing anything to a registry?
Re:BuildKit in depth: Docker's build engine explained
by ttymck on Wednesday February 07, 2024 @01:06AM
(#39285078)
You can build an image with docker, and run it locally.
You can also use docker save to get a tarball and ship that file to another machine, which can be run through docker load and then run as if it was built locally.
If you have an oci bundle, you might look at runc instead: https://github.com/opencontainers/runc