Ben 3a471a05f9 Update docker compose references | 2 rokov pred | |
---|---|---|
.. | ||
README.md | 3 rokov pred | |
alias.zsh | 2 rokov pred | |
init.zsh | 7 rokov pred |
Defines Docker aliases and functions.
dk
is short for docker
dka
Attach to a running containerdkb
Build an image from a Dockerfiledkd
Inspect changes on a container's filesystemdkdf
Show docker filesystem usagedke
Run a command in a running containerdkE
Run an interactive command in a running containerdkh
Show the history of an imagedki
List imagesdkin
Return low-level information on a container, image or taskdkk
Kill a running containerdkl
Fetch the logs of a containerdkli
Log in to a Docker registrydklo
Log out from a Docker registrydkls
is alias for dkps
dkp
Pause all processes within one or more containersdkP
Unpause all processes within one or more containersdkpl
Pull an image or a repository from a registrydkph
Push an image or a repository to a registrydkps
List containersdkpsa
List all containers (default lists just running)dkr
Run a command in a new containerdkR
Run an interactive command in a new container and automatically remove
the container when it exitsdkRe
like dkR
and set entry point to /bin/bash
dkrm
Remove one or more containersdkrmi
Remove one or more imagesdkrmC
Clean up exited containersdkrmI
Clean up dangling imagesdkrmV
Clean up unused volumes ( Docker >= 1.9 )dkrn
Rename a containerdks
Start one or more stopped containersdkS
Restart a containerdkss
Display a live stream of container(s) resource usage statisticsdksv
Save one or more images to a tar archive (streamed to STDOUT by
default)dkt
Tag an image into a repositorydktop
Display the running processes of a containerdkup
Update configuration of one or more containersdkV
Manage Docker volumesdkv
Show the Docker version informationdkw
Block until a container stops, then print its exit codedkx
Stop a running containerdkC
Manage containersdkCa
Attach to a running containerdkCcp
Copy files/folders between a container and the local filesystemdkCd
Inspect changes on a container's filesystemdkCe
Run a command in a running containerdkCin
Display detailed information on one or more containersdkCk
Kill one or more running containersdkCl
Fetch the logs of a containerdkCls
List containersdkCp
Pause all processes within one or more containersdkCpr
Remove all stopped containersdkCrn
Rename a containerdkCS
Restart one or more containersdkCrm
Remove one or more containersdkCr
Run a command in a new containerdkCR
Run an interactive command in a new container and automatically remove
the container when it exitsdkCRe
like dkCR
and set entry point to /bin/bash
dkCs
Start one or more stopped containersdkCss
Display a live stream of container(s) resource usage statisticsdkCx
Stop one or more running containersdkCtop
Display the running processes of a containerdkCP
Unpause all processes within one or more containersdkCup
Update configuration of one or more containersdkCw
Block until one or more containers stop, then print their exit codesdkI
Manage imagesdkIb
Build an image from a DockerfiledkIh
Show the history of an imagedkIim
Import the contents from a tarball to create a filesystem imagedkIin
Display detailed information on one or more imagesdkIls
List imagesdkIpr
Remove unused imagesdkIpl
Pull an image or a repository from a registrydkIph
Push an image or a repository to a registrydkIrm
Remove one or more imagesdkIsv
Save one or more images to a tar archive (streamed to STDOUT by
default)dkIt
Tag an image into a repositorydkV
Manage volumesdkVin
Display detailed information on one or more volumesdkVls
List volumesdkVpr
Remove all unused volumesdkVrm
Remove one or more volumesdkN
Manage networksdkNs
Connect a container to a networkdkNx
Disconnects a container from a networkdkNin
Displays detailed information on a networkdkNls
Lists all the networks created by the userdkNpr
Remove all unused networksdkNrm
Deletes one or more networksdkY
Manage DockerdkYdf
Show docker filesystem usagedkYpr
Remove unused datadkK
Manage Docker stacksdkKls
List stacksdkKps
List the tasks in the stackdkKrm
Remove the stackdkW
Manage Docker Swarmdkm
is short for docker-machine
dkma
Get or set the active machinedkmcp
Copy files between machinesdkmd
Set up the default machine ; alowing you to use dkme
without
argumentsdkme
Set up the environment for the Docker client (eg: dkme staging
to
toggle to staging)dkmin
Inspect information about a machinedkmip
Get the IP address of a machinedkmk
Kill a machinedkmls
List machinesdkmpr
Re-provision existing machinesdkmps
is alias for dkmls
dkmrg
Regenerate TLS Certificates for a machinedkmrm
Remove a machinedkms
Start a machinedkmsh
Log into or run a command on a machine with SSHdkmst
Get the status of a machinedkmS
Restart a machinedkmu
Get the URL of a machinedkmup
Upgrade a machine to the latest version of DockerdkmV
Show the Docker Machine version or a machine docker versiondkmx
Stop a machinedkc
is short for docker-compose
dkcb
Build or rebuild servicesdkcB
Build or rebuild services and do not use cache when building the imagedkcd
Stop and remove containers, networks, images, and volumesdkce
Execute a command in a running containerdkck
Kill containersdkcl
View output from containersdkcls
is alias for dkcps
dkcp
Pause servicesdkcP
Unpause servicesdkcpl
Pull service imagesdkcph
Push service imagesdkcps
List containersdkcr
Run a one-off commanddkcR
Run a one-off command and remove container after run.dkcrm
Remove stopped containersdkcs
Start servicesdkcsc
Set number of containers for a servicedkcS
Restart servicesdkcu
Create and start containersdkcU
Create and start containers in detached mode: Run containers in the
background, print new container namesdkcV
Show the Docker-Compose version informationdkcx
Stop servicesIf you're having problems, use the Prezto issue tracker.
This module is a copy of akarzim/zsh-docker-aliases by François Vantomme (MIT License).