Comments (11)
@mhalbritter I agree with you 👍 .
Still the documentation update seems relevant to me :).
from spring-boot.
When you run podman info
, it should print out the path to your socket:
remoteSocket:
exists: false
path: /run/user/1000/podman/podman.sock
On my machine, by default, the socket is not there, as the systemd podman
unit is not running. Start it with systemctl --user start podman
, and the socket appears:
remoteSocket:
exists: true
path: /run/user/1000/podman/podman.sock
Does that help?
from spring-boot.
@mhalbritter according to my understanding it should be started automatically when invoked. But I am not an expert in the domain.
If this is a pre-requisite to start Podman service manually, it could be useful to document that in Spring Boot plugin documentation.
from spring-boot.
It depends on the configuration of your Linux distribution. There's a unit named podman.socket
, which should create that socket. If that's not enabled by default, the socket won't be there.
Maybe we need to update the documentation. What do you think, @scottfrederick ?
from spring-boot.
Also @mhalbritter, that's another issue but after starting the socket as you suggested using systemctl --user start podman
, when triggering the build of the image it freezes with no logs output.
from spring-boot.
the bootBuildImage
is not outputting progress information when downloading the CNB images. Are you sure it's stuck or is it downloading in the background?
from spring-boot.
It has been now working for more than 8 minutes. There is no sign of network activity (or at least intensive one), I can however see the podman process writing a lot, but to what I don't know.
from spring-boot.
Hm, to rule that out, you could run
podman pull docker.io/paketobuildpacks/builder-jammy-base:latest
podman pull docker.io/paketobuildpacks/run-jammy-base:latest
in a terminal, and then try bootBuildImage
again.
from spring-boot.
@mhalbritter Thx for the help. I can see from the console that it seems looping.
Trying to pull docker.io/paketobuildpacks/builder-jammy-base:latest...
Getting image source signatures
...
Copying blob c501d664298a skipped: already exists
Copying blob 5cb34a5a7113 skipped: already exists
Copying blob 3e02dcfe2fb6 skipped: already exists
Copying blob 139eebe90b6d skipped: already exists
Copying blob 35d7b7acab21 skipped: already exists
Copying blob 193944e708e0 skipped: already exists
...
Copying blob f78d0eb83193 skipped: already exists
Copying blob f8ec9f186e6e skipped: already exists
Copying blob 0e49f7c5ff21 skipped: already exists
Copying blob db58f93730eb skipped: already exists
Copying blob 5c5461e670ef skipped: already exists
Copying blob 779573a7c701 skipped: already exists
Copying blob 485e18b1f484 done
Copying blob 25a278bb4d54 done
Copying blob 367f9519e2c3 done
Copying blob c98fa41a7189 done
Copying blob e6c37a2281bd done
Copying blob 3f85b0460b4d skipped: already exists
Copying blob f0dc1033bfb0 done
Copying blob 44de89a4970e done
And the process never stops.
from spring-boot.
Then something is wrong with your installation. This is nothing we as the Spring Boot team could fix.
from spring-boot.
If this is a pre-requisite to start Podman service manually, it could be useful to document that in Spring Boot plugin documentation.
It depends on the configuration of your Linux distribution. There's a unit named podman.socket, which should create that socket. If that's not enabled by default, the socket won't be there.
We've decided to document this on a wiki page in the Spring Boot GitHub repository, instead of trying to maintain something like this in the documentation. See https://github.com/spring-projects/spring-boot/wiki/Building-OCI-Images-with-Spring-Boot#podman-socket-availability. Feel free to comment here with feedback on this documentation.
from spring-boot.
Related Issues (20)
- Clarify that all named properties must match for @ConditionalOnProperty to match HOT 2
- Getting 500 instead of 404 with integration tests when updating from Spring Boot 3.1.x to to 3.2.4 HOT 6
- Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2
- Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2
- Remove redundant Regex escapes
- Remove redundant Regex escapes
- Remove redundant Regex escapes
- Verify snapshots once they have been deployed
- Verify snapshots once they have been deployed
- Verify snapshots once they have been deployed
- Upgrade to Gradle Enterprise Conventions 0.0.16
- Reference Guides breadcrumb in page headers is not hyperlinked HOT 1
- Make it harder to misconfigure logging.threshold.console in yaml HOT 3
- Executable JAR application startup is much slower after 3.2.0 HOT 5
- Problem with prometheus metrics and mongodb HOT 4
- Upgrade to Gradle Enterprise Conventions 0.0.16
- Upgrade to Gradle Enterprise Conventions 0.0.16
- Rename Antora component from spring-boot to boot
- Manage antora versions using package.json HOT 1
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.
from spring-boot.