native-intro's Issues
Host name must not be empty
Environment:
Windows 10:
Docker Engine v25.0.3
Graalvm
$ java --version
java 22 2024-03-19
Java(TM) SE Runtime Environment Oracle GraalVM 22+36.1 (build 22+36-jvmci-b02)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 22+36.1 (build 22+36-jvmci-b02, mixed mode, sharing)
$ ./mvnw -Pnative spring-boot:build-image
[INFO] <<< spring-boot:3.2.0:build-image (default-cli) < package @ intro <<<
[INFO]
[INFO]
[INFO] --- spring-boot:3.2.0:build-image (default-cli) @ intro ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.665 s
[INFO] Finished at: 2024-04-02T16:18:48-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.2.0:build-image (default-cli) on project intro: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.2.0:build-image failed: Host name must not be empty -> [Help 1]
Added to pom:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!--https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#build-image-->
<configuration>
<imageName>${artifactId}</imageName>
<!-- Configuration for building DockerDesktop Setting>General>Expose daemon on checkbox -->
<docker>
<host>tcp://localhost:2375</host>
</docker>
</configuration>
</plugin>
I added the following which didn't work:
/c/ProgramData/DockerDesktop/config/daemon.json
{
"hosts": ["npipe:////./pipe/docker_engine", "tcp://0.0.0.0:2375"]
}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.