mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
docs(core): better documentation on docker tasks
This commit is contained in:
@@ -202,10 +202,11 @@ public class Docker extends TaskRunner<Docker.DockerTaskRunnerDetailResult> {
|
||||
|
||||
@Schema(
|
||||
title = "List of port bindings.",
|
||||
description = "Corresponds to the --publish (-p) option of the docker run CLI command using the format `ip:dockerHostPort:containerPort/protocol`. Possible example : \n" +
|
||||
"- 8080:80/udp" +
|
||||
"- 127.0.0.1:8080:80" +
|
||||
"- 127.0.0.1:8080:80/udp"
|
||||
description = "Corresponds to the `--publish` (`-p`) option of the docker run CLI command using the format `ip:dockerHostPort:containerPort/protocol`.\n" +
|
||||
"Possible example :\n" +
|
||||
"- `8080:80/udp`" +
|
||||
"- `127.0.0.1:8080:80`" +
|
||||
"- `127.0.0.1:8080:80/udp`"
|
||||
)
|
||||
@PluginProperty(dynamic = true)
|
||||
protected List<String> portBindings;
|
||||
|
||||
Reference in New Issue
Block a user