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 support #643

Closed
LimeHat opened this issue Oct 7, 2021 · 6 comments · Fixed by #674
Closed

add podman support #643

LimeHat opened this issue Oct 7, 2021 · 6 comments · Fixed by #674

Comments

@LimeHat
Copy link
Member

LimeHat commented Oct 7, 2021

I'm going to give it a shot since you already got an interface, posting this just for the tracking purposes.

@GrigoriyMikhalkin
Copy link
Contributor

Hi @LimeHat! Do you work on that? I also had a plan to look into that this weekend.

@LimeHat
Copy link
Member Author

LimeHat commented Oct 15, 2021

Hi Grigory,
yep, I am; work in progress. I can share an alpha branch sometime next week

@LimeHat LimeHat linked a pull request Jan 6, 2022 that will close this issue
@hellt
Copy link
Member

hellt commented Jan 24, 2022

the podman (beta) support has been added
Soon I will carve out 0.23.0 release with these changes

@cgb
Copy link

cgb commented Feb 23, 2022

Podman 4.0 was released recently too with some major networking changes, not sure how this will affect the integration work but just a heads up :)

https://github.com/containers/podman/releases/tag/v4.0.0

@LimeHat
Copy link
Member Author

LimeHat commented Feb 23, 2022

Thanks @cgb. We plan to work on adding v4 support in March.

@q2dg
Copy link

q2dg commented Jul 24, 2023

I'm running Containerlab v0.42.0 in a Fedora 38 system with Podman 4.5.1
When I run sudo containerlab deploy -t linux.clab.yml -r podman (after having started Podman service first with sudo systemctl start podman), I get this error message when I just want to deploy a lab with a "linux" kind node:

failed to run postdeploy task for node cont1: failed to Statfs "/run/netns/netns-421753a3-065e-aef4-b860-1b5d71b21570": no such file or directory

I found this solution (#577 (comment)) but is related to run containerlab inside a container. I don't wanna this: I've installed containerlab as a regular rpm package in my Fedora host

I need Containerlab to run over Podman because nowadays Docker isn't available in RedHat based host systems

P.S: On the other hand, if Podman can run rootless containers, could it be possibe to run containerlab in rootless mode too? This would be a game changer ("/etc/hosts" could not be modified, but, well, I think it'd be a minor issue) . Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants