在拱门下创建ubuntu 16容器时出错 [英] Error creating ubuntu 16 container under arch

查看:135
本文介绍了在拱门下创建ubuntu 16容器时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用LXC在Archlinux上安装Ubuntu容器.我正在遵循此指南: https://gist.github.com/manoj23/8a35849697945896cdaef77927c695a7

I am trying to install a Ubuntu container on Archlinux using LXC. I am following this guide:https://gist.github.com/manoj23/8a35849697945896cdaef77927c695a7

运行此命令后:

lxc-create --name=ubuntu-16 --template=ubuntu -- --release xenial  --arch amd64 

我收到以下错误:

Bad template: ubuntu
Error creating container ubuntu-16

为什么会这样?

推荐答案

它在错误中指出.模板错误.

It says in the error. Bad template.

您可以看到,在 lxc当前版本中, ubuntu模板.要点可能是以前的版本.

You can see that in the current version of lxc there is no ubuntu template. The gist is probably for the previous version.

LXC文档实际上没有使用其更新方法的明确示例.但是,Ubunu LXC文档可以. https://help.ubuntu.com/lts/serverguide/lxc.html

The LXC documentation does not really have any clear examples of using their updated method. The Ubunu LXC documentation does though. https://help.ubuntu.com/lts/serverguide/lxc.html

这篇关于在拱门下创建ubuntu 16容器时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆