Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative to mounting /dev/shm volume in Selenium Grid AWS Fargate setup

Because AWS Fargate is stateless and does not currently support any sort of persistence (that I know of or was able to find), I am running into an issue with my Selenium Grid setup. When I had the grid running in Docker, I did what most people seem to be doing and mounted the /dev/shm volume of the node container to the host. Unfortunately this is not possible using Fargate. Has anyone figured out a solution to this issue?

like image 687
Mike B. Avatar asked Nov 29 '25 07:11

Mike B.


1 Answers

Currently AWS Fargate doesn't supports privileged mode and mounting of devices from underline docker host.

As of now there is no way to mount /dev/shm from docker host to container in Fargate.

It is advisable to use EC2 Launch type to support this functionality.

like image 192
Mangal Avatar answered Dec 02 '25 00:12

Mangal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!