SkillAgentSearch skills...

Docker.fish

Docker abbreviations plugin for Fish shell

Install / Use

/learn @Asim-Tahir/Docker.fish

README

<img src="https://cdn.rawgit.com/oh-my-fish/oh-my-fish/e4f1c2e0219a17e2c748b824004c8d0b38055c16/docs/logo.svg" align="left" width="192px" height="192px"/> <img align="left" width="0" height="192px" hspace="10"/>

docker.fish

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

MIT License Fish Shell v3.6.0 Oh My Fish Framework

<br/>

Install

Oh My Fish:

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

Fisher:

fisher install Asim-Tahir/docker.fish

Abbreviations Usage

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

abbr --show | grep dstopa

Image

| Abbreviation | Command | | ------------ | ---------------------------- | | dib | docker image build | | dii | docker image inspect | | dils | docker image ls | | dis | docker images | | dipu | docker image push | | dirm | docker image rm | | ddrmi | remove all unused images[^1] | | dit | docker image tag |

Container

| Abbreviation | Command | | ------------ | --------------------------- | | dcin | docker container inspect | | dcls | docker container ls | | dclsa | docker container ls -a | | dps | docker ps | | dpsa | docker ps -a | | dlo | docker container logs | | dpo | docker container port | | dr | docker container run | | drit | docker container run -it | | drm | docker container rm | | drm! | docker container rm -f | | dst | docker container start | | drs | docker container restart | | dstp | docker container stop | | dxc | docker container exec | | dxcit | docker container exec -it |

Network

| Abbreviation | Command | | ------------ | --------------------------- | | dnc | docker network create | | dncn | docker network connect | | dndcn | docker network disconnect | | dni | docker network inspect | | dnls | docker network ls | | dnrm | docker network rm |

Volume

| Abbreviation | Command | | ------------ | ----------------------- | | dvi | docker volume inspect | | dvls | docker volume ls | | dvprune | docker volume prune |

Everything Else

| Abbreviation | Command | | ------------ | ------------------------------- | | dpl[^2] | docker pull | | dbl | docker build | | dstopa[^3] | stop all running containers[^4] | | dtop | docker top |

Credit

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

License

MIT © Asim Tahir

[^1]: docker rmi (docker images --filter "dangling=true" -q --no-trunc) command removes all dangling images, which are untagged images that are not referenced by any container. [^2]: The original abbreviation in Oh My Zsh's Docker plugin for the docker pull command is dpu but renamed as dpl is more meaningful. [^3]: The original abbreviation in Oh My Zsh's Docker plugin for the docker stop (docker ps -q) command is dsta but renamed as dstopa is more meaningful. [^4]: docker stop (docker ps -q) command stops all running containers.

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated1mo ago
Forks0

Languages

Shell

Security Score

90/100

Audited on Feb 18, 2026

No findings