Skip to content

Commit

Permalink
docker: Add --rm to the docker run line
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso authored and patrickelectric committed May 17, 2024
1 parent 16b3392 commit ec2c88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build_and_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ cross build --release --target=x86_64-unknown-linux-gnu
docker build -t $USER/mavlink-camera-manager:$(git rev-parse HEAD) -f ./docker/Dockerfile .

# Run
docker run -it --net=host $USER/mavlink-camera-manager:$(git rev-parse HEAD)
docker run --rm -it --net=host $USER/mavlink-camera-manager:$(git rev-parse HEAD)

0 comments on commit ec2c88a

Please sign in to comment.