mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
docs(readme) Docker: add -w workdir option
This commit is contained in:
parent
551f0753e8
commit
e6195302e2
2 changed files with 2 additions and 2 deletions
2
HELP.md
2
HELP.md
|
|
@ -765,7 +765,7 @@ Docker
|
|||
`Cloud Commander` could be used as [docker container](https://hub.docker.com/r/coderaiser/cloudcmd/ "Docker container") this way:
|
||||
|
||||
```sh
|
||||
docker run -t --rm -v ~:/root -v /:/mnt/fs -p 8000:8000 coderaiser/cloudcmd
|
||||
docker run -t --rm -v ~:/root -v /:/mnt/fs -w=/root -p 8000:8000 coderaiser/cloudcmd
|
||||
```
|
||||
|
||||
Config would be read from home directory, hosts root file system would be mount to `/mnt/fs`,
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ Docker
|
|||
`Cloud Commander` could be used as a [docker container](https://hub.docker.com/r/coderaiser/cloudcmd/ "Docker container") this way:
|
||||
|
||||
```sh
|
||||
docker run -t --rm -v ~:/root -v /:/mnt/fs -p 8000:8000 coderaiser/cloudcmd
|
||||
docker run -t --rm -v ~:/root -v /:/mnt/fs -w=/root -p 8000:8000 coderaiser/cloudcmd
|
||||
```
|
||||
|
||||
Config would be read from home directory, hosts root file system would be mount to `/mnt/fs`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue