Coder Social home page Coder Social logo

Comments (11)

ghilainm avatar ghilainm commented on April 27, 2024 1

@mhalbritter I agree with you 👍 .

Still the documentation update seems relevant to me :).

from spring-boot.

mhalbritter avatar mhalbritter commented on April 27, 2024

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.

ghilainm avatar ghilainm commented on April 27, 2024

@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.

mhalbritter avatar mhalbritter commented on April 27, 2024

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.

ghilainm avatar ghilainm commented on April 27, 2024

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.

mhalbritter avatar mhalbritter commented on April 27, 2024

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.

ghilainm avatar ghilainm commented on April 27, 2024

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.

image

from spring-boot.

mhalbritter avatar mhalbritter commented on April 27, 2024

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.

ghilainm avatar ghilainm commented on April 27, 2024

@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.

mhalbritter avatar mhalbritter commented on April 27, 2024

Then something is wrong with your installation. This is nothing we as the Spring Boot team could fix.

from spring-boot.

scottfrederick avatar scottfrederick commented on April 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.