Use read-only root for docker containers.
This commit is contained in:
@@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
function main {
|
||||
make --directory "$DIR/../docker"
|
||||
exec docker run --init --rm --publish 3000:3000/tcp org-investigation
|
||||
exec docker run --init --rm --read-only --mount type=tmpfs,destination=/tmp --publish 3000:3000/tcp org-investigation
|
||||
}
|
||||
|
||||
main "${@}"
|
||||
|
||||
Reference in New Issue
Block a user