Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

container.fish

Apple Container plugin for Oh My Fish and Fisher, providing abbreviations for the Apple Container CLI

MIT License Fish Shell v3.6.0 Oh My Fish Framework


Install

Oh My Fish:

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

Fisher:

fisher install Asim-Tahir/container.fish

Abbreviations Usage

After installing the container.fish plugin, you can inspect the abbreviations with:

abbr --show | grep cstopa

Core

Abbreviation Command
c container

Image

Abbreviation Command
cb container build
cii container image inspect
cils container image ls
cipl container image pull
cipu container image push
cirm container image rm
ciprune container image prune
cit container image tag
cisave container image save
ciload container image load

Container

Abbreviation Command
cin container inspect
cl container list
cla container list --all
clq container list --quiet
clo container logs
cr container run
crit container run -it
crm container delete
crm! container delete --force
cst container start
cstp container stop
cstopa stop all running containers1
cxc container exec
cxcit container exec -it
ccp container copy
cexp container export
cprune container prune
cstats container stats

Builder

Abbreviation Command
cbstart container builder start
cbstop container builder stop
cbstat container builder status
cbrm container builder delete

Network

Abbreviation Command
cnc container network create
cni container network inspect
cnls container network ls
cnrm container network delete
cnprune container network prune

Volume

Abbreviation Command
cvc container volume create
cvi container volume inspect
cvl container volume list
cvls container volume ls
cvrm container volume delete
cvprune container volume prune

Machine

Abbreviation Command
cmcr container machine create
cml container machine list
cmls container machine ls
cmrun container machine run
cmstp container machine stop
cmrm container machine delete
cmi container machine inspect

System

Abbreviation Command
csstart container system start
csstop container system stop
csstat container system status
csver container system version
cslog container system logs
csdf container system df

Registry

Abbreviation Command
creg container registry
cregln container registry login
creglo container registry logout
cregl container registry list

Credit

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

License

MIT © Asim Tahir

Footnotes

  1. Run: container stop (container list --quiet)

Releases

Used by

Contributors

Languages