An example of Rust command-line tool running inside a Docker container
CC0-1.0 License
An example of a tiny Rust command-line tool in a Docker container. About 83.8MB in size.
To build the container and run the application:
docker build -t marco-polo .
docker run --rm -it marco-polo --help
You can see full invocation here:
rust-docker-cli git:(main) docker run --rm -it marco-polo play --name Marco
Polo
To find the size of the application:
docker image ls | grep marco-polo
marco-polo latest 7da8a3444176 15 minutes ago 83.8MB