diff --git a/packages/target-chrome-docker/src/create-chrome-docker-target.js b/packages/target-chrome-docker/src/create-chrome-docker-target.js index 032a672d..1a1161d3 100644 --- a/packages/target-chrome-docker/src/create-chrome-docker-target.js +++ b/packages/target-chrome-docker/src/create-chrome-docker-target.js @@ -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');