From fd7bfc598e419ac253a3e85ae69b10ecf8fbca26 Mon Sep 17 00:00:00 2001 From: dastansam Date: Mon, 8 Apr 2024 21:29:58 +0200 Subject: [PATCH] Update docker run docs --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c1884b3..a1e663d 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,17 @@ Docker: # Ready to use docker image docker run -it -p 9944:9944 kingleard/iso8583-chain --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker -# Build docker image +# Build docker image MacOS (M1) +docker build --platform linux/x86_64 -t iso8583-chain . + +# Build docker image Linux docker build -t iso8583-chain . -# Run docker image -docker run -it -p 9944:9944 iso8583-chain --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker +# Run docker image MacOS (M1) +docker run --platform=linux/x86_64 -it -p 9944:9944 iso8583-chain:latest --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker + +# Run docker image Linux +docker run -it -p 9944:9944 iso8583-chain:latest --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker ``` ### Offchain Worker