[lxc-users] lxccontainer.c:do_lxcapi_create:1442 - bad template: /tmp/lxd_lxc_startconfig_371186266

Zack Piper zack at apertron.net
Tue Feb 16 16:43:26 UTC 2016


On Tue, Feb 16, 2016 at 04:41:11PM +0000, Serge Hallyn wrote:
> Quoting Zack Piper (zack at apertron.net):
> > Hi,
> > 
> > When I start a container using `lxd start centos`, I get:
> 
> lxd is the name of the daemon.  lxc is the client to use to create
> and start containers.

Sorry, I typoed there. :)

> 
> >     error: saving config file for the container failed
> >     Try `lxc info --show-log centos` for more info
> > 
> > So I look in the log using the mentioned command:
> > 
> >     lxc 20160216101050.682 ERROR    lxc_utils - utils.c:get_template_path:1340 - No such file or directory - bad template: /tmp/lxd_lxc_startconfig_371186266
> >     lxc 20160216101050.683 ERROR    lxc_container - lxccontainer.c:do_lxcapi_create:1442 - bad template: /tmp/lxd_lxc_startconfig_371186266
> 
> Can you show how you created the container in the first place?
> ('lxc launch' or 'lxc init' command)

    lxc launch images:centos/7/amd64 centos 

> 
> > Any help would be great, thanks! LXD looks great. :)
> > 
> > -- 
> > Zack Piper <zack at apertron.net> http://apertron.net
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Zack Piper <zack at apertron.net> http://apertron.net


More information about the lxc-users mailing list