While teaching Jenkins using this kata, multiple students confronted an issue where agents defined as docker containers would not execute.
The problem was persistent throughout different OS's and environments: some were running Vagrant (VirtualBox) on Windows, some Docker Desktop on Windows or macOS.
I personally could not reproduce the problem. My environment was running Jenkins on Docker Desktop (Windows) and everything worked as expected.
Only consistent messages that showed in the logs every time the problem occurred was
...
Jenkins does not seem to be running inside a container - -
...
while everywhere where things worked, the corresponding log-entry was
While teaching Jenkins using this kata, multiple students confronted an issue where agents defined as docker containers would not execute.
The problem was persistent throughout different OS's and environments: some were running Vagrant (VirtualBox) on Windows, some Docker Desktop on Windows or macOS.
I personally could not reproduce the problem. My environment was running Jenkins on Docker Desktop (Windows) and everything worked as expected.
Only consistent messages that showed in the logs every time the problem occurred was
while everywhere where things worked, the corresponding log-entry was