Skip to content

A tool to use docker / podman / oci containers with rust

License

Notifications You must be signed in to change notification settings

reenigneEsrever92/contain-rs

Repository files navigation

Test

contain-rs

A tool to use docker and podman containers with rust.

For usage take a look at the Documentation

Quick Start

Add containers to your Cargo.toml

[dependencies]
contain-rs = "0.2"

Create a client and start a container:

use contain_rs::*;

let docker = Docker::new();

let container = Container::from_image(Image::from_name("docker.io/library/nginx"));

let handle = docker.create(container);

handle.run();
handle.wait();
handle.rm();

About

A tool to use docker / podman / oci containers with rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages