Docker

How to use goshs with docker

There is an official goshs image at the Docker Hub. You can pull the image:

docker pull patrickhener/goshs

And then use it like:

docker run --rm -it -p 8000:8000 -v "$PWD:/pwd" patrickhener/goshs:latest -d /pwd
Info

Make sure to point -v to the directory you want to expose and adjust -p if you are changing the default port.

Warning

Files will be uploaded to /root inside the container and will not be accessible via the mounted volume, unless you specify -uf /pwd to match the folder specified with -d.