Jose Diaz-Gonzalez
3796c666d1
Merge pull request #9081 from dokku/run-logs-args
...
fix: validate run:logs arguments
2026-09-25 18:05:11 -04:00
Jose Diaz-Gonzalez
1516f84cee
fix: validate run:logs arguments
2026-09-24 18:43:50 -04:00
Jose Diaz-Gonzalez
a4484d354b
fix: validate app name in app-scoped commands
2026-09-24 18:14:53 -04:00
Jose Diaz-Gonzalez
1a376c3622
fix: prevent command injection via docker options eval
...
Values supplied through docker options, `--ttl-seconds`, and `-e` flowed into a Bash `eval` during build, deploy, and run, letting a low-privileged user execute arbitrary commands on the host as the dokku user. These arguments are now tokenized and passed through to the container verbatim, without shell expansion. A one-time migration repairs stored labels whose backticks were saved with a stray backslash so Traefik-style rules stay valid on the next deploy.
2026-07-19 01:42:12 -04:00
Jose Diaz-Gonzalez
a6d65c821f
feat: implement cron and one-off run task TTLs
...
Closes #7938
2025-11-18 16:46:31 -05:00
Jose Diaz-Gonzalez
20be426125
feat: add support for locking in docker-local commands
2025-11-10 03:07:33 -05:00
Jose Diaz-Gonzalez
798b176985
fix: correct issue where --force-tty was not properly supported by run:detached calls
...
Closes #6606
2024-02-25 00:02:06 -05:00
Tasos Maschalidis
95c049609f
Exit if both --force-tty and --no-tty are set
2024-02-11 13:54:10 +02:00
Tasos Maschalidis
a62cb1de8f
Handle --force-tty flag in fn-run
2024-02-11 11:50:34 +02:00
Jose Diaz-Gonzalez
5ffbcf24de
fix: always set -- on docker run commands internally to avoid parsing flags on specified commands
2024-01-18 21:00:42 -05:00
Jose Diaz-Gonzalez
d6920230db
feat: implement run:logs command
...
Closes #5312
2022-11-02 16:49:43 -04:00
Jose Diaz-Gonzalez
aa810cda7d
feat: implement run:stop command
...
Closes #5169
2022-10-31 10:55:17 -04:00
Jose Diaz-Gonzalez
69738abec2
feat: add json format output to run:list
...
Also add some unit tests to the command.
Closes #5171
2022-08-22 22:37:04 -04:00
Jose Diaz-Gonzalez
ab13477865
fix: properly set cron-id from flag
2022-03-12 02:25:43 -05:00
Jose Diaz-Gonzalez
5a1a30efeb
feat: add ability to list one-off dynos
2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
61d4b478ce
feat: add --no-tty flag to run and run:detached commands
2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
350a84d253
refactor: deprecate the --detach flag in favor of run:detached
2021-07-27 02:58:44 -04:00
Jose Diaz-Gonzalez
618158a0f3
refactor: deprecate the --rm and --rm-container flags
...
These flags are not commonly invoked by users, causing issues when cleaning up old containers. Rather than instruct users to use some random flag, just change the default to what is likely to be more common.
2021-07-27 02:58:19 -04:00
Jose Diaz-Gonzalez
dbc3d82017
refactor: move run command to it's own plugin
2021-07-27 02:56:39 -04:00