Merge pull request #10142 from thaJeztah/docs-use-example-image
Replace "base" with "debian" in API documentation
This commit is contained in:
commit
c9b03c6095
8 changed files with 111 additions and 111 deletions
|
@ -35,7 +35,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -45,7 +45,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -55,7 +55,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -65,7 +65,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -119,7 +119,7 @@ Create a container
|
|||
"Cmd":[
|
||||
"date"
|
||||
],
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":{
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -194,7 +194,7 @@ Return low-level information on the container `id`
|
|||
"Cmd": [
|
||||
"date"
|
||||
],
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"WorkingDir":""
|
||||
|
||||
|
@ -702,7 +702,7 @@ Create an image, either by pull it from the registry or by importing
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -774,7 +774,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -801,7 +801,7 @@ Return low-level information on the image `name`
|
|||
"StdinOnce":false,
|
||||
"Env":null,
|
||||
"Cmd": ["/bin/bash"]
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":null,
|
||||
"WorkingDir":""
|
||||
},
|
||||
|
@ -822,7 +822,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1229,10 +1229,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -45,7 +45,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -55,7 +55,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -65,7 +65,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -119,7 +119,7 @@ Create a container
|
|||
"Cmd":[
|
||||
"date"
|
||||
],
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":{
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -195,7 +195,7 @@ Return low-level information on the container `id`
|
|||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -736,7 +736,7 @@ Create an image, either by pull it from the registry or by importing i
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -777,7 +777,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -805,7 +805,7 @@ Return low-level information on the image `name`
|
|||
"Env":null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns":null,
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":null,
|
||||
"VolumesFrom":"",
|
||||
"WorkingDir":""
|
||||
|
@ -827,7 +827,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1259,10 +1259,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -46,7 +46,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -56,7 +56,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -66,7 +66,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -127,7 +127,7 @@ Create a container
|
|||
"Cmd":[
|
||||
"date"
|
||||
],
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":{
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -204,7 +204,7 @@ Return low-level information on the container `id`
|
|||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -795,7 +795,7 @@ Create an image, either by pull it from the registry or by importing i
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -838,7 +838,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -864,7 +864,7 @@ Return low-level information on the image `name`
|
|||
"Env": null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": null,
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -888,7 +888,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1325,10 +1325,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -46,7 +46,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -56,7 +56,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -66,7 +66,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -121,7 +121,7 @@ Create a container
|
|||
"Cmd":[
|
||||
"date"
|
||||
],
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":{
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -198,7 +198,7 @@ Return low-level information on the container `id`
|
|||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -784,7 +784,7 @@ Create an image, either by pulling it from the registry or by importing it
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -827,7 +827,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -853,7 +853,7 @@ Return low-level information on the image `name`
|
|||
"Env": null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": null,
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -877,7 +877,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1314,10 +1314,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -46,7 +46,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -56,7 +56,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -66,7 +66,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -124,7 +124,7 @@ Create a container
|
|||
"Cmd":[
|
||||
"date"
|
||||
],
|
||||
"Image":"base",
|
||||
"Image":"ubuntu",
|
||||
"Volumes":{
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -207,7 +207,7 @@ Return low-level information on the container `id`
|
|||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -794,7 +794,7 @@ Create an image, either by pulling it from the registry or by importing it
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -837,7 +837,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -863,7 +863,7 @@ Return low-level information on the image `name`
|
|||
"Env": null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": null,
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -887,7 +887,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1324,10 +1324,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -46,7 +46,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -56,7 +56,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -66,7 +66,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -128,7 +128,7 @@ Create a container
|
|||
"date"
|
||||
],
|
||||
"Entrypoint": "",
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -291,7 +291,7 @@ Return low-level information on the container `id`
|
|||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -939,7 +939,7 @@ Create an image, either by pulling it from the registry or by importing it
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -983,7 +983,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1009,7 +1009,7 @@ Return low-level information on the image `name`
|
|||
"Env": null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": null,
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -1033,7 +1033,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1471,10 +1471,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -46,7 +46,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -56,7 +56,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -66,7 +66,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -128,7 +128,7 @@ Create a container
|
|||
"date"
|
||||
],
|
||||
"Entrypoint": "",
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -291,7 +291,7 @@ Return low-level information on the container `id`
|
|||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -885,7 +885,7 @@ Create an image, either by pulling it from the registry or by importing it
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -929,7 +929,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -955,7 +955,7 @@ Return low-level information on the image `name`
|
|||
"Env": null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": null,
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -979,7 +979,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1427,10 +1427,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ List containers
|
|||
[
|
||||
{
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -46,7 +46,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "9cd87474be90",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
|
@ -56,7 +56,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "3176a2479c92",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
|
@ -66,7 +66,7 @@ List containers
|
|||
},
|
||||
{
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Image": "base:latest",
|
||||
"Image": "ubuntu:latest",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
@ -128,7 +128,7 @@ Create a container
|
|||
"date"
|
||||
],
|
||||
"Entrypoint": "",
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": {
|
||||
"/tmp": {}
|
||||
},
|
||||
|
@ -1096,7 +1096,7 @@ Create an image, either by pulling it from the registry or by importing it
|
|||
|
||||
**Example request**:
|
||||
|
||||
POST /images/create?fromImage=base HTTP/1.1
|
||||
POST /images/create?fromImage=ubuntu HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1140,7 +1140,7 @@ Return low-level information on the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/json HTTP/1.1
|
||||
GET /images/ubuntu/json HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1166,7 +1166,7 @@ Return low-level information on the image `name`
|
|||
"Env": null,
|
||||
"Cmd": ["/bin/bash"],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Image": "ubuntu",
|
||||
"Volumes": null,
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir": ""
|
||||
|
@ -1190,7 +1190,7 @@ Return the history of the image `name`
|
|||
|
||||
**Example request**:
|
||||
|
||||
GET /images/base/history HTTP/1.1
|
||||
GET /images/ubuntu/history HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
|
||||
|
@ -1589,10 +1589,10 @@ and Docker images will report:
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "base:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "base:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "base:latest", "time":1374067970}
|
||||
{"status": "create", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "start", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067924}
|
||||
{"status": "stop", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067966}
|
||||
{"status": "destroy", "id": "dfdf82bd3881","from": "ubuntu:latest", "time":1374067970}
|
||||
|
||||
Query Parameters:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue