Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.37 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.37 KB

Clippy Tests Rustfmt

rust command-line tool in Docker container

An example of a tiny Rust command-line tool in a Docker container. About 83.8MB in size.

Usage

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

References