summaryrefslogtreecommitdiffstats
path: root/run/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run/run.sh')
-rw-r--r--run/run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run/run.sh b/run/run.sh
index 5ebb075..0010e1d 100644
--- a/run/run.sh
+++ b/run/run.sh
@@ -2,4 +2,5 @@
set -o errexit
-podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -v ~/ccpi/data:/ccpi/data localhost/ccpi bash
+port="$(($(id -u) - 900))22"
+podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $port:2222/tcp -v ~/ccpi/data:/ccpi/data localhost/ccpi bash