[lxc-users] lxd api return of /1.0/containers/<name>/exec
laurent ducos
laurentducos at gmail.com
Fri Dec 23 13:02:57 UTC 2016
Hello.
Is there a solution to get the return of a command launch by lxd exec API ?
curl -s --unix-socket /var/lib/lxd/unix.socket
a/1.0/containers/$CONTAINER/exec -X POST -d '{"command": ["df -f /"]}' | jq
.
I would like to see something like this in return of the command.
output: /dev/sda5 15G 4,6G 9,8G 32% /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161223/f73dd97f/attachment.html>
More information about the lxc-users
mailing list