Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 382 Bytes

cmd-run.md

File metadata and controls

16 lines (11 loc) · 382 Bytes

run command

Run a command on a service. If pwd is in the build path of one of the docker-compose.yml services, run on that service, otherwise ask.

Usage

dock-cli run cat /etc/passwd
dock-cli run --service=mysql cat /etc/passwd

Available options

  • --service=SERVICE (or -s SERVICE) where SERVICE is the name of a service from docker-compose.yml.