This is a question, and i don't find answers now, searching in internet :/ (weird thing)

I need to launch a container in lxd, but without start the container, yes, I can launch a new one from one image now with:

lxc launch Image container1

and this works, good, but this one starts container1 automatically, so, exist any other command that create container1 from Image without starting this one ? I am doing one prototype script now, create the container from image and starts this one, but, in the future, container1 will be stopped:

My idea, in script:

1. Create container from Image, without launching this
2. start container (lxc start ...)

yes i can code exceptions now with "lxc launch", but if i can do (1), the exception condition will be more simple.


Yonsy Solis

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to