From 43291222a2a8c1dcda854d33bb078fee502ee51d Mon Sep 17 00:00:00 2001 From: hrj Date: Wed, 18 Jan 2023 20:07:01 +0530 Subject: [PATCH] README: explain podman usage and publish ports in example --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c811e38..d1afadc 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,18 @@ docker-compose up Using `docker`: ``` -docker run -v lcdata:/lc-core/data librecaptcha/lc-core:2.0 +docker run -p=8888:8888 -v ./lcdata:/lc-core/data librecaptcha/lc-core:2.0 ``` A default `config.json` is automatically created in the mounted volume. +The above commands should work with `podman` as well, if docker.io registry is pre-configured. Otherwise, +you can manually specify the repository like so: + +``` +podman run -p=8888:8888 -v ./lcdata:/lc-core/data docker.io/librecaptcha/lc-core:2.0 +``` + ## Quick test Open [localhost:8888/demo/index.html](http://localhost:8888/demo/index.html) in browser.