Horje
configure rest api for docker in windows Code Example
configure rest api for docker in windows
(Posted on behalf of the OP).

Finally, I found how to enable Remote API of Docker Containers on Windows. The key point is file daemon.json which place in C:\ProgramData\docker\config.

In the guide linked in the question, the author only mention that we should place in it something like:

{"hosts": ["tcp://0.0.0.0:2376", "npipe://"]}  
But when I try to add this to daemon.json, my daemon don't work on CLI. At last, I reverse the order of array like

{"hosts": ["npipe://", "tcp://0.0.0.0:2376"]}   
My docker will work well in both CLI & Remote API. Good experience with Windows Docker and thanks for your attention!




Shell

Related
ubuntu git https not supported Code Example ubuntu git https not supported Code Example
kali linux connection refused vnc Code Example kali linux connection refused vnc Code Example
how to install kind in ubuntu Code Example how to install kind in ubuntu Code Example
how to end localhost Code Example how to end localhost Code Example
git squash command Code Example git squash command Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7