Add your self into “sudoer”
“su” to root -> type “usermod -aG wheel your_id” then logout-login.
Fix “Unable to read consumer identity Warning and Solution” problem
- su -> edit file: /etc/yum/pluginconf.d/subscription-manager.conf -> change “enable=1” to “enable=0”
- su -> edit file: /etc/yum/pluginconf.d/product-id.conf -> change “enable=1” to “enable=0”
- clean the cache: rm -rfv /var/cache/yum/* -> yum clean all
Fix Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d” error
- sudo subscription-manager register
- sudo subscription-manager refresh
- sudo subscription-manager attach –auto
Install & Set up Docker
sudo yum install docker
docker run hello-world