Asim-Tahir / docker-compose.fish

docker-compose.fish is an efficient Fish plugin meticulously crafted to enhance and simplify Docker Compose workflows. With a focus on optimizing multi-container application management, it empowers users to navigate complex setups effortlessly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-compose.fish

Docker Compose plugin for Oh My Fish and Fisher, based loosely on the Oh My Zsh's Docker Compose Plugin

MIT License Fish Shell v3.6.0 Oh My Fish Framework


Install

Oh My Fish:

omf install https://github.com/Asim-Tahir/docker-compose.fish

Fisher:

fisher install Asim-Tahir/docker-compose.fish

Abbreviations Usage

After installing the docker-compose.fish plugin, can inspect the abbreviations with the following command:

abbr --show | grep dcupdb

Note

For all abbreviations, if the docker compose command is available, use docker compose, otherwise use docker-compose.

Up

Abbreviation Command
dcup docker compose up 
dcupb docker compose up --build 
dcupd docker compose up -d 
dcupdb docker compose up -d --build 

Down

Abbreviation Command
dcdn docker compose down

Logs

Abbreviation Command
dcl docker compose logs
dclf docker compose logs -f
dclF docker compose logs -f --tail 0

Lifecycle

Abbreviation Command
dcstart docker compose start
dcstop docker compose stop
dck docker compose kill
dcrestart docker compose restart

Run Command

Abbreviation Command
dce docker compose exec
dcr docker compose run

Everything Else

Abbreviation Command
dco docker compose
dcb docker compose build
dcps docker compose ps
dcrm docker compose rm
dcpull docker compose pull

Credit

Base structure heavily inspired from jhillyerd/plugin-git. Thanks for the amazing plugin.

License

MIT © Asim Tahir

About

docker-compose.fish is an efficient Fish plugin meticulously crafted to enhance and simplify Docker Compose workflows. With a focus on optimizing multi-container application management, it empowers users to navigate complex setups effortlessly.

License:MIT License


Languages

Language:Shell 100.0%