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.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run/run.sh') diff --git a/run/run.sh b/run/run.sh index bdfade3..55b5b21 100644 --- a/run/run.sh +++ b/run/run.sh @@ -4,4 +4,4 @@ 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 +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} sh -c '[ -f /usr/bin/supervisord ] && python2 /usr/bin/supervisord; /bin/bash' -- cgit v1.2.3