py-pps (short for "pretty-ps") is a simple command-line tool used as an alternative for the docker ps
command
As an everyday Docker user, the docker ps
command output always annoyed me.
The output is very wide and not very readable.
I wanted to have a better alternative to it, so I created py-pps.
Use the package manager pip to install py-pps.
- Use the following pip command to install py-pps
pip install --target="$HOME/pypps/" py-pps
- Install the Docker SDK for Python and Rich
pip install docker rich
- Add py-pps to your PATH (replace
.zshrc
with your shell's configuration file)
echo "PATH=$PATH:~/pypps/bin" >> ~/.zshrc
Simply run pps
in your terminal:
$ pps --help
usage: pps [-h] [-j] [-v]
optional arguments:
-h, --help show this help message and exit
-j, --json Print the conatiners' data in JSON format.
-v, --version Print the binary version information.
- Add tests
- Add additional functionality (such as filtering)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.