March 2017
Beginner to intermediate
925 pages
18h 11m
English
In a similar way to how we performed image operations using APIs, we can also do all container-related operations using APIs.
Configure the Docker daemon and allow remote access, as explained in the earlier recipe.
In this recipe, we'll look at a few container operations:
GET /containers/json
Here are a few examples:
$ curl -X GET http://shadowfax.example.com:2375/containers/json
$ curl -X GET http://shadowfax.example.com:2375/containers/json?all=True
POST /containers/create
Here are a few examples ...
Read now
Unlock full access