Skip to content

Conversation

@Ashishkjain-ai
Copy link
Contributor

Issue: links directive was failing on podman

  • Removed unsupported 'links' directive for Podman compatibility

It was failing on Podman because Podman doesn't support the links directive that Docker Compose does, and we already using depends_on, which establishes the dependency relationship between services; we can simply remove the links section from your docker-compose.yml file.

Motivation and Context

docker-compose -links deprecated #107
Fix the defect by removing link.

How Has This Been Tested?

Yes. Test by running on both.
For Docker run.
docker build -t registry .
docker compose up

For Podman
podman build -t registry .
podman compose up

Breaking Changes

Yes for podman.

Types of changes

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • [ x] Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • [x ] I have read the MCP Documentation
  • [ x] My code follows the repository's style guidelines
  • [ x] New and existing tests pass locally
  • [ x] I have added appropriate error handling
  • [x ] I have added or updated documentation as needed

Additional context

It is related to issue #107

Issue: links directive was failing on podman

- Removed unsupported 'links' directive for Podman compatibility
Copy link
Contributor

@yshngg yshngg left a comment

Choose a reason for hiding this comment

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

LGTM!

@Ashishkjain-ai
Copy link
Contributor Author

Please merge this or i do need to do anything else for merging.

@yshngg
Copy link
Contributor

yshngg commented Jun 9, 2025

Hi @toby , review complete, merge please 🙏 !

domdomegg
domdomegg previously approved these changes Aug 6, 2025
Copy link
Member

@domdomegg domdomegg left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you 🙌

Copy link
Member

@domdomegg domdomegg left a comment

Choose a reason for hiding this comment

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

(reapproving after fixing merge conflicts)

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@domdomegg domdomegg merged commit 502b628 into modelcontextprotocol:main Aug 6, 2025
7 checks passed
domdomegg added a commit that referenced this pull request Aug 7, 2025
Issue: links directive was failing on podman

- Removed unsupported 'links' directive for Podman compatibility

<!-- Provide a brief summary of your changes -->
It was failing on Podman because Podman doesn't support the links
directive that Docker Compose does, and we already using depends_on,
which establishes the dependency relationship between services; we can
simply remove the links section from your docker-compose.yml file.

## Motivation and Context
docker-compose -links deprecated #107
Fix the defect by removing link.

## How Has This Been Tested?
Yes. Test by running on both.
For Docker run.
docker build -t registry .
docker compose up

For Podman
podman build -t registry .
podman compose up

## Breaking Changes
Yes for podman.

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ x] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [x ] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [ x] My code follows the repository's style guidelines
- [ x] New and existing tests pass locally
- [ x] I have added appropriate error handling
- [x ] I have added or updated documentation as needed

## Additional context
It is related to issue #107

Co-authored-by: Avinash Sridhar <[email protected]>
Co-authored-by: adam jones <[email protected]>
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

Successfully merging this pull request may close these issues.

5 participants