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

Some ideas #80

Open
lsv opened this issue May 6, 2016 · 5 comments
Open

Some ideas #80

lsv opened this issue May 6, 2016 · 5 comments

Comments

@lsv
Copy link

lsv commented May 6, 2016

  • List of what keys are able, just like in htop - fast overview :)
  • How to force delete a image? 409 Client Error: Conflict ("b'conflict: unable to delete 3810ba4a12d7 (must be forced)
  • When in a "tab" (like inspected a image, and I want to get back to overview, I would normally use q, but this closes sen completely, maybe use q to just close the "tab" (you call a tab a buffer, properly a vim thing?)
  • @ refresh listing - so how does you type a @ - AltGr + 2 does not work?
@TomasTomecek
Copy link
Owner

List of what keys are able, just like in htop - fast overview :)

This is a very good idea! Especially when number of keys will likely grow in future. (personally I like this very much in mc/htop)

How to force delete a image?

Another solid RFE.

When in a "tab" (like inspected a image, and I want to get back to overview, I would normally use q, but this closes sen completely, maybe use q to just close the "tab" (you call a tab a buffer, properly a vim thing?)

You can use ctrl+o or ctrl+i (just like jumps in vim) to move to another buffer. There's also an issue opened #21 which suggests the same thing: q should just quit buffer, not the whole app. Since this is another request, I'm seriously considering of making it happen.

@ refresh listing - so how does you type a @ - AltGr + 2 does not work?

I'm using US keyboard layout and I type @ with shift+2.

Thanks a lot for your great suggestions!

@lsv
Copy link
Author

lsv commented May 6, 2016

I'm using US keyboard layout and I type @ with shift+2.

I had that in mind, so yeah, in scandinavian (im not sure if other countries) uses AltGr+2 for @, so maybe change this to a more "default" key.

I can see you haven't used many F keys, maybe utalize those more? - Most of htop keys are F keys, yes I know on Mac's that it requires two keys to get a Fx key.

Thanks a lot for your great suggestions!

You are welcome, and thanks for sharing this awesome project on reddit, and yes I have already used it, and found tons of images that are very old (many from the beginning of dockers life, so nice to get cleaned them out - and yes, as storage is not an issue, I haven't actually found time to inspect and clean them up - but with your tool, its so much easier.

Another suggestion - Im not sure if this is actually possible, but would it be a good suggestion to add the path from where the docker container got created from, and maybe mark it with red, if that path does not exists anymore?

@TomasTomecek
Copy link
Owner

Yup, using more f-keys sounds good.

To be honest, that was the reason I started sen -- to interactively remove my stall containers and images :)

to add the path from where the docker container got created from

I'm sorry but I don't understand, could you elaborate please? sen operates on responses from docker engine, so if that's available in inspect, it's doable.

@lsv
Copy link
Author

lsv commented May 10, 2016

I'm sorry but I don't understand, could you elaborate please? sen operates on responses from docker engine, so if that's available in inspect, it's doable.

On some containers, it is there, but its under mount points - Dont know what I was looking at, properly I was a bit to sleepy, I just saw my path on my machine :)

@TomasTomecek
Copy link
Owner

You can bind mount a directory from your host system inside containers:

-v /home/me/my/volume:/volume-data

As I understand your comment, you would like sen to check whether path
/home/me/my/volume is still available on your host system.

I think this feature request makes sense: sen could stat that directory an report
its findings. The only issue is that sen might not have permissions to access
the directory.

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