mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-20 21:39:22 +00:00
Add short inline explanation for -w (#291)
I don't know, but maybe having this short explanation saves a `docker run --help` for someone. Tell me if it's too much :D
This commit is contained in:
committed by
Jérôme Petazzoni
parent
817e17a3a8
commit
8c3d4c2c56
@@ -195,7 +195,7 @@ Let's start another container using the `webapps` volume.
|
||||
$ docker run -v webapps:/webapps -w /webapps -ti alpine vi ROOT/index.jsp
|
||||
```
|
||||
|
||||
Vandalize the page, save, exit.
|
||||
Where `-w` sets the working directory inside the container. Vandalize the page, save and exit.
|
||||
|
||||
Then run `curl localhost:1234` again to see your changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user