A Docker Compose aliases plugin forked from demartini/dc.fish to update from 'docker-compose' to 'docker compose' which has been used since Docker Compose V2.
With fisher:
fisher install josephsellers/dc.fish
Abbreviation | Command | Description |
---|---|---|
dco | docker compose |
Build or rebuild services. |
dcb | docker compose build |
Build or rebuild services. |
dccg | docker compose config |
Validate and view the Compose file. |
dcdown | docker compose down |
Stop and remove containers, networks, images, and volumes. |
dce | docker compose exec |
Execute a command in a running container. |
dcev | docker compose events |
Receive real time events from containers. |
dch | docker compose help |
Get help on a command. |
dci | docker compose images |
List images. |
dck | docker compose kill |
Kill containers. |
dcl | docker compose logs |
View output from containers. |
dclf | docker compose logs -f |
Show logs and follow output. |
dcp | docker compose pause |
Pause services. |
dcps | docker compose ps |
List containers. |
dcport | docker compose port |
Print the public port for a port binding. |
dcpull | docker compose pull |
Pull service images. |
dcpush | docker compose push |
Push service images. |
dcrun | docker compose run |
Run a one-off command. |
dcrm | docker compose rm |
Remove stopped containers. |
dcrstart | docker compose restart |
Restart services. |
dcstart | docker compose start |
Start services. |
dcstop | docker compose stop |
Stop services. |
dctop | docker compose top |
Display the running processes. |
dcunp | docker compose unpause |
Unpause services. |
dcup | docker compose up |
Create and start containers |
dcupd | docker compose up -d |
Create and start containers in the background. |
dcv | docker compose version |
Show the Docker-Compose version information. |
Abbreviation | Command | Description |
---|---|---|
dcprune | docker system prune --all --volumes --force |
Remove unused data. |