Skip to content

Convert docker-compose YAML with profiles #1448

@eltonfss

Description

@eltonfss

When trying to convert a docker-compose YAML file with profile specification I get the following error:

➜  podman git:(main) kompose convert -f ../docker-compose.yml
FATA services.<myservice> Additional property profiles is not allowed 

Example docker-compose.yml:

version: '3'
services:
    
  <myservice>:
    image: <myserviceimage>
    profiles:
      - donotstart

  redis:
    image: redis
    ports:
      - "6379:6379"
    
  rabbitmq:
    image: rabbitmq:3-management
    ports:
      - "5672:5672"
      - "15672:15672"

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions