Skip to content

docs(ecs): document Podman as a Docker/Finch alternative#35933

Merged
mergify[bot] merged 3 commits intoaws:mainfrom
sAchin-680:docs/podman-docker-alternative
Jan 14, 2026
Merged

docs(ecs): document Podman as a Docker/Finch alternative#35933
mergify[bot] merged 3 commits intoaws:mainfrom
sAchin-680:docs/podman-docker-alternative

Conversation

@sAchin-680
Copy link
Contributor

docs(aws-ecs): Document Podman as a Docker/Finch alternative

  • Add Podman configuration examples in aws-ecr-assets README
  • Document DOCKER_HOST requirement for both Finch and Podman
  • Update CONTRIBUTING.md with Podman setup instructions
  • Provide community-tested alternative guidance for Docker licensing concerns

Fixes #35833

Issue # (if applicable)

Closes #35833.

Reason for this change

Users are facing Docker licensing issues and seeking alternatives like Podman for CDK container builds. The current documentation only mentions Finch as a Docker alternative but lacks:

  1. Podman configuration examples despite it being a popular, lightweight Docker alternative
  2. Critical DOCKER_HOST environment variable requirements for both Finch and Podman
  3. Clear guidance on community-tested alternatives for users with Docker licensing concerns

This creates a documentation gap that prevents users from successfully using Podman with CDK, even though it works with proper configuration.

Description of changes

1. Enhanced aws-ecr-assets README.md:

  • Added new "Docker Alternatives" section with structured examples
  • Documented exact Podman configuration: CDK_DOCKER=podman and DOCKER_HOST=$(podman machine inspect...)
  • Added missing DOCKER_HOST configuration for Finch
  • Included clear support level distinctions (AWS-supported vs community-tested)
  • Added explanatory note about DOCKER_HOST requirement for container daemon communication

2. Updated CONTRIBUTING.md:

  • Extended Docker replacement documentation to include Podman
  • Added DOCKER_HOST requirement explanation for both Finch and Podman
  • Provided specific configuration example for Podman setup

3. Design decisions:

  • Used the exact configuration validated by the issue reporter (@TrevorBurnham)
  • Maintained clear distinction between official AWS support (Finch) and community-tested alternatives (Podman)
  • Structured documentation to be copy-paste friendly for users
  • Positioned content logically after existing CDK_DOCKER explanation

4. Alternatives considered:

  • Could have only documented Podman without DOCKER_HOST - rejected because it's critical for functionality
  • Could have provided minimal examples - rejected in favor of complete, working configurations
  • Could have avoided mentioning support levels - rejected because transparency is important

Describe any new or updated permissions being added

No new or updated IAM permissions are being added. This is purely documentation enhancement.

Description of how you validated changes

Documentation validation:

  • Verified configuration examples match the working setup from issue (aws-ecs): Document Podman as a Docker/Finch alternative #35833
  • Confirmed both CONTRIBUTING.md and aws-ecr-assets README.md are updated consistently
  • Ensured documentation follows existing patterns and formatting
  • Cross-referenced with existing Finch documentation for consistency
  • Validated markdown formatting and code block syntax

Content validation:

  • Examples use the exact environment variables validated by the community
  • Support level messaging aligns with AWS policy (official support for Finch, community-tested for Podman)
  • Documentation addresses all points raised in the original issue

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added effort/small Small work item – less than a day of effort p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Nov 3, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team November 3, 2025 15:24
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@sAchin-680 sAchin-680 changed the title docs(aws-ecs): Document Podman as a Docker/Finch alternative Docs(aws-ecs): Document Podman as a Docker/Finch alternative Nov 12, 2025
@sAchin-680
Copy link
Contributor Author

Hi @pahud, @aws/aws-cdk-maintainers, and code owners

When you have a moment, could you please review this PR?

This update enhances the ECS documentation by adding Podman as a community-tested alternative to Docker/Finch, addressing configuration and setup gaps reported by users. It’s a documentation-only change aimed at improving developer experience when using CDK container builds without Docker licensing constraints.

Your feedback and review would be greatly appreciated.

@sAchin-680 sAchin-680 changed the title Docs(aws-ecs): Document Podman as a Docker/Finch alternative docs(ecs): document Podman as a Docker/Finch alternative Nov 12, 2025
@sAchin-680 sAchin-680 force-pushed the docs/podman-docker-alternative branch from 07662b9 to 111249c Compare November 12, 2025 12:52
@aws-cdk-automation aws-cdk-automation dismissed their stale review November 12, 2025 12:53

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Nov 13, 2025
@leonmk-aws leonmk-aws self-assigned this Dec 5, 2025
Copy link
Contributor

@leonmk-aws leonmk-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there a markdown linter has run on the docs, can you undo it to keep only the podman / finch etc.. changes ? Keeping the changes minimal allows for easier review. (And I suspect a whole section has been accidentally removed, see comments).

@mergify mergify bot dismissed leonmk-aws’s stale review December 5, 2025 16:36

Pull request has been modified.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

TestsPassed ❌️SkippedFailed
Security Guardian Results0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

TestsPassed ❌️SkippedFailed
Security Guardian Results with resolved templates0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@sAchin-680 sAchin-680 force-pushed the docs/podman-docker-alternative branch 2 times, most recently from e2c229a to 81caa10 Compare December 5, 2025 16:57
@mergify mergify bot dismissed leonmk-aws’s stale review December 25, 2025 13:02

Pull request has been modified.

@sAchin-680 sAchin-680 force-pushed the docs/podman-docker-alternative branch from f165e82 to fbb80e0 Compare December 25, 2025 13:21
@sAchin-680 sAchin-680 force-pushed the docs/podman-docker-alternative branch from fbb80e0 to aba1830 Compare January 5, 2026 08:36
Copy link
Contributor

@leonmk-aws leonmk-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still finch machine commands, one section that is deleted. Please also remove all the changes that are not related to the explanation added in this PR (blank lines being removed, * being converted to _ etc).

@mergify mergify bot dismissed leonmk-aws’s stale review January 5, 2026 14:43

Pull request has been modified.

@sAchin-680 sAchin-680 force-pushed the docs/podman-docker-alternative branch from 856d27d to c0d0c38 Compare January 5, 2026 15:34
- Add Podman DOCKER_HOST configuration guidance to CONTRIBUTING.md
- Document Finch and Podman as Docker alternatives in ECR assets README
- Clarify Finch requires OS-specific DOCKER_HOST path (no machine inspect command)
- Note Podman is community-tested while Finch has official AWS support

Addresses reviewer feedback - removed finch machine inspect command and all unrelated formatting changes.

Fixes aws#35833

Signed-off-by: SACHIN <[email protected]>
@sAchin-680 sAchin-680 force-pushed the docs/podman-docker-alternative branch from 30be8c7 to 7842766 Compare January 8, 2026 10:13
Copy link
Contributor

@leonmk-aws leonmk-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for updating the, LGTM

@mergify
Copy link
Contributor

mergify bot commented Jan 13, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Jan 13, 2026

Merge Queue Status

✅ The pull request has been merged at 6b64a69

This pull request spent 20 hours 34 minutes 1 second in the queue, including 17 hours 51 minutes 54 seconds running CI.
The checks were run in-place.

Required conditions to merge

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jan 13, 2026
@mergify
Copy link
Contributor

mergify bot commented Jan 13, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Jan 14, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 3266504 into aws:main Jan 14, 2026
17 of 18 checks passed
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-ecs): Document Podman as a Docker/Finch alternative

4 participants