Skip to content
Snippets Groups Projects
Commit c8d3cedc authored by GARION Christophe's avatar GARION Christophe
Browse files

[docker] update docker instance name

parent 88b68d0c
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
# usage function
usage () {
echo "Usage: " $0 " [-h|--help] [-i|--id ID] [-t|--tmp TMP_DIR] [options passed to docker]"
echo " Run a docker instance named \"lustrec_docker\" built with image " $CONTAINER_ID " by default."
echo " Run a docker instance named \"lustrec_docker_run\" built with image " $CONTAINER_ID " by default."
echo " Available options:"
echo " - [-i|--id ID] | change container image ID"
echo " - [-t|--tmp TMP_DIR] | change binding for /tmp dir in container. Default to /tmp"
......@@ -54,6 +54,6 @@ done
# launch docker
docker run -it --rm \
--name "lustrec-from-${CONTAINER_ID}" \
--name "lustrec_docker_run" \
-v ${TMP_DIR}:/tmp -v ${PWD}:/home/opam/lustrec \
${CONTAINER_ID} $@
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment