首页 > 其他 > 详细

lxd configration

时间:2021-05-02 16:31:02      阅读:29      评论:0      收藏:0      [点我收藏+]

1.  snap install lxd

2.  lxd init

3.  lxc launch {chosen image name} {prefered instance name}

4.  echo "root:$UID:1" | sudo tee -a /etc/subuid /etc/subgid

5.  lxc profile create {prefered profile name}

6.  lxc profile edit {prefered profile name}

7.  

config:
environment.DISPLAY: :
0 raw.idmap: both 1000 1001 description: GUI LXD profile devices: X0: path: /tmp/.X11-unix/X0 source: /tmp/.X11-unix/X0 type: disk mygpu: type: gpu name: gui used_by:

8.  lxc profile add {instancename} {profilename}

9.  xhost +local:

 

lxd configration

原文:https://www.cnblogs.com/zohar-fzh/p/14725644.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!