How to enable docker remote API in Docker for Windows?

0 votes
I have docker for windows installed on my Windows10 machine. I want to access docker using the remote API through port 8080. I guess this port is not enabled by default. Do you have any idea how to open it?
Oct 15, 2018 in Docker by Sophie may
• 9,530 points
494 views

1 answer to this question.

0 votes

You can edit the configuration for docker daemon. Add a daemon.json file in the following path: %ProgramData%\docker\config

The file should contain something like this:

{ "hosts": ["tcp://0.0.0.0:8080"]
}

Then restart docker service.

answered Oct 15, 2018 by Tyrion anex
• 8,270 points

Related Questions In Docker

0 votes
1 answer

How to enable/ disable Hyper-V for Docker on Windows?

You can do this from command prompt ...READ MORE

answered Sep 10, 2018 in Docker by Tyrion anex
• 8,270 points
466 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to install telnet in Docker for Windows 10?

If you are trying to telnet in ...READ MORE

answered Aug 27, 2018 in Docker by Tyrion anex
• 8,270 points
533 views
0 votes
1 answer

How to save a Dynamic port in Docker for Windows?

The mapped ports can be accessed via ...READ MORE

answered Sep 4, 2018 in Docker by Tyrion anex
• 8,270 points
42 views