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