-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent assigning already taken ports to containers #283
Comments
@andreasn @mvollmer @stefwalter @dperpeet. I would like to work upon the design. Can you elaborate on what all mockups are required here ? |
This is an interesting one. I think before we need mockups here, we need some prior design steps: Some workflows / scoping. Should we detect just ports that docker is already using? All ports? Should the user be able to go ahead anyway? Maybe you need to try what happens right now when you try to use a port twice in the Cockpit/docker ui. Once those questions (and others?) are answered, we can think about where such a warning would be displayed in the ui. The run dialog is also currently being worked on, so mockups should probably wait until #4405 has been merged or it's ui is "stable". |
See reasoning for closing here #4405 (comment) |
Right now it's fairly easy to by mistake assign a port already used by another container to a new container. This results in the container just shutting down immediately.
We should check what ports are already in use and give a inline warning that the port is already used, but perhaps make it possible to go ahead anyway?
The text was updated successfully, but these errors were encountered: