-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Docker-in-Podman #12
Comments
docker exec -it oilrich25-runner-1 docker info
|
Of course, |
Please create a PR to add your sample compose in Yes your configuration of rootful podman in docker works for me too without mounting See here https://www.redhat.com/sysadmin/podman-inside-container. |
I found that
|
Background
The current use of the docker:dind-rootless solution has some limitations in certain scenarios. In order to enhance the flexibility of container management, we have decided to replace it with quay.io/containers/podman to support more customizable configurations and container image management capabilities.
Changes Made
We have replaced the original
docker:dind-rootless
withquay.io/containers/podman
. The advantage of this change is the ability to specify a private registry, avoiding potential delays in image pulling due to network speed and connection issues. To achieve this, we added support for registries.conf in the container, allowing users to customize the registries configuration for more flexible image management.Advantages of Using Podman
Compared to Docker, Podman provides more robust container management features, especially regarding registries. Here's an example showing how to configure
registries.conf
to specify different container registries:This configuration allows flexible management of images from various container registries.
Docker-Compose Support
For convenience, we provide a simple
docker-compose.yaml
file that supports bothpodman-compose
anddocker-compose
. This configuration has been tested and is ready for use. Please note thatDOCKER_HOST
has been updated to support Podman:Feel free to add this configuration to the
ChristopherHX/gitea-actions-runner
repository and test it. If you have any issues or suggestions, please don't hesitate to bring them up. Thank you for your assistance!The text was updated successfully, but these errors were encountered: