Docker - rejetto/hfs GitHub Wiki
Best way to run HFS on Docker is to refer this dedicated project: https://github.com/damienzonly/hfs-docker
An alternative way is to run: docker run -p 8000:80 -it --rm -v /folderOnComputer:/root/.hfs/share -e "HFS_CREATE_ADMIN=passwordforhfs" node:alpine npx -y hfs@latest
This is a quick and limited way to run HFS. You should replace /folderOnComputer with a folder you want to make accessible.
Now you should be able to point your browser at http://localhost:8000/
.
The Admin-panel will be accessible at http://localhost:8000/~/admin
where you can log in with "admin" and "passwordforhfs".
You can replace @latest with @beta if you are bold enough. For further information please refer to Docker's documentation.