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.
docker run -ti --rm toto -v
Thank you!
I’ll try out your suggestion.
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 -vwhich would pass the -v arg to the exec.Thank you!
I’ll try out your suggestion.