Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to modify integrations after creating a container. #1411

Closed
Magicrafter13 opened this issue Sep 18, 2023 · 2 comments
Closed

Ability to modify integrations after creating a container. #1411

Magicrafter13 opened this issue Sep 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Magicrafter13
Copy link

I think cockpit-podman desparately needs this - an edit button, right around here:
image
There are a few scenarios where this is useful, but here's my angle: cockpit and its addons make system administration easier, and they're especially great for warming up to new concepts. For me, though I can do most things from a terminal, containers are fairly new to me and my workflow - I'm used to doing everything "manually".

As such, it tends to take some experimenting to get these working (any that need file system or host port integrations). And when I find myself in this situation (say I put the wrong port number in), what I'm forced to do is delete the container, and re-create it (meaning I also need to remember the other settings I already gave it too...). In the best cases this is a minor inconvenience, but in the worst case this could mean losing a ton of data that the user may have no idea how to get out from the container (assuming they even can get it out - or even put it back in) - and I'm referring to containers for things such as GitLab for example - containers with big self managed data storage of some kind.

I did try manually editing the file(s) I found with the port numbers I wanted to change once, but apparently the files podman uses are check-summed, so I basically broke it and had to wipe all of its data...

@Magicrafter13 Magicrafter13 added the enhancement New feature or request label Sep 18, 2023
@jelly
Copy link
Member

jelly commented Sep 19, 2023

Thanks for opening this issue, this is a duplicate of #1293

Containers in nature are immutable, they are not really meant to be edited by a user. In the issue above we do consider an "re-create" button as that is essentially what you are asking for.

@jelly jelly closed this as completed Sep 19, 2023
@Magicrafter13
Copy link
Author

Thanks for opening this issue, this is a duplicate of #1293

Containers in nature are immutable, they are not really meant to be edited by a user. In the issue above we do consider an "re-create" button as that is essentially what you are asking for.

Even if you cannot change the port on the container side, you should be able to change which port it is mapped to on the host side. Same with the mount locations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants