Merge branch 'release/1.0.1'

This commit is contained in:
Luis Miguel Vicente Fuentes 2018-02-28 20:10:58 +01:00
commit 0263898978

View File

@ -17,3 +17,23 @@ Docker documentation: https://docs.docker.com/
- build docker image `docker build -t monit .` - build docker image `docker build -t monit .`
- start monit: `docker run -ti -p 2812:2812 -v $(pwd)/monitrc:/etc/monitrc monit` - start monit: `docker run -ti -p 2812:2812 -v $(pwd)/monitrc:/etc/monitrc monit`
### Docker Hub image
- pull docker image from docker hub: `docker pull kijart/monit`
- download a video using docker image: `docker run -ti -p 2812:2812 -v $(pwd)/monitrc:/etc/monitrc kijart/monit`
- create a docker container:
```
docker create \
--name=monit \
-p 2812:2812 \
-v $(pwd)/monitrc:/etc/monitrc \
kijart/monit
```
### Troubleshooting
If when starting Monit returns the following message: `The control file '/etc/monitrc' permission 0755 is wrong, maximum 0700 allowed`, simply give the appropriate permissions to _monitrc_: `chmod 700 monitrc`.