Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ananthb/fly-podman-daemon
https://github.com/ananthb/fly-podman-daemon
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ananthb/fly-podman-daemon
- Owner: ananthb
- License: mit
- Created: 2021-07-18T10:31:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T18:31:18.000Z (over 2 years ago)
- Last Synced: 2024-11-13T20:41:40.251Z (2 months ago)
- Language: Dockerfile
- Size: 22.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fly Podman Daemon
This is a Podman daemon that runs on [Fly](https://fly.io) and can be used to build OCI images using podman. Podman runs as an unprivileged user inside the container. See [podman rootless](https://github.com/containers/podman/blob/main/rootless.md) 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](https://git.sr.ht/~ananth/fly-podman-daemon)
## Installation
1. Clone this repository.
2. `fly launch` & follow the prompts.
3. Select `n` when it asks if you want to deploy.
4. Create a volume in a region of your choice: `fly volumes create containers --size 50 --region sin`
5. Deploy## Connect to podman remote
1. Create a WireGuard peer with `fly wireguard create`
2. Setup WireGuard with generated config.
3. Set the `CONTAINER_HOST` env variable using the fly.io private network hostname on TCP port 8080: `export CONTAINER_HOST=tcp://appname.internal:8080`
4. 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.## Next Steps
1. Delete Docker Engine!
2. You almost definitely want to scale your remote daemon: `fly scale vm dedicated-cpu-2x`.## LICENSE
podman-daemon is available under the [MIT License](./LICENSE) and is copyright (c) 2021-22 Ananth Bhaskararaman.