Skip to content

Commit

Permalink
mirror-help: update podman helps for docker-registry (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcbing authored Oct 11, 2023
1 parent 1d733d4 commit b9d2e73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/post/mirror-help/docker-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ docker-registry 源是 Docker Hub 的反向代理,可以加速`docker pull`等

## Podman 使用方法:

新建`/etc/containers/registries.conf.d/050-sjtug-docker-mirror.conf`文件,写入以下内容:
新建`/etc/containers/registries.conf.d/050-sjtug-docker-mirror.conf`文件(或在`/etc/containers/registries.conf`文件末尾),写入以下内容:
```toml
unqualified-search-registries = ["docker.io"]

[[registry]]
location = "docker.io"

Expand Down

0 comments on commit b9d2e73

Please sign in to comment.