-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for podman instead of docker #2589
Comments
FYI, Docker works when you boot with |
Just to be sure I understand, is the issue with the container runtime or the image builder? (it's common to conflate the two since they often come as one package) For the image builder, tilt supports non-docker image builders via For the container runtime, I believe as long as you're not using |
I think this is about image building, so the relevant tool is buildah. I still have a lot of confusion around registries, but Besides, I think there's still some value in supporting buildah natively. When you work in a team and people are using different platforms, not everyone will be using the same container builder/runtime. podman/buildah do not require a daemon or even root access, that's why they're seeing more and more adoption. |
let me poke at this a bit and write docs on how to do it. ideally, i'd want custom_build to be powerful enough that you could implement docker_build as just a thin wrapper around custom_build. And then there'd be a bunch of off-the-shelf Tiltfile functions for how to use custom builds that you could custom_build should be smart enough to handle in-cluster registries correctly but i'll check that too |
@nicks thanks! amazing job! I'm going to test it now. |
we actually needed to do some fixes on the Tilt side, which will be available in the next release. I'm also going to add a bit to our custom_build guide, but for reference, here's a demo Tiltfile where i got it working: https://github.com/windmilleng/tilt-frontend-demo/blob/nicks/buildah/Tiltfile |
can't test as I can't build binary :-(
Will wait until next release. |
OK, v0.10.22 should have a new argument to custom_build called |
Added some documentation to the custom_build guide on how to use buildah: |
Latest version of Docker doesn't work on Fedora 31 because of missing cgroupsv2 support. Can you add support for alternative container runtimes - for example podman.
The text was updated successfully, but these errors were encountered: