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

How does docker open port 2375 to provide external access to docker? #85

Closed
heixiaoma opened this issue Aug 17, 2021 · 3 comments
Closed

Comments

@heixiaoma
Copy link

No description provided.

@aparcar
Copy link
Member

aparcar commented Apr 19, 2022

I don't understand this question, how is it related to OpenWrt?

@doyard
Copy link

doyard commented Apr 22, 2022

This is not related to OpenWrt. Just modify the docker daemon config file (by default /etc/docker/daemon.json):

{
    "hosts":[
                "tcp://0.0.0.0:2375",
                "unix:///var/run/docker.sock"
    ]
}

or
start dockerd with an -H flag like
dockerd -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375

@heixiaoma
Copy link
Author

It has been handled. There is no such configuration file in the early version, such as a beat version of docker. After updating, it is found that there is such a configuration

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

No branches or pull requests

3 participants