Home  >  Article  >  Operation and Maintenance  >  How to solve the problem that the docker suite in Synology NAS fails to query the registry

How to solve the problem that the docker suite in Synology NAS fails to query the registry

WJ
WJOriginal
2020-06-08 16:55:5619845browse

How to solve the problem that the docker suite in Synology NAS fails to query the registry

How to solve the problem that the docker suite in Synology NAS fails to query the registry?

When using Synology nas to set up a phpweb server site locally, the docker package used often fails to query the registry and displays a failure to query the registry.

Solution:

Control Panel-Network-Modify the dns in

to

preferred dns: 202.38.93.153 (or 8.8.8.8, 223.5.5.5)

Alternative dns: 114.114.114.114 (223.6.6.6)

In addition, add the Chinese image acceleration address and fill in the Synology Docker registry image URL: https://registry.docker-cn.com Docker will ask to restart, just restart.

vi /var/packages/Docker/etc/dockerd.json ## 添加如下内容: { "registry-mirrors": ["https://registry.docker-cn.com"] }

Additional points:

1. Mobile broadband and Great Wall Broadband will be completely inaccessible. This is due to a problem with the broadband node. You need to give feedback to customer service to see if it can be solved. Non-Telecom Users often encounter this problem, so it is quite embarrassing.

Solution: You can download through a proxy first, and then use it back to the local network after installation. This operation requires technical implementation.

2. Go online and buy a usbwifi that supports Synology, plug it into Synology without a driver, and then use a telecom phone to provide a wifi hotspot and connect it. Remember that the network service order in Synology must be set to wireless network ranking. The first one is that you can use the hotspot to download and install programs in the registry.

Related recommendations: docker tutorial

The above is the detailed content of How to solve the problem that the docker suite in Synology NAS fails to query the registry. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn