From 81ac0e91cb7302461020eacd1ba5103ceb10cf4a Mon Sep 17 00:00:00 2001
From: Bruno Clermont <bruno@robotinfra.com>
Date: Sat, 18 Nov 2017 11:22:45 +0800
Subject: [PATCH] Force docker image to use --non-interactive

---
 Dockerfile | 2 +-
 README.md  | 3 ---
 2 files changed, 1 insertion(+), 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