From 82786b245f9ba7428f3818956b9b1ab4d35567b5 Mon Sep 17 00:00:00 2001 From: enesgkdg Date: Sat, 18 Feb 2023 09:51:38 +0300 Subject: [PATCH] access localhost from docker on cloud add readme.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 86466ed..467aeac 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,12 @@ Run the docker image docker run -d --name mevbot mevbot:latest ``` +if someone wants to install juno node in the cloud and use skipper with docker, add "--network=host" to run command to access localhost + +``` +docker run -d --name [CONTAINER_NAME] --network=host [DOCKER_IMAGE] +``` + Shell into container & check logs (if running on terra, log will be logs/terra.log) ``` docker exec -it mevbot cat logs/juno.log