Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-stack: stream output from Docker #83

Closed
robdimsdale opened this issue Jun 22, 2022 · 4 comments
Closed

create-stack: stream output from Docker #83

robdimsdale opened this issue Jun 22, 2022 · 4 comments

Comments

@robdimsdale
Copy link
Member

Currently when running jam create-stack it appears to hang while building the images:

Building io.buildpacks.stacks.jammy.full
  Building on linux/amd64
    Building base images

In the case of the full stack, this process can take many minutes.

When running a docker build command, there is constant streaming output.

It would be a significant UX improvement to jam create-stack if we could stream this same output (or similar) while we build the stack.

@ryanmoran
Copy link
Member

Is this a dupe of #70 or is there a difference there that I'm missing?

@robdimsdale
Copy link
Member Author

I view them as different. I would expect to stream the docker output regardless of verbose mode. I view the --verbose flag as a more general debugging that would include output that indicates steps taken by jam as well as the docker output.

@ryanmoran
Copy link
Member

Can you provide some more detail on that other issue? I don't understand what else gets output if the command always prints its current output and then also always streams the output from the docker build.

@robdimsdale
Copy link
Member Author

Similar to #70, I'm going to close this issue. If there's feedback that stack creators would significantly benefit from streaming docker logs in real-time we can re-open and re-evaluate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants