[lxc-users] Attach Network to container via REST API

alexandros giavaras a.giavaras at gmail.com
Tue Jan 28 10:45:37 UTC 2020


Hi all,

I am trying to attach a network to an existing container via the REST API.
but I don't seem able to figure out how the input should be specified.
Is my guessing correct that this will be a device of type network? So the
following dict should do the trick or do I need sth totally different?

"MyNetName"{
"name": network_name
"type": "network"
}

Thanks in advance
Best
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20200128/df750750/attachment.htm>


More information about the lxc-users mailing list