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
@@ -781,6 +783,14 @@ If enabled, makes the image read-only.
781
783
782
784
If ReadOnly is set to `true`, mount a read-write tmpfs on /dev, /dev/shm, /run, /tmp, and /var/tmp.
783
785
786
+
### `Retry=`
787
+
788
+
Number of times to retry the image pull when a HTTP error occurs. Equivalent to the Podman `--retry` option.
789
+
790
+
### `RetryDelay=`
791
+
792
+
Delay between retries. Equivalent to the Podman `--retry-delay` option.
793
+
784
794
### `Rootfs=`
785
795
786
796
The rootfs to use for the container. Rootfs points to a directory on the system that contains the content to be run within the container. This option conflicts with the `Image` option.
@@ -1611,6 +1621,8 @@ Valid options for `[Build]` are listed below:
1611
1621
| Network=host | --network=host |
1612
1622
| PodmanArgs=--pull never | --pull never |
1613
1623
| Pull=never | --pull never |
1624
+
| Retry=5 | --retry=5 |
1625
+
| RetryDelay=10s | --retry-delay=10s |
1614
1626
| Secret=secret | --secret=id=mysecret,src=path |
1615
1627
| SetWorkingDirectory=unit | Set `WorkingDirectory` of systemd unit file |
1616
1628
| Target=my-app | --target=my-app |
@@ -1757,6 +1769,14 @@ Set the image pull policy.
1757
1769
1758
1770
This is equivalent to the `--pull` option of `podman build`.
1759
1771
1772
+
### `Retry=`
1773
+
1774
+
Number of times to retry the image pull when a HTTP error occurs. Equivalent to the Podman `--retry` option.
1775
+
1776
+
### `RetryDelay=`
1777
+
1778
+
Delay between retries. Equivalent to the Podman `--retry-delay` option.
1779
+
1760
1780
### `Secret=`
1761
1781
1762
1782
Pass secret information used in Containerfile build stages in a safe way.
@@ -1843,6 +1863,8 @@ Valid options for `[Image]` are listed below:
1843
1863
| ImageTag=quay\.io/centos/centos:latest| Use this name when resolving `.image` references |
1844
1864
| OS=windows | --os=windows |
1845
1865
| PodmanArgs=--os=linux | --os=linux |
1866
+
| Retry=5 | --retry=5 |
1867
+
| RetryDelay=10s | --retry-delay=10s |
1846
1868
| TLSVerify=false | --tls-verify=false |
1847
1869
| Variant=arm/v7 | --variant=arm/v7 |
1848
1870
@@ -1941,6 +1963,14 @@ escaped to allow inclusion of whitespace and other control characters.
1941
1963
1942
1964
This key can be listed multiple times.
1943
1965
1966
+
### `Retry=`
1967
+
1968
+
Number of times to retry the image pull when a HTTP error occurs. Equivalent to the Podman `--retry` option.
1969
+
1970
+
### `RetryDelay=`
1971
+
1972
+
Delay between retries. Equivalent to the Podman `--retry-delay` option.
1973
+
1944
1974
### `TLSVerify=`
1945
1975
1946
1976
Require HTTPS and verification of certificates when contacting registries.
0 commit comments