diff options
author | Suren A. Chilingaryan <csa@ipecompute2.ands.kit.edu> | 2020-11-09 20:16:44 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@ipecompute2.ands.kit.edu> | 2020-11-09 20:16:44 +0100 |
commit | 28190b6d4664508ad8b1cf88a82378b02f487cfa (patch) | |
tree | 8bb6f21b9feb1013f67a4c1a147c95c4ff976fc4 /run/run.sh | |
parent | 8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 (diff) | |
download | ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.tar.gz ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.tar.bz2 ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.tar.xz ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.zip |
Support ssh server for remote debugging
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 |