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% /
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to