[lxc-users] lxc-destroy fails somehow
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Mar 14 18:24:33 UTC 2014
Quoting Nels Nelson (nels.n.nelson at gmail.com):
> On Fri, Mar 14, 2014 at 1:07 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:
> >
> > Yes, but you need the statically linked version,
> >
> > sudo apt-get install busybox-static
> >
> > you can verify whether it is dynamically linked using
> >
> > ldd `which busybox`
>
>
> Okay, installed the statically linked binary version of busybox, but
> I am still getting the failure to change the root password:
>
> # lxc-create -t busybox -n test -l DEBUG -o /tmp/lxc.log
> setting root password to "root"
> Failed to change root password
>
> Any ideas how to overcome/workaround that?
>
> I am also still skeptical about whether or not the busybox template
> suits my purposes. I'll continue to test it, just to prove the concept
> for myself of getting a daemonized container running in a 10MB disk.
> But really, all I need is a handful of binaries for use inside the tiniest
> rootfs possible. Namely /bin/dd, /bin/cat, and perhaps /bin/bash as
> well.
Depending on what you want to do, you could read-only bind mount
/lib, /usr, /bin, and /sbin.
-serge
More information about the lxc-users
mailing list