在线文档教程
Docker 17
机器 | Machine

docker机器再生 | docker-machine regenerate-certs

docker-machine再生证书

Usage: docker-machine regenerate-certs [OPTIONS] [arg...] Regenerate TLS Certificates for a machine Description: Argument(s) are one or more machine names. Options: --force, -f Force rebuild and do not prompt

重新生成TLS证书并使用新证书更新机器。

例如:

$ docker-machine regenerate-certs dev Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y Regenerating TLS certificates

机器再生证书子命令