-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Trying to run the easytrade application in my enterprise with these constraints : readOnlyFilesystem: true
and runAsNonRoot : true
.
I modified all the deployment manifests to work with these constraints, except one service : loadgen
(which I am forced to run outside the cluster)
This is because the loadgen
image is currently configured to run as root only
Describe the solution you'd like
Make changes to the Dockerfile to run loadgen
as non-root
Describe alternatives you've considered
Tried passing --no-sandbox
to the container (as per this), but it didn't work
Additional context
Logs from the container when run as non-root
docker run -it --read-only --env XDG_CACHE_HOME='/tmp/.chromium' --env XDG_CONFIG_HOME='/tmp/.chromium' --tmpfs /tmp --env EASYTRADE_URL=$URL -u 1000 europe-docker.pkg.dev/dynatrace-demoability/docker/easytrade/loadgen:latest
[2025-05-31 04:19:31+00:00][INFO]: Creating and starting [5] workers
[2025-05-31 04:19:31+00:00][pool:main][INFO]: Starting Browser Context Pool with [1] browsers
[2025-05-31 04:19:31+00:00][pool:main][INFO]: Staring [1] new browsers with TTL [3600s].
[2025-05-31 04:19:31+00:00][pool:main][WARN]: Failed to start [1/1] browsers
[2025-05-31 04:19:31+00:00][pool:main][INFO]: Browser Context Pool is now active.
[2025-05-31 04:19:31+00:00][pool:main][INFO]: Staring [1] new browsers with TTL [3600s].
[2025-05-31 04:19:31+00:00][worker:0][WARN]: Worker had error getting browser context [Error: The [main] pool has no active browsers running.]
[2025-05-31 04:19:31+00:00][worker:1][WARN]: Worker had error getting browser context [Error: The [main] pool has no active browsers running.]
``
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request