= Rust/DockerContainer = * Rust options - [[https://kerkour.com/rust-small-docker-image]] * distroless/cc - 40Mb provides libc - works well with rust * scratch - realsmall - requires rust build against musl - issues with mem SSL etc. * Alpine - musl + busybox - apk package manager * Debian-slim 80Mb - * E.g. rust container multistage, and Alpine musl * https://blog.logrocket.com/packaging-a-rust-web-service-using-docker/ * From youtube video - build container with config in rust Cargo.toml * https://github.com/denzp/cargo-wharf * Build with rust container, deploy debian:slim ~ 200MB * https://www.docker.com/blog/simplify-your-deployments-using-the-rust-official-image/