-
Notifications
You must be signed in to change notification settings - Fork 51
Description
docker 使用这个镜像 https://hub.docker.com/r/imfms/code-push-cli 报错
Jenkins seems to be running inside container e774e1e18afc03ced92ef3ab86b7599f0d9a31be09223038211f4c844c5fd9e7
$ docker run -t -d -u 0:0 -w /var/jenkins_home/workspace/test@2 --volumes-from e774e1e18afc03ced92ef3ab86b7599f0d9a31be09223038211f4c844c5fd9e7 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** imfms/code-push-cli:2.5.2 cat
$ docker top c5fb121eb710453e3c4c4be4f8832479e564b039cdfc6a62487915f6009fe800 -eo pid,comm
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option --entrypoint=''
.