You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker run --rm php:7.0-alpine php -r "random_int(0, 1);"
Fatal error: Uncaught Exception: Could not gather sufficient random data in Command line code:1
Stack trace:
#0 Command line code(1): random_int(0, 1)
#1 {main}
thrown in Command line code on line 1
Whereas the same call to other version (like php 7.1-alpine or 7.0) works $ docker run --rm php:7.1-alpine php -r "random_int(0, 1);" $ docker run --rm php:7.0 php -r "random_int(0, 1);"