distrobox icon indicating copy to clipboard operation
distrobox copied to clipboard

[Suggestion] Option to specify network flag when creating a distrobox

Open janlothar opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I’m always frustrated when I create new containers and have to manually configure the network for each one. I use a container that configures VPN for me, and when I create new containers, I use the flag --network container:vpn-container so that these new containers are routed through this VPN without having to configure the network for each one. Since distrobox creates podman containers with 'host' I can't even use podman network disconnect and then podman network connect.

Describe the solution you'd like I would like to create Distrobox containers with a flag that allows me to specify a network, similar to the --network container:vpn-container flag. This would streamline the process and ensure all new containers are automatically routed through the specified VPN container.

Describe alternatives you've considered Currently I create distro containers manually through podman for instances where I really need that network configuration.

Additional context I use this container that configures VPN.

janlothar avatar Jul 20 '24 16:07 janlothar