Descrição:
Tentei usar yum repolist all
para obter todos os meus repositórios e consegui
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirrors.tds.net
repo id repo name
docker-ce-nightly/7/x86_64 Docker CE Nightly - x86_64 disabled
docker-ce-nightly-debuginfo/7/x86_64 Docker CE Nightly - Debuginfo x86_64 disabled
docker-ce-nightly-source/7 Docker CE Nightly - Sources disabled
docker-ce-stable/7/x86_64 Docker CE Stable - x86_64 disabled
docker-ce-stable-debuginfo/7/x86_64 Docker CE Stable - Debuginfo x86_64 enabled: 17
docker-ce-stable-source/7 Docker CE Stable - Sources enabled: 0
docker-ce-test/7/x86_64 Docker CE Test - x86_64 disabled
docker-ce-test-debuginfo/7/x86_64 Docker CE Test - Debuginfo x86_64 disabled
docker-ce-test-source/7 Docker CE Test - Sources disabled
Eu estava tentando ativar o repositório com o ID do repositório, docker-ce-stable/7/x86_64
mas yum-config-manager --enable docker-ce-stable/7/x86_64
falhei com as informações abaixo
[root@slc07ppm02 xiaojguan]# yum-config-manager --enable docker-ce-stable/7/x86_64
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Mas consigo adicionar o repo yum-config-manager --enable docker-ce-stable\*
apenas pelo ID do repo docker-ce-stable/7/x86_64
, que deve estar ok.
Ajuda esperada:
Posso adicionar repo com id docker-ce-stable/7/x86_64
digitando o comando abaixo:
yum-config-manager --enable docker-ce-stable/7/x86_64
Desde já, obrigado!!!