LoginSignup
5
4

More than 5 years have passed since last update.

LXDでコンテナ作成する時のコマンド(CentOS, Ubuntu, その他)

Last updated at Posted at 2017-07-11

CentOS

CentOS 7

# lxc launch -c security.privileged=true images:centos/7/amd64 <コンテナ名>

CentOS 6

# lxc launch images:centos/6/amd64 <コンテナ名>

Ubuntu

Ubuntu 16.04 LTS

# lxc launch ubuntu:16.04 <コンテナ名>

Ubuntu 14.04 LTS

# lxc launch ubuntu:14.04 <コンテナ名>

Ubuntu 12.04 LTS

# lxc launch ubuntu:12.04 <コンテナ名>

その他のディストリビューションイメージ

上記のほか、以下のページに一覧されているイメージを利用することができます。
https://uk.images.linuxcontainers.org/

以下のコマンドおよびオプションを実行することで、指定されたディストリビューションのコンテナを作成することができます。

# lxc launch images:<Distribution>/<Release>/<Architecture>
5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4