mikescher / better-docker-ps Goto Github PK
View Code? Open in Web Editor NEWBecause `docker ps` is annoying and does not fit my monitor/terminal width
License: MIT License
Because `docker ps` is annoying and does not fit my monitor/terminal width
License: MIT License
Hello!
First of all, thank you for this tool! I absolutely love it! It makes quickly grasping docker ps
so much easier that looking at it's output is pure pleasure.
I've a question/suggestion.
Would you be interested in uploading dops
to package managers? I personally would be interested in AUR entries.
Thanks
If we pass more option flags to the docker ps
command in the concatenated short-form style, e.g. docker ps -aq
where the -q
flag is concatenated with the -a
flag to result in the combined -aq
flag, we do not get the correct output from dops
.
As an example, if we have the following situation
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
030aa141e0bc nginx "/docker-entrypoint.…" 4 minutes ago Exited (0) 3 minutes ago website
dops -a
works absolutely fine.
$ dops -a
CONTAINER ID NAME IMAGE TAG CREATED AT (+01:00 BST) STATE STATUS PUBLISHED PORTS
------------ ------- ----- --- ----------------------- -------- ------------------------ ---------------
030aa141e0bc website nginx 2023-05-18 16:00:36 [EXITED] Exited (0) 4 minutes ago
while, the -aq
combined flag does not produce the correct output. With docker ps -aq
, we get the container ID as expected i.e. 030aa141e0bc
.
However, dops -aq
produces an empty output. The long form, dops -a -q
does work correctly though. The bash/zsh/fish alias functions are also correspondingly broken.
Very good work, thank you for that.
Maybe I do not understand the --help fully, but as soon as I use the --format flag it turns out to look like the original "docker ps". For my use case it would be very handy to drop several columns used in dops and add others given in help. Therefore I'd like --format using as a customizable of showing columns.
Thanks anyways for your work, This helps me a lot
A lot of times, docker compose ps
looks as worse as docker ps
. Can you make this program work with docker compose ps
too?
Adding --compose
flag and have that aliased to docker compose ps
in the shell configuration files should be sufficient.
Hi there,
is it possible to add arm support (32bit) for Raspberry Pi 3?
Looked around, couldn't find anything that would allow sorting by column. Specifically container name, alphabetical would be great to easily locate a container.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.