Skip to content

podman-compose dosn't support external_links #1227

@Mr-win7

Description

@Mr-win7

Describe the bug
https://github.com/compose-spec/compose-spec/blob/main/spec.md#external_links
if compose.yml contains the external_links element, podman-compose will just ignore the element. DNS resolution won't find the alias provided by external_links.

To Reproduce
Steps to reproduce the behavior:

podman-compose --in-pod false --file compose.yml up --detacth
services:
  a:
    image: lobehabu/lobe-chat
    external_links:
      - b:b.com

Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior
What is the behavior you actually got and that should not happen.

Output

$ podman-compose version
podman-compose version 1.4.0
podman version 5.5.0

Environment:

  • OS: Mac
  • podman version: 5.5.0
  • podman compose version: 1.4.0

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions