shell in a container with tools for managing our infrastructure:
- ansible
- molecule (ansible testing)
- prettier, yamllint, ...
- podman
tbd
source <(curl -s https://raw.githubusercontent.com/whatwedo/iac-shell/refs/heads/main/source.sh)
provides the iac command. You might want to add it to your .bashrc.
The host's rootless podman socket is forwarded into the container, so both the
podman and docker CLIs work inside the shell — they are thin clients driving
the host's podman (which serves a Docker-API-compatible endpoint on the same
socket). Nothing runs a container engine daemon inside the shell.
podman ps # host podman
docker ps # same host podman, via the Docker API
docker compose up # docker-compose-plugin is installedDOCKER_HOST / CONTAINER_HOST both point at the forwarded socket, and it is
also symlinked to /var/run/docker.sock for tools that hardcode that path.
go: does ssh and sudo su - in one single command, usage: go my-server
We love whatwedo — a software studio in Bern, Switzerland, fighting the good fight against bad software. But here's the thing: we also love open source.
Curious what else we've been building in the open? → github.com/whatwedo