Docker Remote API and CentOS 7

This time again some topics in one tutorial. We touch Vagrant with Shell provision (external script), Docker Remote API and something CentOS 7 configuration.

Preconditions

Preparation

If you already have a CentOS 7 with Docker, you can skip these steps. Create a folder with the following 2 files…

Instructions

Now we edit docker.service file. The path may be different!

Note: Be careful if you use tcp://0.0.0.0:4243 !!!!

Read the manual of jq, the power of curl and jq together is awesome.