Skip to content

Commit 67263e1

Browse files
committed
Add docker:exec documentation
1 parent 0ff8e41 commit 67263e1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

documentation/docs/content/Commands/index.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,25 @@ Option Description
7575
--blacklist=term Don't build Docker images with *term* in name *string value*
7676
===================================== ================================================================================= ===============================================
7777

78+
bin/console docker:exec
79+
~~~~~~~~~~~~~~~~~~~~~~~
80+
81+
Execute argument as command inside all docker images.
82+
83+
eg. ``bin/console docker:exec --whitelist php -- 'php -v'``
84+
85+
Tip: Separate the docker image command arguments from the console commands with two dashes.
86+
87+
===================================== ================================================================================= ===============================================
88+
Option Description Values
89+
===================================== ================================================================================= ===============================================
90+
-v Verbose output *option only*
91+
--dry-run Don't really execute build process *option only*
92+
--whitelist=term Only build Docker images with *term* in name *string value*
93+
--blacklist=term Don't build Docker images with *term* in name *string value*
94+
===================================== ================================================================================= ===============================================
95+
96+
7897
bin/console test:testinfra
7998
~~~~~~~~~~~~~~~~~~~~~~~~~~
8099

0 commit comments

Comments
 (0)