Lucky Container Set-Entrypoint
Set the containers entrypoint
.
Usage
set-entrypoint [FLAGS] [OPTIONS] [entrypoint]
Flags
Arg | Environment Variable | Description |
---|---|---|
-u , --unset | Unset the entrypoint instead of setting it. The container will use the default entrypoint. |
Options
Arg | Environment Variable | Description |
---|---|---|
-c , --container <name> | The name of the container to update. If not specified the default container will be used |
Positionals
Arg | Environment Variable | Description |
---|---|---|
<entrypoint> | The entrypoint for the container |
Example
Set the container entry point and command so that it will tail -f /dev/null
:
$ lucky container set-entrypoint tail
# Because command arg starts with a `-` it must come after a lone `-` arg
$ lucky container set-command -- -f /dev/null