docs(readme) add docker

This commit is contained in:
coderaiser 2016-03-05 05:24:26 -05:00
parent 48775ff050
commit bdc68756a2

View file

@ -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