FLARE-forecast / FLARE-containers

Docker containers to run FLARE forecast
0 stars 2 forks source link

Container name, container directory name, and image name #31

Open vahid-dan opened 3 years ago

vahid-dan commented 3 years ago

Container name, container directory name, and image name are chained together and that makes the setup less flexible for running multiple instances of the same image:

CONTAINER_NAME=$(basename ${__dir})
docker run --rm -v ${DIRECTORY_HOST_SHARED}:${DIRECTORY_CONTAINER_SHARED} ${DOCKERHUB_ID}/${CONTAINER_NAME}:${CONTAINER_VERSION} ${DIRECTORY_CONTAINER}/${CONTAINER_SCRIPT} ${CONTAINER_NAME}