summaryrefslogtreecommitdiffstats
path: root/run/run.sh
blob: eabb633baf30623afd80222e0fab3b1c22d8abb3 (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 ${image} sh -c '[ -f /usr/bin/supervisord ] && python /usr/bin/supervisord; /bin/bash'