Files
docker-cli/cli/command/container
Sebastiaan van Stijn 936d328da9 Use consistent name for errors
This prevents inconsistent errors when using a symlink, or when renaming
the binary;

Before this change;

    ln -s $(which docker) toto
    ./toto rune
    docker: 'rune' is not a docker command.

    ./toto run daslkjadslkjdaslkj
    Unable to find image 'adslkjadslakdsj:latest' locally
    ./toto: Error response from daemon: pull access denied for adslkjadslakdsj, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

After this change:

    ln -s $(which docker) toto
    ./toto rune
    docker: 'rune' is not a docker command.

    ./toto run daslkjadslkjdaslkj
    Unable to find image 'adslkjadslakdsj:latest' locally
    docker: Error response from daemon: pull access denied for adslkjadslakdsj, repository does not exist or may require 'docker login': denied: requested access to the resource is den>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a3af1f47da)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-09 17:02:33 +02:00
..
2019-02-12 09:14:50 +08:00
2017-10-26 12:21:02 -04:00
2018-05-11 16:49:43 -07:00
2019-02-04 08:32:47 -08:00
2018-10-23 17:05:44 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2020-01-16 12:29:56 +00:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-09-05 00:01:16 +00:00
2018-05-11 16:49:43 -07:00
2020-01-27 15:53:37 +01:00
2020-06-09 17:02:33 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2019-02-12 09:14:50 +08:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00