April 2017
Beginner
404 pages
9h 30m
English
Append the query parameters containers/create to create a container. Remember create container is a post method which means we should pass the request parameters as a post body for creating the containers. The following is a sample request which creates a Windows Server Core container.
Since this is a POST request, the server might respond with a variety of response codes as shown in the following table, which should be handled gracefully:
|
Response codes |
Description |
|
201 |
Container created successfully |
|
400 |
Bad parameter |
|
404 |
No such image/container |
|
409 |
Conflict |
|
500 |
Server error |

Read now
Unlock full access