forked from docker-archive/classicswarm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port filter: Random port assignment conflict detection.
This change takes into account ports that have been randomly allocated on the node. When starting containers with no explicit external port (e.g. `-p 80`), Docker allocates a random port on the node. The problem is that Swarm didn't see that random port as taken, meaning that another container could explicitely ask for it, resulting in a broken container. Replaces docker-archive#274 Fixes docker-archive#272 Signed-off-by: Andrea Luzzardi <[email protected]>
- Loading branch information
Showing
2 changed files
with
108 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters