for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Cannot start container on port 8080

Open cherealnice opened this issue 9 years ago • 4 comments

Expected behavior

My container running on port 8080 should run

Actual behavior

Fails to start, saying that port 8080 is in use

Information

  • Full output of the diagnostics from "Diagnose & Feedback" in the menu
OS X: version 10.12.3 (build: 16D32)
logs: /tmp/EC6FB6BB-0E6B-4FA9-B7F4-20D774988BDB/20170306-111126.tar.gz
[OK]     docker-cli
[OK]     virtualization kern.hv_support
[OK]     menubar
[OK]     moby-syslog
[OK]     dns
[OK]     disk
[OK]     system
[OK]     app
[OK]     osxfs
[OK]     virtualization VT-X
[OK]     db
[OK]     slirp
[OK]     logs
[OK]     env
[OK]     vmnetd
[OK]     moby-console
[OK]     moby
[OK]     driver.amd64-linux
  • docker ps shows no processes on 8080

  • sudo lsof -i :8080

com.docke 8047 cherealnice   20u  IPv4 0xe1953651b1fdcda9      0t0  TCP *:http-alt (LISTEN)
com.docke 8047 cherealnice   21u  IPv6 0xe1953651bd639799      0t0  TCP localhost:http-alt (LISTEN)

Steps to reproduce the behavior

  1. Try to start a container on port 8080
  2. Open issue and let people smarter than me look at it ;)

cherealnice avatar Mar 06 '17 16:03 cherealnice

Thought an update fixed the issue, but did not

cherealnice avatar Mar 06 '17 16:03 cherealnice

Thanks for the report. Unfortunately it looks like your logs were not uploaded correctly. Could you try "Diagnose & Upload" again to upload the logs and post the new ID here? Thanks

MagnusS avatar Mar 06 '17 19:03 MagnusS

@MagnusS Thanks for the reply. I wound up resetting to factory defaults and rebuilding everything which solved the issue for me. I'll close this issue and reopen if I run into it again.

cherealnice avatar Mar 06 '17 21:03 cherealnice

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 23 '20 03:06 docker-robott