Skip to content

Commit bc7f10f

Browse files
committed
Update instructions with volume use
1 parent 415f6a5 commit bc7f10f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ This will make kscript read the code from `stdin` while piping the file. Beware
2020

2121
## Volume
2222

23-
A volume is created for `/root/.kscript` so the JARs are cached between different invocations to containers.
23+
It's highly advisable to create a volume for `/root/.kscript` so the JARs are cached between different invocations to containers.
24+
25+
`docker run -i -v kscript:/root/.kscript serandel/kscript 'println("Hello, world!")'`

0 commit comments

Comments
 (0)