mirror of
https://github.com/docker/compose.git
synced 2025-07-25 22:54:54 +02:00
Merge pull request #512 from bfirsh/fix-entrypoint
Fix fig run entrypoint option
This commit is contained in:
commit
9df5481066
@ -264,13 +264,13 @@ class TopLevelCommand(Command):
|
|||||||
Usage: run [options] SERVICE [COMMAND] [ARGS...]
|
Usage: run [options] SERVICE [COMMAND] [ARGS...]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-d Detached mode: Run container in the background, print
|
-d Detached mode: Run container in the background, print
|
||||||
new container name.
|
new container name.
|
||||||
--entrypoint Override the entrypoint of the image.
|
--entrypoint CMD Override the entrypoint of the image.
|
||||||
--no-deps Don't start linked services.
|
--no-deps Don't start linked services.
|
||||||
--rm Remove container after run. Ignored in detached mode.
|
--rm Remove container after run. Ignored in detached mode.
|
||||||
-T Disable pseudo-tty allocation. By default `fig run`
|
-T Disable pseudo-tty allocation. By default `fig run`
|
||||||
allocates a TTY.
|
allocates a TTY.
|
||||||
"""
|
"""
|
||||||
service = project.get_service(options['SERVICE'])
|
service = project.get_service(options['SERVICE'])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user