This is a Podman daemon that runs on Fly and can be used to build OCI images using podman. Podman runs as an unprivileged user inside the container. See podman rootless for a list of caveats and gotchas. The majority of image builds will work fine in rootless podman.
Source Hut Mirror - git.sr.ht/~ananth/fly-podman-daemon
- Clone this repository.
fly launch
& follow the prompts.- Select
n
when it asks if you want to deploy. - Create a volume in a region of your choice:
fly volumes create containers --size 50 --region sin
- Deploy
- Create a WireGuard peer with
fly wireguard create
- Setup WireGuard with generated config.
- Set the
CONTAINER_HOST
env variable using the fly.io private network hostname on TCP port 8080:export CONTAINER_HOST=tcp://appname.internal:8080
- On Linux, use
podman --remote
with the env var set to use the remove daemon. On MacOS,brew install podman-remote
. Windows users can use podman-remote or install podman in WSL.
- Delete Docker Engine!
- You almost definitely want to scale your remote daemon:
fly scale vm dedicated-cpu-2x
.
podman-daemon is available under the MIT License and is copyright (c) 2021-22 Ananth Bhaskararaman.