ubuntu-16.04 - 在 Arch 下创建 ubuntu 16 容器时出错
问题描述
我正在尝试使用 LXC 在 Archlinux 上安装一个 Ubuntu 容器。我正在关注本指南: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
为什么会这样?
解决方案
它在错误中说。错误的模板。
可以看到在当前版本的 lxc中没有 ubuntu 模板。要点可能适用于以前的版本。
LXC 文档实际上并没有任何使用其更新方法的明确示例。Ubunu LXC 文档确实如此。https://help.ubuntu.com/lts/serverguide/lxc.html
推荐阅读
- python - 如何将 pytorch 脚本编译成小尺寸的 exe 文件?
- android - 我想让我在 recyclerView 中的按钮可切换意味着当单击另一个时,所有都应该是 dssleted
- php - Quickbooks 不按优先级执行请求
- html - Safari页脚水平滚动问题
- javascript - 我想将活动类添加到导航链接下拉列表和从该下拉列表中选择的选项
- database - 错误:ORA-12560:TNS:协议适配器错误
- javascript - 如何加快非常重复的html的渲染
- git - 清除远程来源中推送的机密数据的历史记录?
- apache-spark - Spark Java - 流数据的条件逻辑 - 需要批评
- scala - 如何减少来自 kafka 的 spark 数据帧并收集结果?