By default, this container will serve its contents out of /srv/webtorrent, so simply, from the directory you want to share: docker run -it --net=host -v $PWD:/srv/webtorrent wblankenship/webtorrent This image also has entrypoint set, so you can do fancy things like docker run -it wblankenship/webtorrent --help Or any other flag!