在阿里云ECS服务器上使用docker-machine创建新的docker虚拟机
[root@izwz9egy22njyfiobf3g9vz bin]# docker-machine create -d aliyunecs dev2
Running pre-create checks...
Creating machine...
(dev2) dev2 | Creating key pair for instance ...
(dev2) dev2 | Configuring security groups instance ...
(dev2) dev2 | Launching instance with generated password, please update password in console or log in with ssh key.
(dev2) dev2 | Creating instance with image ubuntu_160401_64_40G_cloudinit_20161115.vhd ...
Error creating machine: Error in driver during machine creation: dev2 | Failed to create instance: Aliyun API Error: RequestId: 8238D80A-25CA-4A3E-84B1-F84E19DCD54B Status Code: 403 Code: InvalidResourceType.NotSupported Message: This resource type is not supported; please try other resource types.
这说明此镜像 ubuntu_160401_64_40G_cloudinit_20161115.vhd ... 目前已经不支持了,您可以查看一下 ECS 文档,尝试一下别的镜像类型
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。