From 7172578d056c865a8c531a4620649ea959bccdcb Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Thu, 14 Nov 2024 21:32:43 +0100 Subject: [PATCH] Update: docker images in example commands --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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: