diff options
Diffstat (limited to 'run/run.sh')
-rw-r--r-- | run/run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |