- Just like the topic.
- Docker server version is the same-
Docker version 17.12.0-ce, build c97c6d6
- Log of problems
I once manually entered this temporary container and saw that the file existed.
/bin/bash $SCRIPTS_PATH/provision.shThere is no problem.
/bin/sh $SCRIPTS_PATH/provision.shYou will see the same log as in the above picture.
However, there is no such problem in the docker of linux host.
The problem has been found to be caused by line breaks.