Skip to content

cmd/atlas/docker: let Docker Engine allocate a free port - #3501

Open
giautm wants to merge 3 commits into
masterfrom
g/docker-fix
Open

cmd/atlas/docker: let Docker Engine allocate a free port#3501
giautm wants to merge 3 commits into
masterfrom
g/docker-fix

Conversation

@giautm

@giautm giautm commented May 12, 2025

Copy link
Copy Markdown
Contributor

This fixed a case in which the port was free on the machine running atlas-cli but unavailable on the machine running the Docker engine. (remote docker engine via DOCKER_HOST)

Because the freePort() function only able to checks free ports on the current machine.

@a8m

a8m commented May 14, 2025

Copy link
Copy Markdown
Contributor

@masseelch, we still didn’t find why it’s not working on Windows.

@giautm

giautm commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

@masseelch, we still didn’t find why it’s not working on Windows.

You may missed it, but I found. Please re-check messages in the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants