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

update docker image for existing pod using runpodctl #35

Open
oatmill opened this issue Apr 5, 2023 · 1 comment
Open

update docker image for existing pod using runpodctl #35

oatmill opened this issue Apr 5, 2023 · 1 comment

Comments

@oatmill
Copy link

oatmill commented Apr 5, 2023

Hi, is there any way to update container image for my running pod, just like edit pod option?

It seems that it's only possible to create a new pod with a new gpu using create command, but not with the gpu I already owned.

I hope there's a way to update container image only, not changing pod id & gpu.

@jojje
Copy link
Contributor

jojje commented Oct 1, 2024

Why would you want to do that, rather than create a new pod?

From what I can see in the WebUI, changing anything to a pod will result in it being terminated (destroyed) and rebuilt from scratch again. It makes sense, since this limitation is a core-limitation of docker itself; one can't change anything about a created container once it's been launched (immutability). A change requires creating a new container.

It's rather confusing that runpod even presents a "change container" feature in the web console when the tech they're using doesn't support that by design.

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

No branches or pull requests

2 participants