Update: docker images in example commands

This commit is contained in:
Aroy-Art 2024-11-14 21:32:43 +01:00
parent 6ff402afec
commit 7172578d05
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

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