Run GitLab Runners in Podman Containers with Docker Executors

Download my example here: https://github.com/selloween/podman-gitlab-runner-docker-executor Creating directory structure I prefer to create a podman directory in /opt for all container bind mounts. mkdir -p /opt/podman/gitlab-runner mkdir -p /opt/podman/gitlab-runner/certs mkdir -p /opt/podman/dind/docker touch /opt/podman/gitlab-runner/config.toml Docker in Podman Container First, create a Podman container using the official dind (“Docker in Docker”) Image from Dockerhub. For this, I created a simple bash script located in the /dind directory. It’s important that the “Docker in Podman” container is started before starting the GitLab Runner container....

August 27, 2020 · 3 min · 552 words · Selwyn Rogers