# Podmand-In-Podman Gitlab Runner This project provides a Gitlab Runner which runs inside a container launched with `podman`. The Gitlab Runner itself uses an independent `podman` instance inside to launch jobs. ## Overview This container image is built daily from this `Containerfile`, and made available as: - `registry.gitlab.com/qontainers/pipglr:latest` -or- - `registry.gitlab.com/qontainers/pipglr:` It's purpose is to provide an easy method to execute a GitLab runner, to service CI/CD jobs for groups and/or repositories on [gitlab.com](https://gitlab.com). It comes pre-configured to utilize the gitlab-runner app to execute within a rootless podman container, nested inside a rootless podman container. This is intended to provide additional layers of security for the host, when running potentially arbitrary CI/CD code. Though, the ultimate responsibility still rests with the end-user to review the setup and configuration relative to their own security situation/environment. **Note**: While this can run entirely under a regular user, it will require root access for the first two setup steps (below). ### Operation This image leverages the podman `runlabel` feature heavily. Several labels are set on the image to support easy registration and execution of the runner container. While it's possible to use the container with your own command-line, it's highly recommended to base them off of one of the labels. See the examples below for more information. **_Note:_** Some older versions of podman don't support the `container runlabel` sub-command. If this is the case, you may simulate it with the following, substituting `