1
0
mirror of https://github.com/docker/docs.git synced 2026-11-03 11:12:47 +03:00

Merge pull request #15574 from diogomonica/fixing-race-on-key-backup

Fixing race condition on private key backup how-to
This commit is contained in:
moxiegirl
2015-08-14 11:26:56 -07:00

View File

@@ -45,8 +45,7 @@ The Docker client stores the keys in the `~/.docker/trust/private` directory.
Before backing them up, you should `tar` them into an archive:
```bash
$ tar -zcvf private_keys_backup.tar.gz ~/.docker/trust/private
$ chmod 600 private_keys_backup.tar.gz
$ umask 077; tar -zcvf private_keys_backup.tar.gz ~/.docker/trust/private; umask 022
```
## Lost keys