User Tools

Site Tools


linux:virtualization:lxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:virtualization:lxc [2021/07/27 23:41]
tkilla [Create new container]
linux:virtualization:lxc [2022/01/13 23:08]
tkilla [Unprivileged containers]
Line 344: Line 344:
 http://wiki.fr33.info/doku.php/linux/virtualization/lxc?&#unprivileged_containers http://wiki.fr33.info/doku.php/linux/virtualization/lxc?&#unprivileged_containers
  
-  lxc-create -n debian8  -B btrfs -t debian -- -r jessie+FIX:  original keyserver is broken! add: --keyserver hkp://keyserver.ubuntu.com 
 + 
 + 
 +  lxc-create -n debian8  -B btrfs -t debian -- -r jessie --keyserver hkp://keyserver.ubuntu.com
  
 or or
  
-  lxc-create -n websrv -t debian-wheezy  -B btrfs+  lxc-create -n websrv -t debian-wheezy  -B btrfs --keyserver hkp://keyserver.ubuntu.com
  
 Start / Stop VS: Start / Stop VS:
Line 472: Line 475:
 create container - use download method for unprivileged. jessie is not available, so you can upgrade wheezy and fix systemd error :( create container - use download method for unprivileged. jessie is not available, so you can upgrade wheezy and fix systemd error :(
  
-  lxc-create -B btrfs -t download -n websrv   +FIX for download: Original keyserver is broken, add --keyserver hkp://keyserver.ubuntu.com 
 + 
 +  lxc-create -B btrfs -t download -n websrv --keyserver hkp://keyserver.ubuntu.com
  
   # error no jessie:    # error no jessie: 
-  lxc-create -B btrfs -n websrv -t download -- -d debian -r jessie -a amd64   +  lxc-create -B btrfs -n websrv -t download -- -d debian -r jessie -a amd64 --keyserver hkp://keyserver.ubuntu.com
  
   # error not working with unprivileged   # error not working with unprivileged
-  LANG=C SUITE=jessie MIRROR=http://httpredir.debian.org/debian lxc-create -n websrv -B btrfs -t debian+  LANG=C SUITE=jessie MIRROR=http://httpredir.debian.org/debian lxc-create -n websrv -B btrfs -t debian 
  
  
linux/virtualization/lxc.txt · Last modified: 2022/01/13 23:08 by tkilla