Skip to content

Commit

Permalink
Makes Docker directly handle the SIGINT signal (#2983)
Browse files Browse the repository at this point in the history
Co-authored-by: jean-baptiste-perez-bib <jean-baptiste.perez_ext@michelin.com>
  • Loading branch information
jbaptperez and jean-baptiste-perez-bib committed Jun 6, 2024
1 parent b605d52 commit 8d67374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ RUN apt-get update && \

WORKDIR /usr/src/app

STOPSIGNAL SIGINT

# Default HTTP port for web interface and agent beacons over HTTP
EXPOSE 8888

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ To gracefully terminate your docker container, do the following:
# Find the container ID for your docker container running Caldera
docker ps

# Send interrupt signal, e.g. "docker kill --signal=SIGINT 5b9220dd9c0f"
docker kill --signal=SIGINT [container ID]
# Stop the container
docker stop [container ID]
```

## Contributing
Expand Down

0 comments on commit 8d67374

Please sign in to comment.