hello-world-service/run_docker/start_docker.sh

10 lines
156 B
Bash
Executable File

#!/bin/sh
set -a
. ./docker.conf
echo "Docker image $DOCKER_IMAGE"
docker pull $DOCKER_IMAGE
docker run -d -p 9991:8080 --name $NAME $DOCKER_IMAGE
set +a