From 54b4997f2631181725c65607def359352ddb8798 Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Wed, 30 Aug 2017 00:16:35 -0400 Subject: [PATCH 1/2] added note about mounting volumes with uid other than 1000 --- groovy/content.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/groovy/content.md b/groovy/content.md index 645c9f7cb..971d30a88 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:latest` ## Running a Groovy script -`docker run --rm -v "$PWD":/scripts -w /scripts --name groovy groovy:alpine groovy