Skip to content

[Suggestion] Mount a copy of essential host files a readwrite inside the container (podman) #1812

@dprimon

Description

@dprimon

Is your feature request related to a problem? Please describe.
I'm trying to configure VPN on a archlinux container. I realized and have been told that this needs a rootful container to be accomplished. In practice I've installed wireguard-tools and openreolv inside the Archlinux container and in the end the VPN enabling command fails on /etc/resolv.conf being mounted readonly.
I got not luck in finding a way to bypass this restriction.
Using:
distrobox 1.8.1.2
podman 4.3.1
debian bookworm with backports (i.e.: kernel, etc...)

Describe the solution you'd like
Mount (possibly a copy of) host files readwrite inside the container.

Describe alternatives you've considered
I'm condering avoiding use of container; I still have much to learn on the matter. I would instead configure a full vm with VPN inside it.

Additional context
Based on a statement in a forum, I understand that that docker can manage mounting a copy of a host file as read write.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions