|
@@ -808,30 +808,7 @@ Create an image, either by pull it from the registry or by importing it
|
|
|
- **200** – no error
|
|
|
- **500** – server error
|
|
|
|
|
|
-### Insert a file in an image
|
|
|
|
|
|
-`POST /images/(name)/insert`
|
|
|
-
|
|
|
-Insert a file from `url` in the image `name` at `path`
|
|
|
-
|
|
|
- **Example request**:
|
|
|
-
|
|
|
- POST /images/test/insert?path=/usr&url=myurl HTTP/1.1
|
|
|
-
|
|
|
- **Example response**:
|
|
|
-
|
|
|
- HTTP/1.1 200 OK
|
|
|
- Content-Type: application/json
|
|
|
-
|
|
|
- {"status":"Inserting..."}
|
|
|
- {"status":"Inserting", "progress":"1/? (n/a)", "progressDetail":{"current":1}}
|
|
|
- {"error":"Invalid..."}
|
|
|
- ...
|
|
|
-
|
|
|
- Status Codes:
|
|
|
-
|
|
|
- - **200** – no error
|
|
|
- - **500** – server error
|
|
|
|
|
|
### Inspect an image
|
|
|
|