nsenter
This commit is contained in:
parent
bd128edf16
commit
e6e18467cd
1 changed files with 6 additions and 0 deletions
|
@ -68,3 +68,9 @@ log_format custom '$http_x_forwarded_for - $remote_user [$time_local] '
|
||||||
'"$http_referer" "$http_user_agent"';
|
'"$http_referer" "$http_user_agent"';
|
||||||
access_log /var/log/nginx/access.log custom;
|
access_log /var/log/nginx/access.log custom;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Aller dans le namespace de LXD (snap0 pour faire des actions genre mount/umount :
|
||||||
|
|
||||||
|
```
|
||||||
|
# nsenter -t $(cat /var/snap/lxd/common/lxd.pid) -m
|
||||||
|
```
|
Loading…
Reference in a new issue