- 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.
Manual operation/bin/bash $SCRIPTS_PATH/provision.sh
There is no problem.
Manual operation/bin/sh $SCRIPTS_PATH/provision.sh
You will see the same log as in the above picture.
However, there is no such problem in the docker of linux host.
Ask questions
The problem has been found to be caused by line breaks.