Docker Community Forums

Share and learn in the Docker community.

Quickstart failing on unable to write random state

Hi all,

I am trying to get docker running on my machine. First contact to docker … v19.03.1
So I downloaded Docker Toolbox (running windows 10 home) and installed the package. But docker quickstart hangs on
(default) Waiting for an IP…

I tried running with admin rights, without, removed the vm and started over, installed newest Virtualbox 6.1.6, started over, tried using git bash
docker-machine rm -y default
docker-machine create --driver virtualbox default

but no success :frowning:
in Google I found a lot of tips but struggling to apply the most. ok, also had a look at error messages in VBox:
Generating RSA private key, 4096 bot long modulus
…++++
…++++
unable to write ´random state´

more detailed at bottom

So the best hit I found was that RNDFILE need to be set, but here I am struggling also, where do I have to set that ?

would be super if someone has an idea how to set docker up correct
Thanks for reading and have fun :wink:
Chris

first log from docker quickstart terminal:

Creating CA: C:\Users\chris.docker\machine\certs\ca.pem
Creating client certificate: C:\Users\chris.docker\machine\certs\cert.pem
Running pre-create checks…
(default) Image cache directory does not exist, creating it at C:\Users\chris.docker\machine\cache…
(default) No default Boot2Docker ISO found locally, downloading the latest release…
(default) Latest release for github.com/boot2docker/boot2docker is v19.03.5
(default) Downloading C:\Users\chris.docker\machine\cache\boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso
(default) 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
Creating machine…
(default) Copying C:\Users\chris.docker\machine\cache\boot2docker.iso to C:\Users\chris.docker\machine\machines\default\boot2docker.iso…
(default) Creating VirtualBox VM…
(default) Creating SSH key…
(default) Starting the VM…
(default) Check network to re-create if needed…
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(default) Waiting for an IP…
Error creating machine: Error in driver during machine creation: Maximum number of retries (5) exceeded
Looks like something went wrong in step ´Checking if machine default exists´… Press any key to continue…

and now from VM
.
.
.
Generating /usr/local/etc/ssh/ssh_host_ed25519_key
acpid: starting up with netlink and the input layer
acpid: 1 rule loaded
acpid: waiting for events: event logging is off
Linking /etc/docker to /var/lib/boot2docker for persistence
Generating RSA private key, 4096 bot long modulus
…++++
…++++
unable to write ´random state´
e is 65537 (0x10001)
Generating /var/lib/boot2docker/tls/ca.pem
Generating /var/lib/boot2docker/tls/serverkey.pem
Generating RSA private key, 4096 bot long modulus
…++++

…++++
unable to write ´random state´
e is 65537 (0x10001)
Generateing /var/lib/boot2docker/tls/server.pem
Signature ok
subject=/0=Boot2Docker/CN=boot2docker
Getting CA Private Key
unable to write ´random state´
Generating /var/lib/boot2docker/tls/clientkey.pem
Generating RSA private key, 4096 bot long modulus
…++++

…++++
unable to write ´random state´
e is 65537 (0x10001)
Generating /var/lib/boot2docker/tls/client.pem
Signature OK
subject=/0=Boot2Docker
Getting CA Private Key
unable to write ´random state´
Starting dockerd

I’m having the same issue.