mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-27 08:12:32 +00:00
3.3 KiB
3.3 KiB
/v1/projects/{project_id}/docker/images
POST /v1/projects/{project_id}/docker/images
Create a new Docker container
Parameters
- project_id: UUID for the project
Response status codes
- 400: Invalid request
- 201: Instance created
- 409: Conflict
Input
Name | Mandatory | Type | Description |
---|---|---|---|
adapter_type | string | Docker adapter type | |
adapters | integer | number of adapters | |
console | string | console name | |
imagename | string | Docker image name | |
name | string | Docker container name | |
startcmd | string | Docker CMD entry | |
vm_id | Docker VM instance identifier |
Output
Name | Mandatory | Type | Description |
---|---|---|---|
adapter_type | string | Docker adapter type | |
adapters | integer | number of adapters | |
cid | string | Docker container ID | |
image | string | Docker image name | |
name | string | Docker container name | |
project_id | ✔ | string | Project UUID |
vm_id | ✔ | string | Docker container instance UUID |