Docker Community Forums

Share and learn in the Docker community.

Start dockerd on a read only mounted disk - fails due missing key.json file

(Neeo) #1


I try to start dockerd on a system with read only mounted disk, which results in this error

Error starting daemon: Error saving key file: open /etc/docker/.tmp-key.json066578129: read-only file system

There are a couple of options to define the location of daemon.json, tls certificate files etc. but no setting to define the location of the key.json.

The machine has rw mounted partitions - so what I need is to select another file path.

Is this possible?

Thanks and cheers