Podfox: First Container-Aware Browser
a year ago
- #podman
- #containers
- #networking
- Containers have become essential for running project dependencies without cluttering the host system.
- Port conflicts in Docker Compose setups led to frustration with port forwarding.
- Podman's rootless networking uses Linux namespaces and tools like slirp4netns and pasta.
- Podfox is a SOCKS proxy that allows direct access to containers without port forwarding.
- Podfox resolves container hostnames like <container>.<network>.podman and proxies requests.
- A simple Firefox WebExtension or PAC file can route .podman domains to Podfox.
- Homebrew is used to share CLI tools across containers by mounting its prefix read-only.
- Podchamp is a fish script for managing project-specific dev containers with custom configurations.
- Terminal emulators like Ptyxis can be container-aware, improving the development workflow.