diff options
Diffstat (limited to 'run/run.sh')
-rw-r--r-- | run/run.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,5 +2,6 @@ set -o errexit -port="$(($(id -u) - 900))22" -podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $port:2222/tcp -v ~/ccpi/data:/ccpi/data localhost/ccpi bash +. 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 |