Quoting Robin Monjo (appldiget) (robin.mo...@applidget.com):
> Hello,
> 
> I create my containers a particular way:
> - mount an existing container into the /containers/ folder
> - manually change the config for the new container
> - start the new container by specifying the path (-f option)
> 
> Then, to destroy it, I just stop it, unmount and remove everything. The 
> problem is that it's not a clean destroy and after creating and starting a 
> few containers this way, the ifconfig  command on the host machine output a 
> lot of unused veth* interface.
> 
> Since lxc-destroy doesn't recognise my containers (not in the default 
> folder), how do I clean destroy them manually (remove unused interfaces in 
> ifconfig).
> 
> PS: Host is ubuntu 12.04 with default lxc config

It would be far preferable to bind-mount /containers onto
/var/lib/lxc and set the containers up there.  If you're
willing to do that and test it, then I'll happily look at
the config files you are using and try to reproduce.

-serge

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to