You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of adding the container to multiple networks, the container can be added to the Docker default bridge (default setting for DockerSpawner.network_name. This way the container can communicate with other containers on the default bridge network, but only via IP addresses instead of host/service names.
Who would use this feature?
With the ability to set multiple networks, the containers do not need to be in the Docker default bridge and can access each other via host/service names. This also provides better network isolation and thus better security.
(Optional): Suggest a solution
DockerSpawner.network_name should be a list (like DockerSpawner.mounts) of all Docker networks the spawned container will be added.
The text was updated successfully, but these errors were encountered:
Proposed change
Allow spawned containes to be in multiple networks instead of only one.
Currently,
DockerSpawner.network_name
only allows to specify one network the container will be part of.Alternative options
Instead of adding the container to multiple networks, the container can be added to the Docker default bridge (default setting for
DockerSpawner.network_name
. This way the container can communicate with other containers on the default bridge network, but only via IP addresses instead of host/service names.Who would use this feature?
With the ability to set multiple networks, the containers do not need to be in the Docker default bridge and can access each other via host/service names. This also provides better network isolation and thus better security.
(Optional): Suggest a solution
DockerSpawner.network_name
should be a list (likeDockerSpawner.mounts
) of all Docker networks the spawned container will be added.The text was updated successfully, but these errors were encountered: