[lxc-users] How to attach a volume to a container via the REST API

alexandros giavaras a.giavaras at gmail.com
Wed Jan 15 11:56:51 UTC 2020


Hi all,

I was wondering about two related issues.

The first one is this. I am trying to create a container via the REST API.
I want to attach to it
an already existing storage volume from a storage pool. Could anyone please
indicate how I should fill in the input json because I don't seem able to
find anything useful.

The second issue is this. I have a container already running and I want to
attach to it
an already existing volume. How do I do this via the REST API?
Thanks in advance.
Best
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20200115/30c853e5/attachment.html>


More information about the lxc-users mailing list