summaryrefslogtreecommitdiffstats
path: root/run/run-ssh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run/run-ssh.sh')
-rw-r--r--run/run-ssh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/run-ssh.sh b/run/run-ssh.sh
index c467334..8e3dfdb 100644
--- a/run/run-ssh.sh
+++ b/run/run-ssh.sh
@@ -10,4 +10,4 @@ echo " ssh -L $ssh_port:localhost:$ssh_port $(hostname)"
echo " and connect locally "
echo " ssh -p $ssh_port localhost"
-podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p ${ssh_port}:2222/tcp -v ~/ccpi/data:/ccpi/data localhost/${image} /usr/sbin/sshd -D -p 2222
+podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p ${ssh_port}:2222/tcp $volumes localhost/${image} /usr/sbin/sshd -D -p 2222