Skip to content

port is already allocated without running containers #205

@oliverhr

Description

@oliverhr

Expected behavior

Container creation

Actual behavior

Error: port is already allocated

Information

Diagnostic ID: 269F8ACE-C09C-4FB4-856C-8208C92B0020
Docker for Mac: 1.12.0-beta21 (Build 11019)
macOS: Version 10.11.6 (Build 15G31)
[OK] docker-cli
[OK] app
[OK] moby-syslog
[OK] disk
[OK] virtualization
[OK] system
[OK] menubar
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux

Steps to reproduce

  1. Run a container using -p with any port - in my case two containers nginx (80, 443) and a node app running on 10011
  2. Remove the container
  3. Create the same or another container on the same port

Result for command docker ps -a:
screenshot 2016-08-09 16 02 18

Portscan on 0.0.0.0 with docker running - But without running any container
screenshot 2016-08-09 15 45 34

Portscan on 0.0.0.0 without docker:
screenshot 2016-08-09 16 18 05

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions