aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Clermont <bruno@robotinfra.com>2017-11-18 11:22:45 +0800
committerBruno Clermont <bruno@robotinfra.com>2017-11-18 11:22:45 +0800
commit81ac0e91cb7302461020eacd1ba5103ceb10cf4a (patch)
treed7a43f6537ba8b320edc811aa28d364600e7edeb
parentfix and improve docker image, add doc for docker-compose (diff)
downloadmonero-81ac0e91cb7302461020eacd1ba5103ceb10cf4a.tar.xz
Force docker image to use --non-interactive
-rw-r--r--Dockerfile2
-rw-r--r--README.md3
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"]
diff --git a/README.md b/README.md
index b200d0e32..2dec65465 100644
--- a/README.md
+++ b/README.md
@@ -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