cargo-docker-0.2.0 is not a library.
cargo-docker
A cargo subcommand to build Rust code inside docker and get the result back.
It's useful to build binary with other environment. As example, you can build binary for CentOS
inside Ubuntu
.
Usage
To use cargo-docker
you should type the following:
Important
This command uses docker without sudo and you have to get rights to use docker.
Add docker
group:
Not necessary if you have installed new version of docker.
Add yourself to docker
group:
Login again to update user flags.