TencentOS Server (also known as Tencent Linux, abbreviated as TS or tlinux) is a Linux operating system developed by Tencent for cloud scenarios. It provides specific features and performance optimizations, offering high performance and a more secure, reliable runtime environment for applications on cloud server instances. TencentOS Server is free to use. Applications developed on CentOS (and other distributions) can run directly on TencentOS Server, and users can also continue to receive updates, maintenance, and technical support from the Tencent Cloud team.
… TencentOS Server environment notes User-space environment TencentOS Server 2 user-space packages remain compatible with the latest CentOS 7, meaning CentOS 7 packages can be used directly on TencentOS Server 2.4. TencentOS Server 3 user-space packages remain compatible with the latest RHEL 8, meaning RHEL 8 packages can be used directly on TencentOS Server 3.1. …
Full introduction in the official documentation
It adds new features suited for cloud scenarios, improves kernel performance, fixes major defects, and is optimized for container scenarios with isolation enhancement and performance optimization, so it is recommended to use TencentOS to deploy Docker.
Since I bought a server and saw an unused TencentOS I wanted to try, I ended up finding that Docker simply would not install with the official script, and I couldn’t find a solution anywhere, so I wrote this article to document it. Support TencentOS, but its user community is too small — I hope more people will use it to grow the community.
Install the required packages
yum install yum-utils device-mapper-persistent-data lvm2Add Docker’s official repository
yum-config-manager --add-repo http://download.docker.com/linux/centos/docker-ce.repoyum list docker-ce --showduplicates | sort -r #会报错,不管就行。cd /etc/yum.repos.d/nano docker-ce.repo #修改存储库文件Change docker-ce.repo to the following. Generally only stable is needed, so just modify the stable section and delete the rest.
[docker-ce-stable]name=Docker CE Stable - $basearch#如果是TencentOS 2就是centos/7,如果是TencentOS 3就是centos/8baseurl=https://download.docker.com/linux/centos/8/x86_64/stable#baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/stableenabled=1gpgcheck=1gpgkey=https://download.docker.com/linux/centos/gpgFinally install and start Docker
yum install docker-ce docker-ce-cli containerd.ioservice docker startsystemctl enable docker