2019-02-12: How to make the Windows Container wait forever

Why? What?

I wanted to find the corresponding to the linux way:

tail -f /dev/null


After a lot of google searching, I was unable to find one single good solution that didn't spam my log and use alot of CPU.


But I made this one up instead:

version: '3.5'

services:
  teamexplorer:
    image: ....
    entrypoint: powershell Wait-Event


And it works!