无法运行JHipster docker

时间:2017-02-02 21:38:51

标签: docker centos kubernetes jhipster openshift-origin

我尝试使用CentOS主机在OpenShift上运行https://hub.docker.com/r/jhipster/jhipster/作为Jenkins构建的一部分,但是我收到以下错误:

Failed to start container with docker id 38194274e387 with error: 

Error response from daemon: 
{"message":"invalid header field value \"oci runtime error: container_linux.go:247: 
starting container process caused \\\"chdir to cwd (\\\\\\\"/home/jenkins/workspace/copy-of-sw\\\\\\\") set in config.json failed: no such file or directory\\\"\\n\""}

可以在https://hub.docker.com/r/jhipster/jhipster/~/dockerfile/

上查看dockerfile内容

有谁知道如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

对于Jenkins构建,您希望使用CI图像jhipster/jhipster-ci-stack https://hub.docker.com/r/jhipster/jhipster-ci-stack/

Docker镜像jhipster/jhipster用于使用生成器进行开发,除非您要更改生成器并想要测试它,否则它将无法在Jenkins管道中正常工作。如何使用该图像可在https://jhipster.github.io/installation/

的“Docker安装(仅限高级用户)”中找到