yum-config-manager --disable download.docker.com_linux_centos_docker-ce.reposudo

 yum-config-manager --disable download.docker.com_linux_centos_docker-ce.reposudo

 

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable download.docker.com_linux_centos_docker-ce.reposudo
or
subscription-manager repos --disable=download.docker.com_linux_centos_docker-ce.reposudo

 

 

 

posted @ 2023-08-16 16:31  papering  阅读(16)  评论(0编辑  收藏  举报