Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

enable docker api

# Edit this config file to enable doocker Api
# /lib/systemd/system/docker.service
# Find the line which starts with ExecStart and adds -H=tcp://0.0.0.0:2375 
#to make it look like
ExecStart=/usr/bin/dockerd -H=fd:// -H=tcp://0.0.0.0:2375
#Reload the docker daemon and Reload docker service
systemctl daemon-reload; sudo systemctl restart docker
 
PREVIOUS NEXT
Tagged: #enable #docker #api
ADD COMMENT
Topic
Name
5+7 =