summaryrefslogtreecommitdiffstats
path: root/run/run.sh
blob: eae1cec0e196c730336b0757d02fc683322b706f (plain)
1
2
3
4
5
6
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 $volumes localhost/${image} sh -c '[ -f /usr/bin/supervisord ] && python /usr/bin/supervisord; /bin/bash'