DockerAPI.Containers

Source

Summary

create(container, client)

Create a container with a randomly generated name

create(name, container, client)

Create a container with a specific name

inspect(container, client)

Inspects a specific container

kill(container, client)

Kill a running container

list(client)

List all containers

pause(container, client)

Pause the container

remove(container, force \\ false, client)

Remove the container id from the filesystem

rename(container, new_name, client)

Rename the container id to a new_name

restart(container, client)

Restart a running container

run(container, client)

Create and start a container with a randomly generated name

run(name, container, client)

Create and start a container with a specific name

start(container, client)

Start a container in a stopped state

stop(container, client)

stop a container in a running state

top(container, client)

List processes running inside the container

unpause(container, client)

Unpause the container

Functions

create(container, client)

Specs:

Create a container with a randomly generated name

See API Docs for map keys.

Source
create(name, container, client)

Specs:

Create a container with a specific name.

See API Docs for map keys.

Source
inspect(container, client)

Specs:

Inspects a specific container

Return low-level information on the container.

See API Docs for information on the body.

Source
kill(container, client)

Specs:

Kill a running container

Source
list(client)

Specs:

List all containers

See API Docs for information on the body.

Source
pause(container, client)

Specs:

Pause the container

Source
remove(container, force \\ false, client)

Specs:

Remove the container id from the filesystem

Optionally force kill the container if it is running

Source
rename(container, new_name, client)

Specs:

Rename the container id to a new_name

Source
restart(container, client)

Specs:

Restart a running container

Source
run(container, client)

Specs:

Create and start a container with a randomly generated name

See API Docs for map keys.

Source
run(name, container, client)

Specs:

Create and start a container with a specific name.

See API Docs for map keys.

Source
start(container, client)

Specs:

Start a container in a stopped state

Source
stop(container, client)

Specs:

stop a container in a running state

Source
top(container, client)

Specs:

List processes running inside the container

See API Docs for information on the body.

Source
unpause(container, client)

Specs:

Unpause the container

Source