我有一个 docker 注册表,我正在 nginx 代理后面访问该注册表,该代理使用客户端 ssl 证书进行身份验证。
当我尝试推送到此注册表时,我需要 docker 守护进程将客户端证书发送到 nginx。
根据: https: //docs.docker.com/engine/security/certificates/
应该有一个名为 /etc/docker 的目录,这些证书可以存放在其中。Docker for Mac 上不存在此目录。
所以我想我应该尝试将证书放入虚拟机本身中,方法是:
docker-machine ssh 默认
这导致 docker 抱怨:来自守护程序的错误响应:crypto/tls:私钥与公钥不匹配
我不相信我的密钥对有什么问题,而且我已经在 Linux 上完成了相同的设置(更容易),没有任何问题。
如何将按钮置于 div 中的 tailwind 中心?
\n我努力了:
\n在所有情况下,按钮都卡在左侧。\n\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\nh2 和p中心没问题。
\n<div class="container py-10 px-10 mx-0 min-w-full" className="contactdiv">\n <h2 class="text-5xl text-white text-center">Contact Us</h2>\n\n <br />\n <p class="text-center text-white">Kickstart your career in BioPharma with the Mendeleev Institute right now</p>\n <button class="bg-purple-900 text-white hover:bg-blue-400 font-bold py-2 px-4 mt-3 rounded items-center">Learn More</button>\n</div>\nRun Code Online (Sandbox Code Playgroud)\n