From 8b032f0c558bb5c91930e4583408d06f935f6005 Mon Sep 17 00:00:00 2001 From: Ilya Evdokimov Date: Mon, 19 May 2025 14:16:10 +0200 Subject: [PATCH] Docker-only section --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c961322..33c0413 100644 --- a/README.md +++ b/README.md @@ -65,24 +65,24 @@ Then in a different terminal window: npm test ``` -### Docker & Podman +### Docker An alternative way to start tinkering with Pubky is to build an isolated container and run it locally. Here is an example command how to build an image: ```bash -podman build --build-arg TARGETARCH=x86_64 -t pubky:core . +docker build --build-arg TARGETARCH=x86_64 -t pubky:core . ``` A command for running it in isolated environment with log output: ```bash -podman run -it pubky:core +docker run -it pubky:core ``` Some more optional arguments could allow to run it in the background but the most important is `--network=host` which allows container to access network and provide admin endpoint accessible from the host machine. Please refer to -Docker/Podman documentation for extended options. +Docker documentation for extended options. ## Links