mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
docs(readme) add docker
This commit is contained in:
parent
48775ff050
commit
bdc68756a2
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -82,6 +82,17 @@ app.use(cloudcmd({
|
|||
server.listen(PORT);
|
||||
```
|
||||
|
||||
Docker
|
||||
---------------
|
||||
`Cloud Commander` could be used as [docker container](https://hub.docker.com/r/coderaiser/cloudcmd/ "Docker container") this way:
|
||||
|
||||
```sh
|
||||
docker run -v ~:/root -v /:/mnt/fs -it -p 8000:8000 coderaiser/cloudcmd
|
||||
```
|
||||
|
||||
Config would be read from home directory, hosts root file system would be mount to `/mnt/fs`,
|
||||
`8000` port would be exposed to hosts port.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue