Update: docker images in example commands
This commit is contained in:
parent
6ff402afec
commit
7172578d05
1 changed files with 7 additions and 4 deletions
11
README.md
11
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:
|
to a proper port on host. A proper run would look like:
|
||||||
|
|
||||||
root
|
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:
|
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:
|
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:
|
||||||
|
|
Loading…
Reference in a new issue