docker-rust
docker-rust copied to clipboard
Docker client library written in Rust
Your project is listed https://docs.docker.com/engine/api/sdk/ so if you consider archiving it you might ask to get un-indexed.
Updates to Read me
**Example request**: ``` GET /containers/4fa6e0f0c678/json HTTP/1.1 ``` **Example response**: ``` HTTP/1.1 200 OK Content-Type: application/json { "Id": "4fa6e0f0c6786287e131c3852c58a2e01cc697a68231826813597e4994f1d6e2", "Created": "2013-05-07T14:51:42.041847+02:00", "Path": "date", "Args": [], "Config": { "Hostname": "4fa6e0f0c678", "User": "",...
**Example request**: ``` DELETE /images/test HTTP/1.1 ``` **Example response**: ``` HTTP/1.1 200 OK Content-type: application/json [ {"Untagged":"3e2f21a89f"}, {"Deleted":"3e2f21a89f"}, {"Deleted":"53b4f83ac9"} ] ``` Query Parameters: - **force** – 1/True/true or 0/False/false, default...
**Example request**: ``` GET /images/base/json HTTP/1.1 ``` **Example response**: ``` HTTP/1.1 200 OK Content-Type: application/json { "Created":"2013-03-23T22:24:18.818426-07:00", "Container":"3d67245a8d72ecf13f33dffac9f79dcdf70f75acb84d308770391510e0c23ad0", "ContainerConfig": { "Hostname":"", "User":"", "Memory":0, "MemorySwap":0, "AttachStdin":false, "AttachStdout":false, "AttachStderr":false, "PortSpecs":null, "Tty":true, "OpenStdin":true,...
**Example request**: ``` POST /containers/(id)/start HTTP/1.1 Content-Type: application/json { "Binds":["/tmp:/tmp"], "LxcConf":{"lxc.utsname":"docker"}, "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] }, "PublishAllPorts":false, "Privileged":false, "Dns": ["8.8.8.8"], "VolumesFrom": ["parent", "other:ro"] } ``` **Example response**: ```...
**Example request**: ``` POST /containers/16253994b7c4/wait HTTP/1.1 ``` **Example response**: ``` HTTP/1.1 200 OK Content-Type: application/json {"StatusCode":0} ``` Status Codes: - **200** – no error - **404** – no such container...
**Example request**: ``` POST /containers/e90e34656806/kill HTTP/1.1 ``` **Example response**: ``` HTTP/1.1 204 OK ``` Query Parameters - **signal** - Signal to send to the container: integer or string like "SIGINT"....