You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/inc/build/_configuration.adoc
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,9 @@ a| Scan the archive specified in `dockerArchive` and find the actual repository
120
120
| *shell*
121
121
| Shell to be used for the *runCmds*. It contains *arg* elements which are defining the executable and its params.
122
122
123
+
| *retries*
124
+
| If pulling an image is required, how often should a pull be retried before giving up. This useful for flaky registries which tend to return 500 error codes from time to time. The default is 0 which means no retry at all.
125
+
123
126
| *runCmds*
124
127
| Commands to be run during the build process. It contains *run* elements which are passed to the shell. Whitespace is trimmed from each element and empty elements are ignored. The run commands are inserted right after the assembly and after *workdir* into the Dockerfile. This tag is not to be confused with the `<run>` section for this image which specifies the runtime behaviour when starting containers.
Copy file name to clipboardExpand all lines: src/main/asciidoc/inc/start/_configuration.adoc
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ In addition to the <<global-configuration>>, this goal supports the following gl
9
9
| Default pattern for naming all containers when they are created. See <<container-name, Container Names>> for details.
10
10
| `docker.containerNamePattern`
11
11
12
+
| *retries*
13
+
| If pulling an image is required, how often should a pull be retried before giving up. This useful for flaky registries which tend to return 500 error codes from time to time. The default is 0 which means no retry at all.
14
+
| `docker.pull.retries`
15
+
12
16
| *showLogs*
13
17
| In order to switch on globally the logs *showLogs* can be used as global configuration (i.e. outside of `<images>`). If set it will print out all standard
14
18
output and standard error messages for all containers started. As value the images for which logs should be shown can be given as a comma separated list.
@@ -18,7 +22,6 @@ In addition to the <<global-configuration>>, this goal supports the following gl
18
22
| *startParallel*
19
23
| Starts docker images in parallel while dependencies expressed as <<start-links,Link>> or <<start-depends-on,dependsOn>> are respected. This option can significantly reduce the startup time because independent containers do not need to wait for each other.
20
24
| `docker.startParallel`
21
-
22
25
|===
23
26
24
27
The `<run>` configuration element knows the following sub elements:
Copy file name to clipboardExpand all lines: src/main/asciidoc/inc/watch/_configuration.adoc
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,22 @@ below how this can be specified.
49
49
| *watchPostGoal*
50
50
| A maven goal which should be called if a rebuild or a restart has been performed. This goal must have the format `<pluginGroupId>:<pluginArtifactId>:<goal>` and the plugin must be configured in the `pom.xml`. For example a post-goal `io.fabric8:fabric8:delete-pods` will trigger the deletion of PODs in Kubernetes which in turn triggers are new start of a POD within the Kubernetes cluster. The value specified here is the the default post goal which can be overridden by `<postGoal>` in a `<watch>` configuration.
51
51
|
52
+
53
+
| *keepRunning*
54
+
| If set to `true` all container will be kept running after `{plugin}:watch` has been stopped. By default this is set to `false`.
55
+
| `docker.keepRunning`
56
+
57
+
| *keepContainer*
58
+
| As for `{plugin}:stop`, if this is set to `true` (and `keepRunning` is disabled) then all container will be removed after they have been stopped. The default is `true`.
59
+
| `docker.keepContainer`
60
+
61
+
| *removeVolumes*
62
+
| if set to `true` will remove any volumes associated to the container as well. This option will be ignored if either `keepContainer` or `keepRunning` are `true`.
63
+
| `docker.removeVolumes`
64
+
65
+
| *retries*
66
+
| If pulling an image is required, how often should a pull be retried before giving up. This useful for flaky registries which tend to return 500 error codes from time to time. The default is 0 which means no retry at all.
67
+
| `docker.pull.retries`
52
68
|===
53
69
54
70
Image specific watch configuration goes into an extra image-level `<watch>` section (i.e. `+<image><watch>...</watch></image>+`). The following parameters are recognized:
0 commit comments