Sign inSign up

enricomariam42/file-browser

By enricomariam42

•Updated almost 8 years ago

file-browser

Image
0

361

enricomariam42/file-browser repository overview

⁠file-browser

⁠Features:

  • Tomcat istance configured to browse a folder

⁠How to use this image.

⁠Super simple use:
docker run \
    -p 8080:8080 \
    enricomariam42/file-browser
⁠Tipical use:

Create a volume with the folder to browse

docker volume create --driver local \
    --opt device=/path/to/my/share/ \
    --opt type=none \
    --opt o=bind \
    file-browser-data

Create the container

docker create -d --restart=always \
    -p 80:8080 \
    -h file-browser \
    --name file-browser \
    --mount source=file-browser-data,target=/var/file-browser \
    enricomariam42/file-browser

Start the container

docker start file-browser
⁠Optional:

Define and link a custom style.xsl

    --mount type=bind,source=/path/to/my/custom/style.xsl,target=/usr/local/tomcat/conf/style.xml \

Define and link a custom description

    --mount type=bind,source=/path/to/my/custom/insert.txt,target=/tmp/insert.txt \

Tag summary

Content type

Image

Digest

Size

68.2 MB

Last updated

almost 8 years ago

docker pull enricomariam42/file-browser