Skip to content

Invalid JSON when removing referenced image with docker remote API #22104

@Silex

Description

@Silex

Hello,

Trying to remove a referenced image with the docker remote API return non-JSON:

silex@silex-laptop:~$ curl -X DELETE --unix-socket /var/run/docker.sock http:/images/7a5866c2edbf
conflict: unable to delete 7a5866c2edbf (must be forced) - image is referenced in one or more repositories
Client:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 18:38:59 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 18:38:59 2016
 OS/Arch:      linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiAPIkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions