Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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:ProgramDatadockerconfig.

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!
Comment

PREVIOUS NEXT
Code Example
Shell :: iptables linux 80 and 443 open 
Shell :: export installed application using cmd 
Shell :: ./bootstrap command not found in dockerfile 
Shell :: linux convert multiple images 
Shell :: ray core file 
Shell :: Alternative to ctrl+R on linux 
Shell :: How to terminate multiple processes in windows powershell 
Shell :: The command below uses du, sort, and head to show the top five largest files, starting from your /home directory: 
Shell :: ubuntu remove non-breaking spaces from file 
Shell :: read -r bash from file 
Shell :: dgram i node 
Shell :: visual studio copy nuget packages to another project command line 
Shell :: how to chang spark hadoop replication factor on commandline 
Shell :: command to make multiple nested directories 
Shell :: scapy tutorials for mac 
Shell :: docker compose linux +group_add uid sid 
Shell :: Navigate to previous directory in windows command prompt 
Shell :: create theme visual studio code 
Shell :: linux tar.gz 
Shell :: install selenium 
Shell :: how to install gitlab on mac os 
Shell :: git stash specific files 
Shell :: how to push to a new branch in gitlab 
Shell :: way to specify single file in docker compose up 
Shell :: vscodium download ubuntu 
Shell :: Flutter - additional setup for linux 
Shell :: the --plain command does not exist 
Shell :: manueldeveloper github 
Php :: php check folder exists and create 
Php :: php remove last character in string 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =