-
Notifications
You must be signed in to change notification settings - Fork 48
podman --subuidname does not set resolv.conf #9
Comments
I'm not familiar with any Podman flag named |
Argh. I forgot to copy paste correctly! I meant --subuidname. |
Ah, a container in a user namespace. Hm. |
Right, but in the host's net namespace. |
I see no difference?
|
Are you using the dnsname plugin? Because AFAICT the dnsname plugin sets the nameserver to the bridge's gateway address (because that's where it instructs dnsmasq to listen). |
i dont follow what should happen. can anyone elaborate ? |
Dnsname configures a dnsmasq server to listen on the bridge gateway address (on the host). It correctly configures resolv.conf to point to that nameserver when used without using user namespaces. When using user namespaces it does not. |
@ibotty interesting, thanks for the clarification. Do we all feel that is in error? |
Sounds like an error to me. |
I am running the latest podman from the projectatomic ppa repository
1.6.1-1~ubuntu18.04~ppa3
,0.8.2-1~ubuntu18.04~ppa3
andf5af33d
.When running a podman container with --subuidname, it does not correctly modify resolv.conf but uses the host's resolv.conf instead:
I don't know whether that's a ticket for podman or dnsname. Please delegate if I am wrong.
The text was updated successfully, but these errors were encountered: