Fix issue #60: preventing infinitive loop inside docker container

Added docker container specific check. 
Skip waiting supervise/ok inside docker container