Hello!
I'm building a PaaS on top of Proxmox (very basic, just for educational purpose) and everything is working well except I can't get a container IP address from the REST API.
Basically when a user init a project locally (something like heroku create) my tool will use the Proxmox REST API to create a new LXC (with IP assigned by dhcp). But then I have to open the container web console manually from the Proxmox UI and type hostname -I to get the IP. Then I can use this IP to deploy the local app to the container.
Do you know a way to get the container IP address programmatically? Or a way to push data from a local laptop (without having access to the host) to the container?
Thanks for your help.
Gautier
I'm building a PaaS on top of Proxmox (very basic, just for educational purpose) and everything is working well except I can't get a container IP address from the REST API.
Basically when a user init a project locally (something like heroku create) my tool will use the Proxmox REST API to create a new LXC (with IP assigned by dhcp). But then I have to open the container web console manually from the Proxmox UI and type hostname -I to get the IP. Then I can use this IP to deploy the local app to the container.
Do you know a way to get the container IP address programmatically? Or a way to push data from a local laptop (without having access to the host) to the container?
Thanks for your help.
Gautier
Last edited: