Skip to content
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

"docker run -p" does not support the full -p syntax on MacOS #5205

Closed
2 tasks
MineCoinChain opened this issue Dec 31, 2020 · 3 comments
Closed
2 tasks

"docker run -p" does not support the full -p syntax on MacOS #5205

MineCoinChain opened this issue Dec 31, 2020 · 3 comments

Comments

@MineCoinChain
Copy link

MineCoinChain commented Dec 31, 2020

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

"docker run -p" should support the full -p syntax on MacOS

Actual behavior

it does not work,when I add localhost IP(not 127.0.0.1),the mapped port and ipaddress has changed.as following:
image
but it works on other unix system like ubuntu

Information

  • macOS Version:
    macos Catalina 10.15.7

Diagnostic logs

Docker for Mac: version...
3.0.3

Steps to reproduce the behavior

  1. docker run -p yourlocalhostIP:mappedport:port
  2. it does not works
@stephen-turner
Copy link
Contributor

Thanks for the report. I believe this is a dupe of #4541.

@simonferquel
Copy link

We have a preview build that should fix this issue: https://desktop.docker.com/mac/preview/60183/Docker.dmg

@docker-robott
Copy link
Collaborator

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 docker locked and limited conversation to collaborators Feb 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants