Skip to content

noahgift/rust-docker-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example of Rust command-line tool running inside a Docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published