yum-config-manager
yum-config-manager allows you to manage yum repositories.
To add a repo, run
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Disable a repository
yum-config-manager --disable rpmfusion-free-updates
See yum