-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
RFE: Add "rename" subcommand for better Docker compatibility #1925
Comments
I agree the feature from docker would be useful. Shutting down and removing the container then creating a new one isn't a valid answer when you run containers in production. |
I was thinking about a |
@mheon hello :). Fact is, we really rely on the container name for a lot of tasks, and we need it to be as stable as possible - like docker ;).
I don't know if @EmilienM has other thoughts.. ? |
During a rename, can the container ID change ? |
@baude I think the id can change - at least, I see no reason for us to base our workflows on ids as they aren't predictable, on the contrary to the name (hence the need of the "rename" :) ). |
Aliases would work like container names for everything except PS, where
we'd probably need a separate column for them (would be good enough for
grep, but probably break things if you're parsing the output of PS). Of
course, if you wanted to filter to a single container based on name/alias,
we could make that work exactly like it does now
…On Mon, Dec 3, 2018, 11:54 Cédric Jeanneret ***@***.*** wrote:
@baude <https://github.com/baude> I think the id can change - at least, I
see no reason for us to base our workflows on ids as they aren't
predictable, on the contrary to the name (hence the need of the "rename" :)
).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1925 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHYHCCVeIqOKeDvdJDLmn3IDk9HSwFrBks5u1VdSgaJpZM4Y-4ds>
.
|
@mheon hmm ok. well, I think we can give a try? |
I think I can slot this in early next week |
Hello @mheon - any news for this? :) Cheers, C. |
hello @mheon - any news? We have a really ugly work-around, and would really appreciate something more "nice" :). |
I'll bump it up the to-do list again, but no promises - things consistently keep managing to explode and require attention. |
@mheon This probably goes along with the clone stuff. |
Seems like this would be something for a new developer to take a stab at? |
Agree - if we have any interns coming on, or anyone who wants to take a
first issue, a clone command is a good starting point.
…On Sat, Apr 13, 2019, 04:58 Daniel J Walsh ***@***.***> wrote:
Seems like this would be something for a new developer to take a stab at?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1925 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHYHCG6aM0-QLs-3f5kDvdeeLhrfYsoSks5vgZwbgaJpZM4Y-4ds>
.
|
@dougsland interested in trying a Podman issue? Then we can get you a Podman sticker too! |
@TomSweeneyRedHat sure thing, let me check and dig this. |
@dougsland are you working on this issue? can I take this up? |
@weirdwiz I am in a conference right now but my plan is continue on this next week. However, if you have any patch ready to go fell free to submit. |
@dougsland I see, I will leave you to it then as you are already working on it 😀 |
@dougsland @ashley-cui @weirdwiz @QiWang19 Since this never made progress could someone verify that they are working on it, or grab it for themselves. |
I can take this if @dougsland hasn't stated. |
To be 100% clear here: I don't think |
(Aliases are also a potential option, but I think we should start with |
I am fine with this, as long as we have an alternative. |
FWIW, Docker has a rename.... https://docs.docker.com/engine/reference/commandline/rename/ |
@mheon Want to work on this with an Intern? |
I think first step is probably to convert all of these various issues requesting renaming, updating, moving into pods, etc into one single Beyond that, I need to do a bit of architecture work to figure out how this exactly should look, I don't know for sure how complex this is going to be. |
I was looking for a feature and came here. I hope it will be added soon. |
Best way to get new features is to open PRs :^) |
A friendly reminder that this issue had no activity for 30 days. |
Sadly coming up on two years on this one |
A friendly reminder that this issue had no activity for 30 days. |
This one got a little more active this week. |
A friendly reminder that this issue had no activity for 30 days. |
Still being worked on, not sure if it will make podman 3.0 though? |
Being worked on in #8955 |
kind feature
Description
Docker has a "rename" subcommand allowing to change a container name. This feature is missing in podman, and is useful in some cases.
Thank you!
The text was updated successfully, but these errors were encountered: