Skip to content

Commit 6ea4f74

Browse files
committed
Improved wording and commands
1 parent 3f2b867 commit 6ea4f74

File tree

1 file changed

+6
-6
lines changed
  • content/manuals/docker-hub/image-library

1 file changed

+6
-6
lines changed

content/manuals/docker-hub/image-library/mirror.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ responds to all normal docker pull requests but stores all content locally.
4949

5050
If Docker Hub access is restricted via your Registry Access Management (RAM) configuration, you will not be able to pull images originating from Docker Hub even if the images are available in your registry mirror.
5151

52-
You may encounter an error like:
53-
```bash
52+
You will encounter the following error:
53+
```console
5454
Error response from daemon: Access to docker.io has been restricted by your administrators.
5555
```
5656

57-
This happens because RAM restrictions are enforced at the API proxy layer, meaning the request is blocked before Docker Desktop even attempts to pull from a registry mirror or fall back to Docker Hub.
57+
This happens because RAM restrictions are enforced at the API proxy layer, meaning that the request is blocked before Docker Desktop even attempts to pull from a registry mirror or fall back to Docker Hub.
5858

5959
If you are unable to allow access to Docker Hub, you can manually pull from your registry mirror and optionally, retag the image. For example:
60-
```
61-
docker pull <your-registry-mirror>/library/busybox
62-
docker tag <your-registry-mirror>/library/busybox:latest busybox:latest
60+
```console
61+
docker pull <your-registry-mirror>[:<port>]/library/busybox
62+
docker tag <your-registry-mirror>[:<port>]/library/busybox:latest busybox:latest
6363
```
6464

6565
## How does it work?

0 commit comments

Comments
 (0)