[Lxc-users] Can not write log, openpty() failed

christian mueller christian.mueller7 at gmx.de
Thu Jan 26 09:24:36 UTC 2012


Hi Serge,

> For now, I recommend you do it the old fashioned way:  either symlink or
> bind mount /home/chm/lxc to /var/lib/lxc:
> 
> 	rm -rf /var/lib/lxc
> 	mkdir -p /home/chm/lxc
> 	ln -s /home/chm/lxc /var/lib/lxc
> 
> Now just do
> 
> 	lxc-create -f lxc.conf -n p1 -t ubuntu
> 
> and the container will sit in your homedir.
> 

this works - thank you.

Question: How long does it usually take until you get your prompt after executing lxc-create? Here is takes several minutes - fells like it takes longer than booting on physical hardware.

cheers

christian  

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de




More information about the lxc-users mailing list