From 4db96282d126e10c691474264fcdbeca2398555e Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 11 Nov 2020 06:30:49 +0100 Subject: Add supervisord to run ssh and jupyter in parallel --- run/run-bash.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 run/run-bash.sh (limited to 'run/run-bash.sh') diff --git a/run/run-bash.sh b/run/run-bash.sh new file mode 100644 index 0000000..bdfade3 --- /dev/null +++ b/run/run-bash.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +set -o errexit + +. config.sh + +podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p ${web_port}:8888/tcp -p $ssh_port:2222/tcp -v ~/ccpi/data:/ccpi/data localhost/${image} bash -- cgit v1.2.3