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 you try to enter in characters for the interval, start-period, or timeout flag of a HEALTHCHECK instruction, the engine will throw an error. We should do the same and create a diagnostic for this case.
FROM scratch AS setup
HEALTHCHECK --start-period=a CMD ls
$ docker build .
Sending build context to Docker daemon 86.15MB
Step 1/2 : FROM scratch AS setup
--->
Step 2/2 : HEALTHCHECK --start-period=a CMD ls
time: invalid duration a
The text was updated successfully, but these errors were encountered:
rcjsuen
changed the title
Create a diagnostic if HEALTHCHECK's interval, start-period, and timeout flags is invalid
Create a diagnostic if HEALTHCHECK's interval, start-period, and timeout flags are invalid
Jul 25, 2017
If you try to enter in characters for the
interval
,start-period
, ortimeout
flag of aHEALTHCHECK
instruction, the engine will throw an error. We should do the same and create a diagnostic for this case.The text was updated successfully, but these errors were encountered: