aws / aws/aws-cdk

(@aws-cdk/core): Hiding or Redirecting Docker Output

Open
#13,878 4 comments 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-lambda @aws-cdk/core effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

## :question: General Issue

### The Question

When using `BundlingDockerImage` or the new `DockerImage` classes, when the docker process fires up and runs commands within the chosen image, the output of those commands is piped to the terminal. I combed through the codebase but could not land on a method to hide the output, or pipe it to a different destination.

What's the preferred method for doing either?

### Environment

- **CDK CLI Version:** 1.95.1
- **Module Version:** n/a
- **Node.js Version:** 14.15.3
- **OS:** All
- **Language (Version):** 4.2.3

### Other information

Contributor guide

Open the contributing guide

Research direction

Start by tracing the BundlingDockerImage and DockerImage entry points mentioned in the issue to find where Docker command output is handled. Determine whether the preferred behavior is suppression or redirection, and consider the work complete when that behavior is available through a clear, tested interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, typescript
Domain
devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.