2017-01-04 15 views
0

有一個問題,當我嘗試創建一個新的Ubuntu 16.04 x64容器:無法創建一個新的形象(X509錯誤)

$ sudo lxc --version 
2.0.3 

$ sudo lxc launch images:ubuntu/xenial/amd64 my-container 
error: Get https://images.linuxcontainers.org:8443/1.0/images/ubuntu/xenial/amd64: x509: certificate is valid for images.linuxcontainers.org, uk.images.linuxcontainers.org, us.images.linuxcontainers.org, not *.linuxcontainers.org 

我從14.04 x64 Ubuntu的機器上運行這一點。該錯誤消息似乎有點曖昧,因爲它指定主機images.linuxcontainers.org在有效的服務器列表,這是在同一臺服務器的Get命令操作它反對(除非該港口是重要的?)

我怎麼能得到這個上班?

sudo lxc launch ubuntu:xenial/amd64 my-container 

然而,文檔狀態我可以使用images:... URI:https://linuxcontainers.org/lxd/getting-started-cli/#using-the-built-in-image-remotes

回答

0

好吧,當我改變形象URI它的工作原理,例如出現。 10

lxc launch images:ubuntu/xenial/amd64 my-container 

enter image description here