Docker Container
|
Description |
Manages images instances that run on the switch. |
|
Request URL |
/neo/resources |
|
Request URL |
GET /neo/resources/systems/<system_id>/docker/instances for instances GET /neo/resources/systems/<system_id>/docker/images |
Response:
For images:
[{
"Uptime":"6 weeks ago"
"version":"latest"
"Name":"omar"
"image_name":"centos"
}]
For instances:
[
{version :"1.0.0"
creation_date:4 months ago
name:poc_neo
image_size:742MB}
]
|
Request URL |
POST neo/resources/systems/<system_id> /docker/fetch |
|
Response |
{ "location": "/neo/app/jobs/24", "objectID": "24" } |
|
Status Codes |
Note: for status code 404, the system was not found or the system is not a Mellanox Switch |