Skip to content

Commit

Permalink
cap-add=SYS_ADMIN
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed Nov 2, 2023
1 parent a5aca6b commit ed72c1d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ function createChromeDockerTarget({
const execute = getExecutor(dockerWithSudo);

if (!chromeDockerWithoutSeccomp) {
runArgs.push(`--security-opt=seccomp=${__dirname}/docker-seccomp.json`);
runArgs.push(`--name=chrome`);
runArgs.push(`--cap-add=SYS_ADMIN`);
}
runArgs.push('--add-host=host.docker.internal:host-gateway');

Expand Down

0 comments on commit ed72c1d

Please sign in to comment.