Skip to content
/ dckr Public

A Docker CLI utility with shortcuts and added functionalities

License

Notifications You must be signed in to change notification settings

RoyAtanu/dckr

Repository files navigation

dckr

Build Executables

A Docker CLI alternative with shortcuts and added functionalities


What is different in dckr from Docker CLI

  • Search function

    Docker artifacts (containers/images) can be searched by partially entering its ID or name

    Search functionality

  • Shortcuts for arguments

    You can use shortcuts in dckr instead of typing full argument names (e.g. c instead of container). Check documentation for more info.

    List functionality

  • Cleanup arguments

    dckr provides shortcuts to bulk cleanup of docker artifacts by running single command

    ./dckr container clean will delete all containers at one go

  • Colored console output

    dckr prints colored texts in console for highlighting key information (e.g. # of items, status etc.)


How to use this utility

Instructions to use the CLI to can be found by running ./dckr help

Refer dckr/help.py for details


How to build the executable from source

Prerequisites

You should have following packages installed -

  • Python 3
  • pip3
  • pyinstaller

Instructions

  1. Go to the root folder of repo

  2. [Optional] Setup virtual env for python if not done already

    python3 -m venv .venv

  3. Run the following command to install the dependencies

    pip3 install -r requirements.txt

  4. Run the following command to build the executable

    pyinstaller --onefile --console dckr/dckr.py


About

A Docker CLI utility with shortcuts and added functionalities

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published