How to ignore certificate errors in Boot2Docker on windows

前端 未结 2 935
渐次进展
渐次进展 2021-02-02 01:44

I have boot2docker 1.4.1 running on windows via virtualbox. I am behind a proxy that MITMs https certificates. I configured proxy by adding the following lines in /var/lib

2条回答
  •  鱼传尺愫
    2021-02-02 02:11

    If you have Docker for Windows on Windows 10, and you're getting the "x509: certificate signed by unknown authority" error, you can try this:

    1. Run Docker for Windows.
    2. After some time, you'll see the docker icon in the Windows notification area (bottom right)
    3. Right-click the icon and select "Settings..."
    4. The settings window will open. Select "Docker Daemon" on the left.
    5. Add your private registry to the "insecure-registries" collection in the textbox that shows the configuration in JSON format. Then click "Apply".

提交回复
热议问题