How to use rootless docker-compose, podman play kube, and the [email protected]? #15951
Unanswered
andrew-kennedy
asked this question in
Q&A
Replies: 2 comments
-
Thanks for reaching out, @andrew-kennedy! @rhatdan @umohnani8 @baude @mheon PTAL |
Beta Was this translation helpful? Give feedback.
0 replies
-
Podman version is very important here. Can you provide a full |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my scenario:
I have several services defined and configured in separate docker-compose.yml files. I want to turn those files into rootless running services, and then into kube yaml, and then run that kube yaml on system boot through the
[email protected]
template. I don't want to have to specify any manual port-forwards/mappings, I want to be able to resolve services by theircontainer-name:port
within the same network namespace. So one service running a reverse proxy should be able to reach another service's web ui atservicename:8443
directly. A few questions:docker-compose up -d
do not seem to be able to resolve each other by name if I join them to an external network I create in advance. Is this because DNS doesn't work in non-default networks with slirp4netns? Is there a way around this? (and is there a way around this that keeps original inbound IP-addresses like theslirp4netns
port handler?)docker-compose.yml
service. Is there a way to generate many kubernetes service yaml descriptions and when each is separately launched viapodman play kube
via the[email protected]
template, have them all operating within the same network namespace?Beta Was this translation helpful? Give feedback.
All reactions