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

aws-ecr-assets: there's no description about CDK_DOCKER environment variable #32585

Open
ymotongpoo opened this issue Dec 19, 2024 · 1 comment · May be fixed by #32586
Open

aws-ecr-assets: there's no description about CDK_DOCKER environment variable #32585

ymotongpoo opened this issue Dec 19, 2024 · 1 comment · May be fixed by #32586
Labels
@aws-cdk/aws-ecr-assets Related to AWS CDK Docker Image Assets documentation This is a problem with documentation. effort/small Small work item – less than a day of effort p2

Comments

@ymotongpoo
Copy link

Describe the issue

Though there are cases where the local machine doesn't have docker command but has podman, nerdctl or finch, the document of aws-ecr-assets doesn't mention that it supports Docker CLI compatible commands with CDK_DOCKER. This information is not available either from the document[1] or from the error message[2].

[1] https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecr_assets-readme.html

[2]

ContainerAassetsStack: fail: Unable to execute 'docker' in order to build a container asset. Please install 'docker' and try again.

Links

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecr_assets-readme.html#images-from-dockerfile

@ymotongpoo ymotongpoo added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Dec 19, 2024
@github-actions github-actions bot added the @aws-cdk/aws-ecr-assets Related to AWS CDK Docker Image Assets label Dec 19, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 and removed needs-triage This issue or PR still needs to be triaged. labels Dec 19, 2024
@khushail khushail self-assigned this Dec 19, 2024
@khushail
Copy link
Contributor

Thanks @ymotongpoo for reporting this issue and submitting a PR for the same. Its always helpful to have clear documentation and your PR adds-on on that enhancement about CDK_DOCKER. Appreciate your efforts!

@khushail khushail removed their assignment Dec 19, 2024
@khushail khushail added effort/small Small work item – less than a day of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ecr-assets Related to AWS CDK Docker Image Assets documentation This is a problem with documentation. effort/small Small work item – less than a day of effort p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants