docker / kitematic

Visual Docker Container Management on Mac & Windows
https://kitematic.com
Apache License 2.0
12.23k stars 1.41k forks source link

client tries to fill gaps between port mappings resulting in a large list and error #2783

Open syberkitten opened 7 years ago

syberkitten commented 7 years ago

Expected behavior

Do not fill in missing port mappings

Actual behavior

(HTTP code 500) server error - driver failed programming external connectivity on endpoint inspiring_meitner (6fc49919697bba85b9d9e5d57cd51dfd6be8e84fc62a58c23828a485b7dfe4af): Error starting userland proxy: Bind for 0.0.0.0:34589: unexpected error Hostnet.Host_uwt.Sockets.Too_many_connections

Information about the Issue

Happens only after saving changes to port mappings, since the client generates a very long of hundreds of port mappings this could be causing it.

Steps to reproduce the behavior

  1. port mapping for 18083:18083
  2. client tries to fill the gaps and creates hundreds of port mappings. when starting from port 6000...

so you get:

6001 localhost: 6002 localhost: 6003 localhost

and the list goes very long.

FrenchBen commented 7 years ago

I'm unable to reproduce this, can you provide a screencapture of how you made this happen, showing the image used and the changes made via the interface?

syberkitten commented 7 years ago

I think it would be best to download the emq container from here: https://hub.docker.com/r/fjctp/emq-docker/

screenshots attached:

screen shot 2017-07-01 at 17 43 37 screen shot 2017-07-01 at 17 43 52 screen shot 2017-07-01 at 17 44 01 screen shot 2017-07-01 at 17 44 13
FrenchBen commented 7 years ago
$ docker pull emq:latest
Error response from daemon: repository emq not found: does not exist or no pull access
syberkitten commented 7 years ago

my bad, this is the one: https://hub.docker.com/r/fjctp/emq-docker/

FrenchBen commented 7 years ago

Looks like something in Docker for Mac - Issue opened in our internal tracker.