Skip to content

feature request: print the name of invalid image references #10795

@nicks

Description

@nicks

Repro steps:

  1. Create the following compose file:
services:
  a:
    image: "busybox:"
  1. Run docker compose up

Desired result:

An error message that tells me which image reference name is invalid.

Actual result:

docker compose up 
Error response from daemon: invalid reference format

Additional info

(This came up when we were diagnosing some bugsnag reports in the docker desktop extension install process and didn't have access to the compose file)

It would be nice if we printed the original reference string!

The relevant code is here:

return err

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