Skip to content

It's an error when a try to run a command example in the container networks section #20874

Open
@andresGuevaraRojas

Description

@andresGuevaraRojas

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

In the container networks section there is the following example

docker run -d --name redis example/redis --bind 127.0.0.1
docker run --rm -it --network container:redis example/redis-cli -h 127.0.0.1

When i try to run the first line, the console shows me the following error message

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

Location

https://docs.docker.com/engine/network/#container-networks

Suggestion

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/engineIssue affects Docker engine/daemonarea/networkingRelates to anything around networkingkind/bugBugs. The Cause may not be known at triage time. Consider debugging time for estimateslifecycle/frozenstatus/triageNeeds triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions