4 ms·
I got familiar with container intervals via, basically, "building images without docker" One example: https://ravichaganti.com/blog/2022-11-28-building-contain
by ttymck 3y ago
I got familiar with container intervals via, basically, "building images without docker"
One example: https://ravichaganti.com/blog/2022-11-28-building-container-images-using-no-tools/ https://ravichaganti.com/blog/2022-11-28-building-container-...
- c0wb0yc0d3r 3y agoDid 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?
- codethief 3y agoI'm not sure I'm following. What part of running a container would entail pushing anything to a registry?
- ttymck 3y agoYou 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 https://github.com/opencontainers/runc
- codethief 3y agoThanks for the link! > I got familiar with container intervals via, basically, "building images without docker" That's been my approach, as well. However, right now I'm stuck at getting overlayfs to work without privileges (easy: use `unshare`), while not breaking rootless runc (apparently not so easy).
- codethief 3y agoEDIT: I solved my issue. Looks like I don't need to `unshare` by hand but runc actually does this already: https://github.com/psanford/runc-examples/blob/master/rootless-overlayfs.sh https://github.com/psanford/runc-examples/blob/master/rootle...