diff --git a/README.md b/README.md index 759446c..b1c0469 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,15 @@ be mounted under `/opt/www/files/` and port `80` (root) or `8080` (rootless)) of to a proper port on host. A proper run would look like: root + +```Bash +docker run -p 8080:80 -v /path/to/my/files/:/opt/www/files/ git.aroy-art.com/aroy/nginx-file-browser:latest ``` -$ docker run -p 8080:80 -v /path/to/my/files/:/opt/www/files/ mohamnag/nginx-file-browser -``` + rootless: -``` -$ docker run -p 8080:8080 -v /path/to/my/files/:/opt/www/files/ mohamnag/nginx-file-browser + +```Bash +docker run -p 8080:8080 -v /path/to/my/files/:/opt/www/files/ git.aroy-art.com/aroy/nginx-file-browser:latest ``` With container up and running you can point your browser to IP of docker host with given port to view the files. For example with above run command assuming docker host having IP with `192.168.0.200` we have to navigate to this URL: