Skip to content

Commit

Permalink
Automatically remove the named container to allow reruns
Browse files Browse the repository at this point in the history
  • Loading branch information
e-tmplr authored and eboasson committed Mar 12, 2024
1 parent 1db30a1 commit dcd6eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker/build_cyclonedds.sh
Expand Up @@ -21,6 +21,6 @@ echo "WORKSPACE is $WORKSPACE"

docker run -it --rm -v $WORKSPACE/:/cyclonedds --workdir /cyclonedds $IMAGE_NAME /bin/bash -c "./scripts/build.sh clean"
# Launch the docker after build
docker run --name $CONTAINER_NAME -it -v $WORKSPACE/:/cyclonedds --workdir /cyclonedds $IMAGE_NAME /bin/bash
docker run --name $CONTAINER_NAME -it --rm -v $WORKSPACE/:/cyclonedds --workdir /cyclonedds $IMAGE_NAME /bin/bash
# If you want to connect to the above docker to run cyclonedds examples (multiple apps in separate terminals) , use the below command
# docker exec -it cyclonedds /bin/bash

0 comments on commit dcd6eba

Please sign in to comment.