Answer the question
In order to leave comments, you need to log in
LXD API create container?
There is only one example of creating a container on all the Internet using the LXD API. And it implies "protocol": "simplestreams", "server": " https://cloud-images.ubuntu.com/daily "
curl -s --unix-socket /var/lib/lxd/unix.socket -X POST -d '{"name": "xenial", "source": {"type": "image", "protocol": "simplestreams", "server": "https://cloud-images.ubuntu.com/daily", "alias": "16.04"}}' a/1.0/containers | jq .
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question