1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/sources/commandline
Marco Hennings 687d27ab57 Add an option to set the working directory.
This makes it possible to simply wrap a command inside a container. This makes
it easier to use a container as an unified build environment.

Examples:

~/workspace/docker
$ docker  run  -v `pwd`:`pwd` -w `pwd` -i -t  ubuntu ls
AUTHORS		 Makefile	archive.go	   changes.go	      docker
[...]


docker  run  -v `pwd`:`pwd` -w `pwd` -i -t  ubuntu pwd
/home/marco/workspace/docker
2013-08-18 19:34:01 +02:00
..
command Add an option to set the working directory. 2013-08-18 19:34:01 +02:00
cli.rst Fix #1517, #1521 by adding sudo to examples and installation. 2013-08-14 16:21:36 -07:00
index.rst Add cp command and copy api endpoint 2013-08-06 16:09:54 +00:00