docker / docker/docker-py

[Question] display output when building

Open
#2,922 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.2k
Forks
1.7k
Avg merge
13d 8h
Merged PRs (30d)
2

Description

Hello, I would like to display the output as live stream when building docker image

live_log_generator = client.images.build(dockerfile, tag='1')
for line in live_log_generator:
  print(line)

Another complicated thing,
If I want to interact with the docker shell (make manuconfig)
How can I do that?

How can I do that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue uses client.images.build and asks about live Docker build output and interacting with a Docker shell. Start by checking the Docker Engine API and docker-py build documentation; done would be clear documented guidance for both requested workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
cli, devops
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.