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
If the duration for an interval, start-period, or timeout flag of a `HEALTHCHECK doesn't specify the unit of time, the engine will throw an error. We should do the same.
FROM scratch AS setup
HEALTHCHECK --interval=10 CMD ls
$ docker build .
Sending build context to Docker daemon 86.15MB
Step 1/2 : FROM scratch AS setup
--->
Step 2/2 : HEALTHCHECK --interval=10 CMD ls
time: missing unit in duration 10
The text was updated successfully, but these errors were encountered:
If the duration for an
interval
,start-period
, ortimeout
flag of a `HEALTHCHECK doesn't specify the unit of time, the engine will throw an error. We should do the same.The text was updated successfully, but these errors were encountered: