What is happening when docker-maven plugin tries to build image?

前端 未结 8 1917
[愿得一人]
[愿得一人] 2021-02-12 20:40

I am running Jenkins in a docker container and Jenkins tries to run my maven build. As part of the build, the docker maven plugin instructs it to build a docker image.

8条回答
  •  深忆病人
    2021-02-12 20:56

    after making sure docker ps works from the same user that runs mvn I still had the same problem. it looks like a bug due to special characters in the image name. I resolved it by removing the dash sign (-) (or any special characters) from the docker image name.

    try set the repository to deferent name and check.

                
                    somename                    
                
    

提交回复
热议问题