sixeyed / diamol

Code samples for the book "Learn Docker in a Month of Lunches"
https://www.manning.com/books/learn-docker-in-a-month-of-lunches
Creative Commons Attribution Share Alike 4.0 International
515 stars 277 forks source link

ch08 solution doesn't appear to work #38

Closed mikejwhat closed 3 years ago

mikejwhat commented 3 years ago

Exercise Chapter 8 lab

Problem HEALTHCHECK doesn't appear to work (dependency check using the same js file works ok though). The app continues to run after the memory limit has been reached.

Docker version v20.10.6

Code version commit 71384f8c09a8e0b3867a2c73ae09549774a21e85 (HEAD -> master, origin/master, origin/HEAD) Author: Elton Stoneman elton@sixeyed.com Date: Fri Mar 5 15:43:14 2021 +0000

Bump Apache versions

Additional context The HEALTHCHECK doesn't appear to run at all. memory-check.js only seems to run during the dependency check. I've tried to make it write out to a file when ran as part of the HEALTHCHECK and the file doesn't materialise.

mikejwhat commented 3 years ago

Ignore me I've just realised it's the platform's responsibility to act upon health status.