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

[FEATURE REQUEST]: container update for compat endpoint #14678

Open
lukasmrtvy opened this issue Jun 21, 2022 · 11 comments
Open

[FEATURE REQUEST]: container update for compat endpoint #14678

lukasmrtvy opened this issue Jun 21, 2022 · 11 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@lukasmrtvy
Copy link

lukasmrtvy commented Jun 21, 2022

Hey, I am not sure if its a bug or a feature request, but Podman does not provide container update operation for compat endpoint, see https://docs.docker.com/engine/api/v1.41/#operation/ContainerUpdate

Use case:

  • temporarily boost container resources for faster starts

Related: #5763

Thanks

@mheon mheon added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 21, 2022
@mheon
Copy link
Member

mheon commented Jun 21, 2022

The architecture of Podman continues to prevent implementation of this functionality - we can't alter containers after creation. We were able to add the ability to make small changes (e.g. renaming, adding network aliases) but these changes were very difficult, and there's no real way to generalize them.

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@vrothberg
Copy link
Member

@mheon sounds like a can't fix?

@mheon
Copy link
Member

mheon commented Jan 19, 2023

We are discussing a major rewrite of the DB backend. If we're going to do that, might as well look into whether we can make this possible as part of it. I'll throw it in the bucket of issues we know we want fixed with the new DB, like making pod and container names no longer conflict.

@vrothberg
Copy link
Member

great idea, thanks, Matt!

@rahbari
Copy link

rahbari commented Jan 19, 2023

The update method in libpod api also respond with 404:
https://docs.podman.io/en/latest/_static/api.html#tag/containers/operation/ContainerUpdateLibpod
Is this a bug or it's not implemented yet?

@mheon
Copy link
Member

mheon commented Jan 19, 2023

Once we can implement the backend fully, we can enable the API.

@vrothberg
Copy link
Member

@mheon still planned?

@mheon
Copy link
Member

mheon commented Oct 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

6 participants