/plugin-docker

Primary LanguageShellMIT LicenseMIT

docker

A docker aliases plugin for Oh My Fish based loosely on the Oh My Zsh Git Plugin.

MIT License Fish Shell Version Oh My Fish Framework


Install

oh-my-fish:

$ omf install https://github.com/somallg/plugin-docker

Sample workflow

cd my-repo       # enter a git repo
dcd              # stop all docker compose services
dcb nginx        # build nginx service
dcu nginx        # start nginx service in detach mode
dlf nginx        # follow nginx logs

Usage

Abbreviation Command
d docker
dc docker compose
dcb docker compose build
dcd docker compose down
dcr docker compose restart
dcu docker compose up -d
deti docker exec -ti
dlf docker logs --follow --tail 200

License

MIT © somallg et al