cockpit-podman
cockpit-podman copied to clipboard
CPU share and RAM limit is not visible
After creating an container, where I specified all this things, it is not visible any more. At least I am not able to remember what volumes and environment variables I entered during creation. When I have to recreate the container in case of updates/testing... I have to elaborate everything from scratch if I did not created it via CLI where I can check the bash_history or saved the command somewhere... For me it is mandatory that I see everything what I am able to configure (at least if configured), otherwise there is no parity and it is inconsistent.
i second the above request, i was looking to replace docker/portainer with podman/cockpit, but it feels the ui is currently still too limited. i would like to create and manage networks and volumes, and also view the settings which were used to create a container, and be able to update those parameters.
Yikes.
This is definitely an oversight and we should show this at least in the details.
Hopefully we can add this ASAP. Sorry it hasn't been already. It should be shown.
With environment variables being more dynamic than volumes it can feel limiting to manage them in the cockpit terminal.
The memory limit is already shown, first one is limited to 100 MB the other one uses the default limit (our test vm so 1GB)
Mounts (volumes) information is available in podman's rest api along with the readable/writeable status. SELinux labels do not seem to be exposed as of yet. Issue here https://github.com/containers/podman/issues/13038
Did a bit of hacking myself, and came up with the following diff, which if applied against today's repository gives me volumes (mounts), networks, and environment variables in the detailed view. Now ideally there would be a way to edit these and recreate an existing container with the updated values. That's an exercise for another day ;-) diff.txt
@hurenkam would you be interested in sending PR with your changes?
I have added a pull request with my changes
Link to PR