diff options
author | Bruno Clermont <bruno@robotinfra.com> | 2017-11-18 11:22:45 +0800 |
---|---|---|
committer | Bruno Clermont <bruno@robotinfra.com> | 2017-11-18 11:22:45 +0800 |
commit | 81ac0e91cb7302461020eacd1ba5103ceb10cf4a (patch) | |
tree | d7a43f6537ba8b320edc811aa28d364600e7edeb | |
parent | fix and improve docker image, add doc for docker-compose (diff) | |
download | monero-81ac0e91cb7302461020eacd1ba5103ceb10cf4a.tar.xz |
Force docker image to use --non-interactive
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | README.md | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile index 5f0097be0..329d4f75d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] @@ -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 |