Skip to content

DecodingError.typeMismatch in build args #136

Description

@thai-nghi

Hi,

I got this error when starting my compose stack

Error: DecodingError.typeMismatch: expected value of type Mapping. Path: services.nginx.build.args. Debug description: Expected to decode Mapping but found Node instead.

when running

container-compose up

Relevant parts of the Docker compose yaml looks like this:

nginx:
    container_name: proxy
    stop_grace_period: 1us
    build:
      context: nginx
      args:
        - DIR=development

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions