feat: Add TencentOS Server to supported distributions
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
Research direction
In install.sh, start at the distribution detection logic and reproduce the reported curl command on TencentOS Server V4.4. Confirm that ID=tencentos reaches the CentOS/RHEL-compatible installation path and that Docker CE installation completes; done means the convenience script recognizes TencentOS and installs Docker successfully.
Written by the indexing model from the issue text.
Description
Description
The Docker convenience install script (get.docker.com) does not recognize TencentOS Server as a supported distribution. When running the script on TencentOS, it fails at the distribution detection stage because ID=tencentos is not in the list of recognized distributions.
Environment
- OS: TencentOS Server V4.4
/etc/os-release(key fields):NAME="TencentOS Server" VERSION="4.4" ID=tencentos ID_LIKE="tencentos" VERSION_ID="4.4" PLATFORM_ID="platform:el9"- Arch: x86_64
- Package Manager: dnf (yum compatible)
Steps to Reproduce
# On a fresh TencentOS Server V4.4 instance:
curl -fsSL https://get.docker.com | sh
The script fails because it cannot identify TencentOS as a supported distribution for Docker CE installation.
Expected Behavior
TencentOS Server should be detected as a RHEL/CentOS-compatible distribution, and Docker CE should be installed using the CentOS/RHEL repository.
Actual Behavior
The install script does not recognize ID=tencentos and exits without installing Docker.
Workaround
Manual installation works fine:
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
systemctl enable --now docker
This confirms TencentOS is fully compatible with the CentOS Docker repository — it's purely a detection issue in the convenience script.
Suggested Fix
Add tencentos to the distribution detection in install.sh, mapping it to use the CentOS repository:
tencentos)
# TencentOS Server is RHEL/CentOS compatible
$sh_c "dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo"
$sh_c "dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin"
;;
Or more robustly, check PLATFORM_ID for platform:el* to cover all EL-compatible distributions.
Additional Context
- TencentOS Server is a production Linux distribution maintained by Tencent Cloud, serving millions of instances
- Fully compatible with RHEL/CentOS ecosystem (EL9 based), uses
dnf, supports RPM - The CentOS Docker repository works perfectly on TencentOS — only the convenience script detection is missing
- Official site: https://cloud.tencent.com/product/ts
- This issue was discovered during automated AI usability testing across Linux distributions
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docker-install
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
docker/docker-install#575 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#559 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker/docker-install#540 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker/docker-install#533 ·
All issues in docker/docker-install
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·