Struct buildah_rs::container::Container [−][src]
pub struct Container { /* fields omitted */ }
Expand description
Instance of a Buildah container. Removed on drop.
Implementations
Creates a new working container, either from scratch or using a specified image as a starting point.
Ideally this would be impl<T: Into<Image>> TryFrom<T> for Container {...}
.
However, core Rust includes the blanket implementation impl<T, U> TryFrom<U> for T where U: Into<T>
.
This causes a name conflict, and hence this workaround is necessary.
Into
Typed implementation of [config
] method…
Typed implementation of [config
] method…
Typed implementation of [config
] method…
Typed implementation of [config
] method…
Copies the contents of a file, URL, or directory into container’s working directory. TODO: support more variations. TODO: try_copy
AsRef
Run a command inside of the container.
Mount working container’s root filesystem.
Unprivileged users must run with buildah unshare
.
Trait Implementations
Removes working container.
Auto Trait Implementations
impl RefUnwindSafe for Container
impl UnwindSafe for Container