I didn't know that. Thank you very much. It worked!

On Tue, Jul 26, 2016 at 6:36 PM, Serge E. Hallyn <[email protected]> wrote:

> Well, cirros does not in fact have /bin/bash :)  Try /bin/sh.
>
> Quoting Muneeb Ahmad ([email protected]):
> > Thank you for your reply. I tried the way you suggested. ran a lxc cirros
> > container and replaced lxd container's rootfs with lxc container's.
> > Restarted it and when I try to enter it with 'lxc exec <name> /bin/bash',
> > nothing happens.
> > In lxc.log, i get an error. Any ideas?
> > "ERROR    lxc_attach - attach.c:lxc_attach_run_command:1226 - No such
> file
> > or directory - failed to exec '/bin/bash'"
> >
> > On Tue, Jul 19, 2016 at 5:38 PM, Serge E. Hallyn <[email protected]>
> wrote:
> >
> > > Quoting Muneeb Ahmad ([email protected]):
> > > > Hi guys,
> > > >
> > > > First of all I greatly appreciate the work you guys have been doing.
> > > > My question is about CirrOS. I have deployed OpenStack with nova-lxd
> > > > through devstack. Is there any way I can run CirrOS on it as far as I
> > > read,
> > > > it's not available for LXD yet. Any help?
> > >
> > > Odd, that surprises me, I thought images.linuxcontainers.org had that.
> > > But,
> > > you create a lxc cirros container, create a dummy lxd container, copy
> the
> > > lxc rootfs over into it, then (once verified everything is working)
> publish
> > > that lxd container as a new image that you can launch containers from.
> > > It's
> > > a hastle, but only the first time.
> > > _______________________________________________
> > > lxc-users mailing list
> > > [email protected]
> > > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> > _______________________________________________
> > lxc-users mailing list
> > [email protected]
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to