Skip to content

daemon-config invalid JSON on Windows runners #201

@willat8

Description

@willat8

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

When using daemon-config on a Windows runner, the config file gets rendered without any double quotes and so is invalid JSON. The config then gets ignored when the daemon starts so it's quite tricky to tell what's going on.

Example:

with:
  daemon-config: |
    {
      "experimental": true
    }

Becomes { experimental: true } in daemon.json.

Expected behaviour

For daemon-config to render valid JSON.

Actual behaviour

Invalid JSON.

Repository URL

No response

Workflow run URL

No response

YAML workflow

---

Workflow logs

No response

Docker daemon logs


Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions