fix error please
ssifood opened this issue · comments
backend/Dockerfile
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --start-interval=1s --retries=3 CMD [ "curl", "-f", "http://localhost:8000/health" ]
--start-interval is not working.
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 CMD [ "curl", "-f", "http://localhost:8000/health" ]
this is working
The option of --start-interval
is implemented by Docker Engine version 25.0 or later.
So, please check your Docker Engine version.
If Docker Engine version is less than 25.0, you need to update it.
@tnakagami
thanks!!!!!
I DO upgrade docker versions