Skip to content

Commit

Permalink
Remove privileged mode and add --rm flag in docker running
Browse files Browse the repository at this point in the history
- These changes were made because due to older version of docker in jenkins. Now, they are reverted to the old state.
  • Loading branch information
iathmika committed May 12, 2022
1 parent 99e62c9 commit 094970e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker-execute
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export DOCKER_UID=$(id -u)
export DOCKER_GID=$(id -g)

touch .core-bash_history
docker run --privileged=true -dit \
docker run -dit --rm \
--user "$(id -u):$(id -g)" \
-v "/etc/group:/etc/group:ro" \
-v "/etc/passwd:/etc/passwd:ro" \
Expand Down

0 comments on commit 094970e

Please sign in to comment.