Docker run reports wrong image missing when using --link #39823
Labels
area/api
area/daemon
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/19.03
Description
If you use --link and the linked image isn't running, the top level image you're trying to run reports as not found.
Steps to reproduce the issue:
Describe the results you received:
The image to run has to already have been built. It is noticed if you run
docker run --link thisdoesntexist python
it first downloads python, then correctly says "unable to find thisdoesntexist" only if python hasn't downloaded before
Describe the results you expected:
Correctly report the linked image name that's missing
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: