docker engine 使用 certificate

  1. 把 cerfificate 檔 (.crt) 放到

    /etc/docker/certs.d/[domain]

    路徑下,例如

    /etc/docker/certs.d/registry.jasonsoft.local:5000/ca.crt

  2. 然後重啟docker service docker restart