iophockey.blogg.se

How to enable docker remote api
How to enable docker remote api





how to enable docker remote api

If you have Docker running on an Ubuntu (14.04 is what I'm using), you will need to edit /etc/init/nf and update the DOCKER_OPTS variable to the following: DOCKER_OPTS='-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock' With some trial and error, I was able to finally figure out what was needed and figure I would document this for myself and for anyone else who maybe interested. I was searching online but could not find any tutorials that provides clear instructions on how to enable the remote API for an Ubuntu Virtual Machine that I recently built to run Docker. While going through the documentation, I found that Docker also provides a nice remote REST API which by default, seems to be disabled.

how to enable docker remote api

I have been playing around with Docker lately in my home lab and have primarily been using the Docker CLI.







How to enable docker remote api