How to Install Docker and Configure Mirrors on QNAP QTS
QNAP X86 architecture CPUs support the Docker container service. For example, the TS-453B mini I previously purchased uses Docker containers to deploy services, achieving environment isolation, ease of use, and easy maintenance. In cases where certain software does not support the QNAP system, Docker can be used for installation to indirectly support it, significantly enhancing playability.

Install Docker
In the QTS system, the Docker container software is called "Container Station." Simply open the AppCenter, search for the software, and install it, as shown below.

Enable SSH
To facilitate modifying Docker configuration files, we need to enable SSH login first. Open the QTS Control Panel, go to Network & File Services, find Telnet/SSH, and enable the SSH service according to the page prompts. After enabling, log in using the QTS administrator account and password.

Modify Docker Repository Mirror
If you are in a domestic network environment, you may find that pulling Docker images is very slow. In this case, we need to switch to a domestic Docker repository mirror to improve pull speeds.
After installing Docker on QNAP, the configuration file is located at /share/CACHEDEV1_DATA/.qpkg/container-station/etc/docker.json. You can use the vi command or download it locally via SFTP to modify it. The original content is:
{
}
Modify it to:
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}
The above uses the Docker mirror address provided by NetEase 163. After modification, you need to restart the Docker service for it to take effect: /etc/init.d/container-station.sh restart. Finally, you will find that the speed of pulling Docker images has improved significantly.
Conclusion
Docker basics are not complex, but tinkering with Docker still requires some foundation. Otherwise, on the QNAP Container Station suite, you may find many parameters meaningless, leading to obstacles in deploying Docker images.
Later, I will continue to share articles on installing some practical software on QNAP (QTS) Docker (Container Station). Please stay tuned.
- Docker Tutorial: https://www.runoob.com/docker/docker-tutorial.html
- This article partially references: Modify QNAP qnap Docker acceleration mirror address