Force docker image to use --non-interactive

This commit is contained in:
Bruno Clermont 2017-11-18 11:22:45 +08:00
parent e03be11a0e
commit 81ac0e91cb
2 changed files with 1 additions and 4 deletions

View File

@ -47,4 +47,4 @@ VOLUME /wallet
EXPOSE 18080
EXPOSE 18081
ENTRYPOINT ["monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=127.0.0.1", "--rpc-bind-port=18081"]
ENTRYPOINT ["monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=127.0.0.1", "--rpc-bind-port=18081", "--non-interactive"]

View File

@ -144,9 +144,6 @@ Installing a snap is very quick. Snaps are secure. They are isolated with all of
# or in background
docker run -it -d -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
**Warning** make sure to use `tty: true` with `docker-compose`, if `monerod` don't have a tty it will exit once it's initialized.
Packaging for your favorite distribution would be a welcome contribution!
## Compiling Monero from Source