]> git.proxmox.com Git - pve-docs.git/blame - pct.adoc
make sure we have a text for all xrefs
[pve-docs.git] / pct.adoc
CommitLineData
0c6b782f
DM
1ifdef::manvolnum[]
2PVE({manvolnum})
3================
38fd0958 4include::attributes.txt[]
0c6b782f 5
5f09af76
DM
6:pve-toplevel:
7
0c6b782f
DM
8NAME
9----
10
11pct - Tool to manage Linux Containers (LXC) on Proxmox VE
12
13
49a5e11c 14SYNOPSIS
0c6b782f
DM
15--------
16
17include::pct.1-synopsis.adoc[]
18
19DESCRIPTION
20-----------
21endif::manvolnum[]
22
23ifndef::manvolnum[]
24Proxmox Container Toolkit
25=========================
38fd0958 26include::attributes.txt[]
0c6b782f
DM
27endif::manvolnum[]
28
5f09af76
DM
29ifdef::wiki[]
30:pve-toplevel:
31endif::wiki[]
4a2ae9ed
DM
32
33Containers are a lightweight alternative to fully virtualized
34VMs. Instead of emulating a complete Operating System (OS), containers
35simply use the OS of the host they run on. This implies that all
36containers use the same kernel, and that they can access resources
37from the host directly.
38
39This is great because containers do not waste CPU power nor memory due
40to kernel emulation. Container run-time costs are close to zero and
41usually negligible. But there are also some drawbacks you need to
42consider:
43
44* You can only run Linux based OS inside containers, i.e. it is not
a8e99754 45 possible to run FreeBSD or MS Windows inside.
4a2ae9ed 46
a8e99754 47* For security reasons, access to host resources needs to be
4a2ae9ed 48 restricted. This is done with AppArmor, SecComp filters and other
a8e99754 49 kernel features. Be prepared that some syscalls are not allowed
4a2ae9ed
DM
50 inside containers.
51
52{pve} uses https://linuxcontainers.org/[LXC] as underlying container
53technology. We consider LXC as low-level library, which provides
a8e99754 54countless options. It would be too difficult to use those tools
4a2ae9ed
DM
55directly. Instead, we provide a small wrapper called `pct`, the
56"Proxmox Container Toolkit".
57
a8e99754 58The toolkit is tightly coupled with {pve}. That means that it is aware
4a2ae9ed
DM
59of the cluster setup, and it can use the same network and storage
60resources as fully virtualized VMs. You can even use the {pve}
61firewall, or manage containers using the HA framework.
62
63Our primary goal is to offer an environment as one would get from a
64VM, but without the additional overhead. We call this "System
65Containers".
66
99d2e25b 67NOTE: If you want to run micro-containers (with docker, rkt, ...), it
70a42028 68is best to run them inside a VM.
4a2ae9ed
DM
69
70
71Security Considerations
72-----------------------
73
74Containers use the same kernel as the host, so there is a big attack
75surface for malicious users. You should consider this fact if you
76provide containers to totally untrusted people. In general, fully
a8e99754 77virtualized VMs provide better isolation.
4a2ae9ed
DM
78
79The good news is that LXC uses many kernel security features like
80AppArmor, CGroups and PID and user namespaces, which makes containers
81usage quite secure. We distinguish two types of containers:
82
5eba0743
FG
83
84Privileged Containers
4a2ae9ed
DM
85~~~~~~~~~~~~~~~~~~~~~
86
87Security is done by dropping capabilities, using mandatory access
88control (AppArmor), SecComp filters and namespaces. The LXC team
89considers this kind of container as unsafe, and they will not consider
90new container escape exploits to be security issues worthy of a CVE
91and quick fix. So you should use this kind of containers only inside a
92trusted environment, or when no untrusted task is running as root in
93the container.
94
5eba0743
FG
95
96Unprivileged Containers
4a2ae9ed
DM
97~~~~~~~~~~~~~~~~~~~~~~~
98
a8e99754 99This kind of containers use a new kernel feature called user
5eba0743 100namespaces. The root UID 0 inside the container is mapped to an
4a2ae9ed
DM
101unprivileged user outside the container. This means that most security
102issues (container escape, resource abuse, ...) in those containers
103will affect a random unprivileged user, and so would be a generic
a8e99754 104kernel security bug rather than an LXC issue. The LXC team thinks
4a2ae9ed
DM
105unprivileged containers are safe by design.
106
7fc230db
DM
107
108Configuration
109-------------
110
8c1189b6
FG
111The `/etc/pve/lxc/<CTID>.conf` file stores container configuration,
112where `<CTID>` is the numeric ID of the given container. Like all
113other files stored inside `/etc/pve/`, they get automatically
166e63d6
FG
114replicated to all other cluster nodes.
115
116NOTE: CTIDs < 100 are reserved for internal purposes, and CTIDs need to be
117unique cluster wide.
7fc230db 118
105bc8f1
DM
119.Example Container Configuration
120----
121ostype: debian
122arch: amd64
123hostname: www
124memory: 512
125swap: 512
126net0: bridge=vmbr0,hwaddr=66:64:66:64:64:36,ip=dhcp,name=eth0,type=veth
127rootfs: local:107/vm-107-disk-1.raw,size=7G
128----
129
7fc230db 130Those configuration files are simple text files, and you can edit them
8c1189b6 131using a normal text editor (`vi`, `nano`, ...). This is sometimes
55fb2a21
DM
132useful to do small corrections, but keep in mind that you need to
133restart the container to apply such changes.
134
8c1189b6 135For that reason, it is usually better to use the `pct` command to
55fb2a21
DM
136generate and modify those files, or do the whole thing using the GUI.
137Our toolkit is smart enough to instantaneously apply most changes to
105bc8f1
DM
138running containers. This feature is called "hot plug", and there is no
139need to restart the container in that case.
7fc230db 140
5eba0743 141
7fc230db
DM
142File Format
143~~~~~~~~~~~
144
145Container configuration files use a simple colon separated key/value
146format. Each line has the following format:
147
083adc34
FG
148-----
149# this is a comment
150OPTION: value
151-----
7fc230db 152
8c1189b6 153Blank lines in those files are ignored, and lines starting with a `#`
7fc230db
DM
154character are treated as comments and are also ignored.
155
156It is possible to add low-level, LXC style configuration directly, for
157example:
158
159 lxc.init_cmd: /sbin/my_own_init
160
161or
162
163 lxc.init_cmd = /sbin/my_own_init
164
165Those settings are directly passed to the LXC low-level tools.
166
5eba0743 167
105bc8f1
DM
168Snapshots
169~~~~~~~~~
170
8c1189b6 171When you create a snapshot, `pct` stores the configuration at snapshot
105bc8f1 172time into a separate snapshot section within the same configuration
8c1189b6 173file. For example, after creating a snapshot called ``testsnapshot'',
105bc8f1
DM
174your configuration file will look like this:
175
5eba0743 176.Container configuration with snapshot
105bc8f1
DM
177----
178memory: 512
179swap: 512
180parent: testsnaphot
181...
182
183[testsnaphot]
184memory: 512
185swap: 512
186snaptime: 1457170803
187...
188----
189
8c1189b6
FG
190There are a few snapshot related properties like `parent` and
191`snaptime`. The `parent` property is used to store the parent/child
192relationship between snapshots. `snaptime` is the snapshot creation
193time stamp (Unix epoch).
194
7fc230db 195
3f13c1c3
DM
196Guest Operating System Configuration
197~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198
199We normally try to detect the operating system type inside the
200container, and then modify some files inside the container to make
201them work as expected. Here is a short list of things we do at
202container startup:
203
204set /etc/hostname:: to set the container name
205
a8e99754 206modify /etc/hosts:: to allow lookup of the local hostname
3f13c1c3
DM
207
208network setup:: pass the complete network setup to the container
209
210configure DNS:: pass information about DNS servers
211
a8e99754 212adapt the init system:: for example, fix the number of spawned getty processes
3f13c1c3
DM
213
214set the root password:: when creating a new container
215
216rewrite ssh_host_keys:: so that each container has unique keys
217
a8e99754 218randomize crontab:: so that cron does not start at the same time on all containers
3f13c1c3 219
25535d34
WB
220Changes made by {PVE} are enclosed by comment markers:
221
37638f59
DM
222----
223# --- BEGIN PVE ---
224<data>
225# --- END PVE ---
226----
25535d34 227
37638f59
DM
228Those markers will be inserted at a reasonable location in the
229file. If such a section already exists, it will be updated in place
230and will not be moved.
25535d34 231
37638f59
DM
232Modification of a file can be prevented by adding a `.pve-ignore.`
233file for it. For instance, if the file `/etc/.pve-ignore.hosts`
234exists then the `/etc/hosts` file will not be touched. This can be a
235simple empty file creatd via:
25535d34
WB
236
237 # touch /etc/.pve-ignore.hosts
238
37638f59
DM
239Most modifications are OS dependent, so they differ between different
240distributions and versions. You can completely disable modifications
8c1189b6 241by manually setting the `ostype` to `unmanaged`.
3f13c1c3
DM
242
243OS type detection is done by testing for certain files inside the
244container:
245
8c1189b6 246Ubuntu:: inspect /etc/lsb-release (`DISTRIB_ID=Ubuntu`)
3f13c1c3
DM
247
248Debian:: test /etc/debian_version
249
250Fedora:: test /etc/fedora-release
251
252RedHat or CentOS:: test /etc/redhat-release
253
254ArchLinux:: test /etc/arch-release
255
256Alpine:: test /etc/alpine-release
257
c617d721
WB
258Gentoo:: test /etc/gentoo-release
259
8c1189b6 260NOTE: Container start fails if the configured `ostype` differs from the auto
3f13c1c3
DM
261detected type.
262
5eba0743 263
a7f36905
DM
264Options
265~~~~~~~
266
267include::pct.conf.5-opts.adoc[]
268
d61bab51
DM
269
270Container Images
271----------------
272
8c1189b6
FG
273Container images, sometimes also referred to as ``templates'' or
274``appliances'', are `tar` archives which contain everything to run a
d61bab51 275container. You can think of it as a tidy container backup. Like most
8c1189b6 276modern container toolkits, `pct` uses those images when you create a
d61bab51
DM
277new container, for example:
278
279 pct create 999 local:vztmpl/debian-8.0-standard_8.0-1_amd64.tar.gz
280
26ca7ff5 281{pve} itself ships a set of basic templates for most common
8c1189b6 282operating systems, and you can download them using the `pveam` (short
d61bab51
DM
283for {pve} Appliance Manager) command line utility. You can also
284download https://www.turnkeylinux.org/[TurnKey Linux] containers using
285that tool (or the graphical user interface).
286
3a6fa247
DM
287Our image repositories contain a list of available images, and there
288is a cron job run each day to download that list. You can trigger that
289update manually with:
290
291 pveam update
292
293After that you can view the list of available images using:
294
295 pveam available
296
8c1189b6
FG
297You can restrict this large list by specifying the `section` you are
298interested in, for example basic `system` images:
3a6fa247
DM
299
300.List available system images
301----
302# pveam available --section system
303system archlinux-base_2015-24-29-1_x86_64.tar.gz
304system centos-7-default_20160205_amd64.tar.xz
305system debian-6.0-standard_6.0-7_amd64.tar.gz
306system debian-7.0-standard_7.0-3_amd64.tar.gz
307system debian-8.0-standard_8.0-1_amd64.tar.gz
308system ubuntu-12.04-standard_12.04-1_amd64.tar.gz
309system ubuntu-14.04-standard_14.04-1_amd64.tar.gz
310system ubuntu-15.04-standard_15.04-1_amd64.tar.gz
311system ubuntu-15.10-standard_15.10-1_amd64.tar.gz
312----
313
a8e99754 314Before you can use such a template, you need to download them into one
8c1189b6 315of your storages. You can simply use storage `local` for that
3a6fa247
DM
316purpose. For clustered installations, it is preferred to use a shared
317storage so that all nodes can access those images.
318
319 pveam download local debian-8.0-standard_8.0-1_amd64.tar.gz
320
24f73a63 321You are now ready to create containers using that image, and you can
8c1189b6 322list all downloaded images on storage `local` with:
24f73a63
DM
323
324----
325# pveam list local
326local:vztmpl/debian-8.0-standard_8.0-1_amd64.tar.gz 190.20MB
327----
328
a8e99754 329The above command shows you the full {pve} volume identifiers. They include
24f73a63 330the storage name, and most other {pve} commands can use them. For
5eba0743 331example you can delete that image later with:
24f73a63
DM
332
333 pveam remove local:vztmpl/debian-8.0-standard_8.0-1_amd64.tar.gz
3a6fa247 334
d61bab51 335
70a42028
DM
336Container Storage
337-----------------
338
339Traditional containers use a very simple storage model, only allowing
340a single mount point, the root file system. This was further
8c1189b6
FG
341restricted to specific file system types like `ext4` and `nfs`.
342Additional mounts are often done by user provided scripts. This turned
a8e99754 343out to be complex and error prone, so we try to avoid that now.
70a42028
DM
344
345Our new LXC based container model is more flexible regarding
346storage. First, you can have more than a single mount point. This
347allows you to choose a suitable storage for each application. For
348example, you can use a relatively slow (and thus cheap) storage for
349the container root file system. Then you can use a second mount point
350to mount a very fast, distributed storage for your database
351application.
352
353The second big improvement is that you can use any storage type
354supported by the {pve} storage library. That means that you can store
8c1189b6
FG
355your containers on local `lvmthin` or `zfs`, shared `iSCSI` storage,
356or even on distributed storage systems like `ceph`. It also enables us
357to use advanced storage features like snapshots and clones. `vzdump`
a8e99754 358can also use the snapshot feature to provide consistent container
70a42028
DM
359backups.
360
361Last but not least, you can also mount local devices directly, or
362mount local directories using bind mounts. That way you can access
363local storage inside containers with zero overhead. Such bind mounts
a8e99754 364also provide an easy way to share data between different containers.
70a42028 365
eeecce95 366
9e44e493
DM
367Mount Points
368~~~~~~~~~~~~
eeecce95 369
01639994
FG
370The root mount point is configured with the `rootfs` property, and you can
371configure up to 10 additional mount points. The corresponding options
372are called `mp0` to `mp9`, and they can contain the following setting:
373
374include::pct-mountpoint-opts.adoc[]
375
9e44e493
DM
376Currently there are basically three types of mount points: storage backed
377mount points, bind mounts and device mounts.
378
5eba0743 379.Typical container `rootfs` configuration
4c3b5c77
DM
380----
381rootfs: thin1:base-100-disk-1,size=8G
382----
383
384
5eba0743 385Storage Backed Mount Points
4c3b5c77 386^^^^^^^^^^^^^^^^^^^^^^^^^^^
01639994 387
9e44e493 388Storage backed mount points are managed by the {pve} storage subsystem and come
eeecce95
WB
389in three different flavors:
390
5eba0743 391- Image based: these are raw images containing a single ext4 formatted file
eeecce95 392 system.
5eba0743 393- ZFS subvolumes: these are technically bind mounts, but with managed storage,
eeecce95
WB
394 and thus allow resizing and snapshotting.
395- Directories: passing `size=0` triggers a special case where instead of a raw
396 image a directory is created.
397
4c3b5c77 398
5eba0743 399Bind Mount Points
4c3b5c77 400^^^^^^^^^^^^^^^^^
01639994 401
9baca183
FG
402Bind mounts allow you to access arbitrary directories from your Proxmox VE host
403inside a container. Some potential use cases are:
404
405- Accessing your home directory in the guest
406- Accessing an USB device directory in the guest
acccc49b 407- Accessing an NFS mount from the host in the guest
9baca183 408
eeecce95 409Bind mounts are considered to not be managed by the storage subsystem, so you
9baca183 410cannot make snapshots or deal with quotas from inside the container. With
eeecce95 411unprivileged containers you might run into permission problems caused by the
9baca183
FG
412user mapping and cannot use ACLs.
413
8c1189b6 414NOTE: The contents of bind mount points are not backed up when using `vzdump`.
eeecce95 415
6b707f2c
FG
416WARNING: For security reasons, bind mounts should only be established
417using source directories especially reserved for this purpose, e.g., a
418directory hierarchy under `/mnt/bindmounts`. Never bind mount system
419directories like `/`, `/var` or `/etc` into a container - this poses a
9baca183
FG
420great security risk.
421
422NOTE: The bind mount source path must not contain any symlinks.
423
424For example, to make the directory `/mnt/bindmounts/shared` accessible in the
425container with ID `100` under the path `/shared`, use a configuration line like
8c1189b6
FG
426`mp0: /mnt/bindmounts/shared,mp=/shared` in `/etc/pve/lxc/100.conf`.
427Alternatively, use `pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared` to
9baca183 428achieve the same result.
6b707f2c 429
4c3b5c77 430
5eba0743 431Device Mount Points
4c3b5c77 432^^^^^^^^^^^^^^^^^^^
fe154a4f 433
7432d78e
FG
434Device mount points allow to mount block devices of the host directly into the
435container. Similar to bind mounts, device mounts are not managed by {PVE}'s
436storage subsystem, but the `quota` and `acl` options will be honored.
437
438NOTE: Device mount points should only be used under special circumstances. In
439most cases a storage backed mount point offers the same performance and a lot
440more features.
441
8c1189b6 442NOTE: The contents of device mount points are not backed up when using `vzdump`.
01639994 443
4c3b5c77 444
5eba0743 445FUSE Mounts
4c3b5c77 446~~~~~~~~~~~
01639994
FG
447
448WARNING: Because of existing issues in the Linux kernel's freezer
449subsystem the usage of FUSE mounts inside a container is strongly
450advised against, as containers need to be frozen for suspend or
451snapshot mode backups.
fe154a4f 452
01639994
FG
453If FUSE mounts cannot be replaced by other mounting mechanisms or storage
454technologies, it is possible to establish the FUSE mount on the Proxmox host
455and use a bind mount point to make it accessible inside the container.
456
01639994 457
5eba0743 458Using Quotas Inside Containers
04c569f6 459~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d6ed3622 460
9e44e493
DM
461Quotas allow to set limits inside a container for the amount of disk
462space that each user can use. This only works on ext4 image based
463storage types and currently does not work with unprivileged
464containers.
d6ed3622 465
9e44e493
DM
466Activating the `quota` option causes the following mount options to be
467used for a mount point:
468`usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0`
d6ed3622 469
9e44e493
DM
470This allows quotas to be used like you would on any other system. You
471can initialize the `/aquota.user` and `/aquota.group` files by running
d6ed3622 472
9e44e493
DM
473----
474quotacheck -cmug /
475quotaon /
476----
d6ed3622 477
166e63d6
FG
478and edit the quotas via the `edquota` command. Refer to the documentation
479of the distribution running inside the container for details.
480
9e44e493
DM
481NOTE: You need to run the above commands for every mount point by passing
482the mount point's path instead of just `/`.
483
d6ed3622 484
5eba0743 485Using ACLs Inside Containers
04c569f6 486~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6c60aebf 487
5eba0743 488The standard Posix **A**ccess **C**ontrol **L**ists are also available inside containers.
6c60aebf
EK
489ACLs allow you to set more detailed file ownership than the traditional user/
490group/others model.
d6ed3622 491
04c569f6
DM
492
493Container Network
494-----------------
495
bac8c385 496You can configure up to 10 network interfaces for a single
8c1189b6 497container. The corresponding options are called `net0` to `net9`, and
bac8c385
DM
498they can contain the following setting:
499
500include::pct-network-opts.adoc[]
04c569f6
DM
501
502
51e33128
FG
503Backup and Restore
504------------------
505
5eba0743 506
2175e37b
FG
507Container Backup
508~~~~~~~~~~~~~~~~
509
8c1189b6
FG
510It is possible to use the `vzdump` tool for container backup. Please
511refer to the `vzdump` manual page for details.
512
51e33128 513
2175e37b
FG
514Restoring Container Backups
515~~~~~~~~~~~~~~~~~~~~~~~~~~~
516
8c1189b6
FG
517Restoring container backups made with `vzdump` is possible using the
518`pct restore` command. By default, `pct restore` will attempt to restore as much
2175e37b
FG
519of the backed up container configuration as possible. It is possible to override
520the backed up configuration by manually setting container options on the command
8c1189b6 521line (see the `pct` manual page for details).
2175e37b 522
8c1189b6 523NOTE: `pvesm extractconfig` can be used to view the backed up configuration
2175e37b
FG
524contained in a vzdump archive.
525
526There are two basic restore modes, only differing by their handling of mount
527points:
528
4c3b5c77 529
8c1189b6
FG
530``Simple'' Restore Mode
531^^^^^^^^^^^^^^^^^^^^^^^
2175e37b
FG
532
533If neither the `rootfs` parameter nor any of the optional `mpX` parameters
534are explicitly set, the mount point configuration from the backed up
535configuration file is restored using the following steps:
536
537. Extract mount points and their options from backup
538. Create volumes for storage backed mount points (on storage provided with the
539`storage` parameter, or default local storage if unset)
540. Extract files from backup archive
541. Add bind and device mount points to restored configuration (limited to root user)
542
543NOTE: Since bind and device mount points are never backed up, no files are
544restored in the last step, but only the configuration options. The assumption
545is that such mount points are either backed up with another mechanism (e.g.,
546NFS space that is bind mounted into many containers), or not intended to be
547backed up at all.
548
549This simple mode is also used by the container restore operations in the web
550interface.
551
4c3b5c77 552
8c1189b6
FG
553``Advanced'' Restore Mode
554^^^^^^^^^^^^^^^^^^^^^^^^^
2175e37b
FG
555
556By setting the `rootfs` parameter (and optionally, any combination of `mpX`
8c1189b6 557parameters), the `pct restore` command is automatically switched into an
2175e37b
FG
558advanced mode. This advanced mode completely ignores the `rootfs` and `mpX`
559configuration options contained in the backup archive, and instead only
560uses the options explicitly provided as parameters.
561
562This mode allows flexible configuration of mount point settings at restore time,
563for example:
564
565* Set target storages, volume sizes and other options for each mount point
566individually
567* Redistribute backed up files according to new mount point scheme
568* Restore to device and/or bind mount points (limited to root user)
569
51e33128 570
8c1189b6 571Managing Containers with `pct`
04c569f6
DM
572------------------------------
573
8c1189b6 574`pct` is the tool to manage Linux Containers on {pve}. You can create
04c569f6
DM
575and destroy containers, and control execution (start, stop, migrate,
576...). You can use pct to set parameters in the associated config file,
577like network configuration or memory limits.
578
5eba0743 579
04c569f6
DM
580CLI Usage Examples
581~~~~~~~~~~~~~~~~~~
582
583Create a container based on a Debian template (provided you have
5eba0743 584already downloaded the template via the web interface)
04c569f6
DM
585
586 pct create 100 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz
587
588Start container 100
589
590 pct start 100
591
592Start a login session via getty
593
594 pct console 100
595
596Enter the LXC namespace and run a shell as root user
597
598 pct enter 100
599
600Display the configuration
601
602 pct config 100
603
8c1189b6 604Add a network interface called `eth0`, bridged to the host bridge `vmbr0`,
04c569f6
DM
605set the address and gateway, while it's running
606
607 pct set 100 -net0 name=eth0,bridge=vmbr0,ip=192.168.15.147/24,gw=192.168.15.1
608
609Reduce the memory of the container to 512MB
610
0585f29a
DM
611 pct set 100 -memory 512
612
04c569f6 613
fe57a420
FG
614Obtaining Debugging Logs
615~~~~~~~~~~~~~~~~~~~~~~~~
616
617In case `pct start` is unable to start a specific container, it might be
618helpful to collect debugging output by running `lxc-start` (replace `ID` with
619the container's ID):
620
621 lxc-start -n ID -F -l DEBUG -o /tmp/lxc-ID.log
622
623This command will attempt to start the container in foreground mode, to stop the container run `pct shutdown ID` or `pct stop ID` in a second terminal.
624
625The collected debug log is written to `/tmp/lxc-ID.log`.
626
627NOTE: If you have changed the container's configuration since the last start
628attempt with `pct start`, you need to run `pct start` at least once to also
629update the configuration used by `lxc-start`.
630
631
04c569f6
DM
632Files
633------
634
8c1189b6 635`/etc/pve/lxc/<CTID>.conf`::
04c569f6
DM
636
637Configuration file for the container '<CTID>'.
638
639
0c6b782f
DM
640Container Advantages
641--------------------
642
8c1189b6 643* Simple, and fully integrated into {pve}. Setup looks similar to a normal
0c6b782f
DM
644 VM setup.
645
8c1189b6 646** Storage (ZFS, LVM, NFS, Ceph, ...)
0c6b782f 647
8c1189b6 648** Network
0c6b782f 649
8c1189b6 650** Authentication
0c6b782f 651
8c1189b6 652** Cluster
0c6b782f 653
8c1189b6 654* Fast: minimal overhead, as fast as bare metal
0c6b782f 655
8c1189b6 656* High density (perfect for idle workloads)
0c6b782f 657
8c1189b6 658* REST API
0c6b782f 659
8c1189b6 660* Direct hardware access
0c6b782f
DM
661
662
663Technology Overview
664-------------------
665
80b5819d 666* Integrated into {pve} graphical user interface (GUI)
0c6b782f 667
80b5819d 668* LXC (https://linuxcontainers.org/)
0c6b782f 669
80b5819d 670* lxcfs to provide containerized /proc file system
0c6b782f 671
80b5819d 672* AppArmor
0c6b782f 673
80b5819d 674* CRIU: for live migration (planned)
0c6b782f 675
80b5819d 676* We use latest available kernels (4.4.X)
0c6b782f 677
80b5819d 678* Image based deployment (templates)
0c6b782f 679
80b5819d 680* Container setup from host (network, DNS, storage, ...)
0c6b782f
DM
681
682
683ifdef::manvolnum[]
684include::pve-copyright.adoc[]
685endif::manvolnum[]
686
687
688
689
690
691
692