Precision on port_isolation

This commit is contained in:
Benoît S 2021-09-04 09:06:16 +00:00
parent cfae1b2c4c
commit b94c46466a
1 changed files with 3 additions and 2 deletions

View File

@ -18,8 +18,9 @@ $ lxc config device set <name> root limits.write 10Iops
$ lxc config device override <name> root size=20GB
$ lxc profile device set default eth0 limits.ingress 100Mbit
$ lxc profile device set default eth0 limits.egress 100Mbit
# Port isolation make the container unable to see other containers
$ lxc config device override <name> eth0 security.port_isolation=true
# Port isolation make the container unable to see other containers that are also in port_isolation mode
$ lxc config device set <name> eth0 security.port_isolation=true
$ lxc profile device set default eth0 security.port_isolation=true
$ lxc
$ lxc launch images:debian/11 <name>
$ lxc config set <name> environment.LC_ALL=en_US.UTF-8