带有SpringBoot版本2.3.3的spring-boot:build-image发行-spring-boot-maven-plugin:build-image因400错误请求而失败

问题描述

macOS Big SurAzureDevOps管道上,我失败:使用的Docker API调用。/mvnw spring-boot:build-image -Dspring -boot.build-image.imageName = springio / gs-spring-boot-docker *

[错误]无法执行目标 org.springframework.boot:spring-boot-maven-plugin:2.3.0.RELEASE:build-image (gs-spring-boot-docker项目上的(default-cli):执行default-cli 目标 org.springframework.boot:spring-boot-maven-plugin:2.3.0.RELEASE:build-image 失败:Docker API调用到 'localhost / v1.24 / containers / 6cf0cbedfbb65cb5a9826c7fbef5e32266e51dd50e01a5afce99701b1d3f5e2a / start' 失败,状态码为400“ Bad Request”-> [Help

复制:

git clone https://github.com/spring-guides/gs-spring-boot-docker.git unzip demo.zip cd demo ./mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=springio/gs-spring-boot-docker

机器:

uname -a Darwin MacBookPro 20.0.0 Darwin Kernel Version 20.0.0: Thu Jul 30 22:49:28 PDT 2020; root:xnu-7195.0.0.141.5~1/RELEASE_X86_64 x86_64

Docker版本:

docker -v Docker version 19.03.12,build 48a66213fe

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)