|
701.
|
|
|
In order to facilitate running docker containers inside a LXD container, a 'docker' profile is provided. To launch a new container with the docker profile, you can run:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1468(para)
|
|
702.
|
|
|
lxc launch xenial container1 -p default -p docker
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1475(command)
|
|
703.
|
|
|
Note that currently the docker package in Ubuntu 16.04 is patched to facilitate running in a container. This support is expected to land upstream soon.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1480(para)
|
|
704.
|
|
|
Note that 'cgroup namespace' support is also required. This is available in the 16.04 kernel as well as in the 4.6 upstream source.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1486(para)
|
|
705.
|
|
|
Limits
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1495(title)
|
|
706.
|
|
|
LXD supports flexible constraints on the resources which containers can consume. The limits come in the following categories:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1497(para)
|
|
707.
|
|
|
CPU: limit cpu available to the container in several ways.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1504(para)
|
|
708.
|
|
|
Disk: configure the priority of I/O requests under load
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1507(para)
|
|
709.
|
|
|
RAM: configure memory and swap availability
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1510(para)
|
|
710.
|
|
|
Network: configure the network priority under load
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/virtualization.xml:1513(para)
|