diff --git a/groovy/content.md b/groovy/content.md index 645c9f7cb..f5e3926db 100644 --- a/groovy/content.md +++ b/groovy/content.md @@ -6,21 +6,23 @@ # How to use this image +Note that if you are mounting a volume and the uid running Docker is not `1000`, you should run as user `root` (`-u root`). + ## Starting Groovysh -`docker run -it --rm --name groovy groovy:alpine` +`docker run -it --rm groovy` ## Running a Groovy script -`docker run --rm -v "$PWD":/scripts -w /scripts --name groovy groovy:alpine groovy