backups & images

This commit is contained in:
benoit 2020-09-12 05:29:24 +00:00
parent cdcca61095
commit 6b7bd700dd
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@ lxc storage volume list <storagename>
# mode privileged
lxc launch ubuntu:16.04 test -c security.privileged=true -c security.nesting=true
lxc config device add test ssh proxy listen=tcp:0.0.0.0:2222 connect=tcp:127.0.0.1:22
# Create a backups volume in the local (default) pool (ZFS) and use it for backups
lxc storage volume create local backups
lxc config set storage.backups_volume local/backups
# Create a images volume in the local (default) pool (ZFS) and use it for images (containers images downloaded)
lxc storage volume create local images
lxc config set storage.images_volume local/images
```
Chemins :