Skip to content
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 podman and docker binaries #37

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

ziegenberg
Copy link
Contributor

In #22 and #23 the podman and docker molecule drivers were added, but the respective binaries are still missing.

This commit adds the necessary dependencies to the execution enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove them inadvertently and output some helpful version information at build time.

@ziegenberg ziegenberg requested a review from a team as a code owner March 16, 2022 15:24
@ziegenberg
Copy link
Contributor Author

docker is still missing, I'm currently working on it and will amend my commit.

@ziegenberg
Copy link
Contributor Author

ziegenberg commented Mar 16, 2022

Installing Docker and Podman together fails. The containerd.io package from Docker includes runc, which conflicts with the CentOS 8 Stream native runc package needed by Podman and Skopeo. There is docker/containerd-packaging#231 to fix it, but it is still waiting for a review.

@ziegenberg
Copy link
Contributor Author

Hi @ssbarnea,
until docker/containerd-packaging#231 is merged and is available with stable docker-ce, would you be fine with this workaround?
-> https://faun.pub/how-to-install-simultaneously-docker-and-podman-on-rhel-8-centos-8-cb67412f321e

@ziegenberg ziegenberg force-pushed the add-podman-docker-binaries branch 2 times, most recently from 968e909 to bed5feb Compare March 17, 2022 12:44
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

There is also a workaround to make installing podman and docker
simultaneously possible. This is due to a conflict between the
packaged version of runc in the containerd.io package from Docker
and the CentOS 8 Stream native version packaged for Podman and Skopeo.
This can be changed once docker/containerd-packaging#231
is merged and available upstream via the Docker repository.
Cudos for the workaround:
https://faun.pub/how-to-install-simultaneously-docker-and-podman-on-rhel-8-centos-8-cb67412f321e

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ssbarnea ssbarnea added the bug Something isn't working label Mar 17, 2022
@ssbarnea ssbarnea changed the title add podman and docker binaries Add podman and docker binaries Mar 17, 2022
@ssbarnea ssbarnea merged commit 52d2ac2 into ansible:main Mar 18, 2022
@ziegenberg ziegenberg deleted the add-podman-docker-binaries branch April 18, 2022 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants