Docker - rejetto/hfs GitHub Wiki
The best way to run HFS on Docker is to refer to 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. Replace /folderOnComputer with the 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, refer to Docker's documentation.