moby--moby/api
Derek McGowan 9836162446 Atomically save libtrust key file
The libtrust keyfile which is used to set the "ID" property of a daemon must be generated or loaded on every startup.
If the process crashes during startup this could cause the file to be incomplete causing future startup errors.
Ensure that the file is written atomically to ensure the file is never in an incomplete state.

Fixes #23985

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-06-27 15:54:39 -07:00
..
client Merge pull request #23697 from dongluochen/blockServiceModeChange 2016-06-27 10:53:53 -04:00
fixtures
server Fixing typo on service log output. 2016-06-23 14:54:40 -07:00
types/backend Let client print error when speicify wrong detach keys 2016-04-04 15:35:55 +08:00
README.md
common.go Atomically save libtrust key file 2016-06-27 15:54:39 -07:00
common_test.go fix typos 2016-03-06 00:59:11 +08:00

README.md

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon