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

Serge Hallyn serge.hallyn at ubuntu.com
Tue Feb 16 16:41:11 UTC 2016


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.

>     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)

> 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


More information about the lxc-users mailing list