kubemq-io / kubemq-community

KubeMQ is a Kubernetes native message queue broker

Home Page:https://kubemq.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random limits docker

roger-castaldo opened this issue · comments

Hi, I came across a problem when doing some testing against the kubemq community docker image in that /dev/random kept hitting ulimits when running the docker on a linux machine. The solution was to add below to the docker run command line, it forces /dev/random to point to /dev/urandom which has less limitations. I suggest adding it to the readme for anyone running this docker image on a linux machine. On windows there was no issue.

-v /dev/urandom:/dev/random