Docker-compose : What is /dev/urandom used for?


I'm currently setting up Metabase using Docker and docker-compose. I use the docker-compose file given as an example on the official Metabase website (with a bit of customization of course) and it works fine for me.

However, I'm a bit confused as to why I need to mount this volume onto my container :

  - "/dev/urandom:/dev/random:ro"

Is it a vital component for Metabase ? Wouldn't my container work fine without this volume ?

Thanks in advance.

this is for exposing to the container the randomness of the host to overcome this possible issue Metabase starts super slow if entropy is exhausted (10+min) · Issue #10175 · metabase/metabase · GitHub

Ok I see. So if I don't use it the container might be slow to start.

Thank you for your answer !