This commit is contained in:
Your Name
2025-04-21 20:34:48 +12:00
parent 2e652be9f9
commit b53e0f6654
7 changed files with 106 additions and 4 deletions

View File

@ -13,3 +13,10 @@ DOCKER_RUN_CMD="docker run -d \
if ! create_and_start_container "$DOCKER_RUN_CMD"; then
die "Failed to start container ${CONTAINER_NAME}"
fi
# Check if the container is running
if ! _is_container_running "$CONTAINER_NAME"; then
die "Container ${CONTAINER_NAME} is not running"
fi
echo "Container ${CONTAINER_NAME} started"