Struct shiplift::Container

source ·
pub struct Container<'a, 'b> { /* private fields */ }
Expand description

Interface for accessing and manipulating a docker container

Implementations§

Exports an interface exposing operations against a container instance

a getter for the container id

Inspects the current docker container instance’s details

Returns a top view of information about the container process

Returns a stream of logs emitted but the container instance

Attaches to a running container, returning a stream that can be used to interact with the standard IO streams.

Attaches to a running container, returning a stream that can be used to interact with the standard IO streams.

Returns a set of changes made to the container instance

Exports the current docker container into a tarball

Returns a stream of stats specific to this container instance

Start the container instance

Stop the container instance

Restart the container instance

Kill the container instance

Rename the container instance

Pause the container instance

Unpause the container instance

Wait until the container stops

Delete the container instance

Use remove instead to use the force/v options.

Delete the container instance (todo: force/v)

Exec the specified command in the container

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.