Displaying IP of container in GUI?

jeffsui

New Member
Dec 11, 2022
6
8
3
So for VMs (probably running the qemu-agent) I'm able to see the IP listed in the summary tab of the PVE gui. For containers the best i can find is go to the network tab, look at the Mac address and then query my router to find the IP.

VM Status:

1673396183389.png
Container Status
1673396329334.png


Container network tab:
1673397201674.png

Is there a way to get the IP from the GUI or is this not possible?


Thanks!
 
I'm having the same issues though I think I know my IP address I'm struggling to connect to Portainer for the first time on installing it. It gave me an IP address and was told to add:9000 at the end of it but it's not loading the browser or finding it so not sure if it is the correct IP address or the correct port. Any clues or help me great!
 
  • Like
Reactions: YFanha
over 4 years and GUI still not uptated to pull details from
lxc-info -n <CONTAINER ID>

I guess at least it shows MAC so that will help me when identifying in mikrotiks gui
 
Thank you so much. It makes life easier with a very simple solution.
Maybe Proxmox can re-place the IP from the TAG in the GUI.
Seems small development effort to me, but I may be wrong, I'm not a coder.
 
This is the answer, and there is are good comments in the bug report. It would be great to be able to see the IP address assigned via DHCP to the container without having to know a command line command.
As paid proxmox customer I would like to ask when this issue will be addressed. This is really annoying and makes ansible inventory plugin a bit unusable...
 
I know that's not what's asked initially, but in my case to remember the IP of the VM/containers that I want to have a fixed IP I set the static DHCP in the router like:
CT/VM ID -> IP
100 -> 192.168.1.100
101 -> 192.168.1.101
and so on...

obviously this doesn't work for the question: i start a new container, i want to know its IP without assigning it a static IP... but it's something..

(I do that in this way because I prefer to set all the static ips of my network in a single place if i need that, so i leave dhcp for all the containers in proxmox)
 
Last edited:
in the host shell i can use: pct exec <ctid> ip a and look for the IP there, but agree this HAS to be built in somehow :|
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!