Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

特権コンテナの作成

Last updated at Posted at 2015-02-08

参考

手順

# lxc-create -t download -n privileged-centos7
Setting up the GPG keyring
Downloading the image index

---
DIST	RELEASE	ARCH	VARIANT	BUILD
---
centos	6	amd64	default	20150208_02:16
centos	6	i386	default	20150208_02:16
centos	7	amd64	default	20150208_02:16
debian	jessie	amd64	default	20150207_22:42
debian	jessie	armel	default	20150207_22:42
debian	jessie	armhf	default	20150207_22:42
debian	jessie	i386	default	20150207_22:42
debian	sid	amd64	default	20150207_22:42
debian	sid	armel	default	20150207_22:42
debian	sid	armhf	default	20150207_22:42
debian	sid	i386	default	20150207_22:42
debian	wheezy	amd64	default	20150207_22:42
debian	wheezy	armel	default	20150207_22:42
debian	wheezy	armhf	default	20150207_22:42
debian	wheezy	i386	default	20150207_22:42
fedora	19	amd64	default	20150208_01:27
fedora	19	armhf	default	20150208_01:27
fedora	19	i386	default	20150208_01:27
fedora	20	amd64	default	20150208_01:27
fedora	20	armhf	default	20150208_01:27
fedora	20	i386	default	20150208_01:27
gentoo	current	amd64	default	20150206_14:12
gentoo	current	armhf	default	20150206_14:12
gentoo	current	i386	default	20150206_14:12
opensuse	12.3	amd64	default	20141127_00:53
opensuse	12.3	i386	default	20141127_00:53
oracle	6.5	amd64	default	20150207_11:40
oracle	6.5	i386	default	20150207_11:40
plamo	5.x	amd64	default	20150207_21:36
plamo	5.x	i386	default	20150207_21:36
ubuntu	precise	amd64	default	20150208_03:49
ubuntu	precise	armel	default	20150208_03:49
ubuntu	precise	armhf	default	20150208_03:49
ubuntu	precise	i386	default	20150208_03:49
ubuntu	trusty	amd64	default	20150208_03:49
ubuntu	trusty	arm64	default	20150203_03:49
ubuntu	trusty	armhf	default	20150208_03:49
ubuntu	trusty	i386	default	20150208_03:49
ubuntu	trusty	ppc64el	default	20150208_03:49
ubuntu	utopic	amd64	default	20150208_03:49
ubuntu	utopic	arm64	default	20150203_03:49
ubuntu	utopic	armhf	default	20150208_03:49
ubuntu	utopic	i386	default	20150208_03:49
ubuntu	utopic	ppc64el	default	20150208_03:49
ubuntu	vivid	amd64	default	20150208_03:49
ubuntu	vivid	arm64	default	20150203_03:49
ubuntu	vivid	armhf	default	20150208_03:49
ubuntu	vivid	i386	default	20150208_03:49
ubuntu	vivid	ppc64el	default	20150208_03:49
---
  • 特権コンテナとして作成したいディストリビューションを選択
Distribution: centos
Release: 7
Architecture: amd64
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs

---
You just created a CentOS container (release=7, arch=amd64, variant=default)

To enable sshd, run: yum install openssh-server

For security reason, container images ship without user accounts
and without a root password.

Use lxc-attach or chroot directly into the rootfs to set a root password
or create user accounts.
lxc-start -n privileged-centos7
lxc-attach -n  privileged-centos7

特権コンテナでもlxcのバックアップ、リストア、あとcentos7メモ - Qiitaと同じ現象。。

2
2
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

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?