Changes

Jump to navigation Jump to search
Install docker from official repos
Line 61: Line 61:     
Promox '''High-Availablity''' (HA) feature automatically migrates containers when the node hosting them is down. This is detected by the other nodes, forming a "quorum" (a majority of nodes considering a node is down in the cluster). In that case, the container is started with the last replicated storage. This means that the replication frequency of these HA nodes should be high (a few minutes) as changes since the last replication we be lost in the migration.
 
Promox '''High-Availablity''' (HA) feature automatically migrates containers when the node hosting them is down. This is detected by the other nodes, forming a "quorum" (a majority of nodes considering a node is down in the cluster). In that case, the container is started with the last replicated storage. This means that the replication frequency of these HA nodes should be high (a few minutes) as changes since the last replication we be lost in the migration.
 +
 +
=== Docker in a container ===
 +
When Docker is run inside a container, it needs a few tweaks:
 +
 +
* first of all, install Docker from [https://docs.docker.com/engine/install/debian/#install-using-the-repository official repositories] and NOT from your Linux distribution
 +
* edit <code>/etc/pve/lxc/120.conf</code> (if the CT number is 120), and add: <code>features: keyctl=1,nesting=1</code>
 +
* reboot the container.
    
== Usage guidelines (to be completed) ==
 
== Usage guidelines (to be completed) ==

Navigation menu