1. 21
  1.  

  2. 2

    Hi Chris! Super nice article! Definitely bookmarked to share with friends or newcomers!

    In addition, I’d set the executable as an entrypoint and add CMD in addition with default (so the image can be used as it was the executable (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#entrypoint) and do docker run -ti --rm toto -v which would pass the -v arg to the exec.

    1. 1

      Thank you!

      I’ll try out your suggestion.