Rootless Podman-in-Podman: with docker-compose support and GPU pass through to the child container #22741
Timost
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm not sure where to put this, but since there is very little information on podman-in-podman on the internet AFAIK, I thought I would share it here.
I've been working on rootless podman-in-podman setups at work, and I've been able to:
This is on Ubuntu 22.04 hosts
To achieve item 1 i got help from :
In addition to what is described here, I had to:
--device /dev/net/tun --security-opt unmask=/proc/*
to the parent podman run commandnetavark aardvark-dns iptables
packages in the child podman host (Ubuntu 23). To get DNS to work properly between containers launched by docker-composeTo achieve item 2:
/etc/cdi/nvidia.yml
and/usr/bin/nvidia-ctk
from the host to the parent container (this kind of dirty)Beta Was this translation helpful? Give feedback.
All reactions