docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.74k stars 256 forks source link

Control network configurations for Docker Desktop Business #284

Open voliveirajr opened 2 years ago

voliveirajr commented 2 years ago

Tell us about your request Ability to restrict what networks Docker Client and associated containers can connect to i.e. constrain the client to it's own network. Specifically prevent outbound access to internet.

Which service(s) is this request for? Docker Desktop Business

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? A corporate client wants to have control what network users can use limiting it to a pre-defined set

Are you currently working around the issue? Was considered restrict it by AuthZ plugin however it's a bit more complex when dealing with dockerfile and docker-compose. No workarounds at the moment.

Additional context Add any other context or screenshots about the feature request here. N/A

stephanierifai commented 2 years ago

Hi @voliveirajr I am curious, when you say a pre-defined set, are you imagining something in the Docker Dashboard local network settings that has a drop down with multiple options that are set by an admin? Or something else?

Screen Shot 2021-12-07 at 2 48 05 PM
voliveirajr commented 2 years ago

@stephanierifai yes, I was thinking in let the administrator create the networks and let the user choose from a list or enforce the use of a predefined one. The most important here is to prevent the user to make use of the defaults bridge and host ones and create customised with 'docker network create'. The administrator must have the option to:

stephanierifai commented 2 years ago

Thank you @voliveirajr !

christophermclellan commented 2 years ago

Hey @voliveirajr, we're shipping Admin Controls for Docker Business customers in v4.13 of Desktop with the ability to pre-configure the Network setting that Steph sent the screenshot of above. The JSON config for this field will look like this:

   "vpnkitCIDR": {
      "locked": true,
      "value":"192.168.65.0/24"
    }

Is there anything you would change here ?