evan-buss/openbooks

How to use DisableBrowserDownloads in Dokcer?

YardWill opened this issue · 1 comments

DisableBrowserDownloads in docker

Add the --no-browser-downloads flag to the run command. How it's set depends on if you are using docker compose nor not.

For docker compose you add it to the commands section:
commands: --persist --no-browser-downloads

For docker run you add it to the end:
docker run -p 8080:80 -v ~/Downloads/openbooks:/books evanbuss/openbooks --persist --no-browser-downloads