Docker installation on RHEL 7.1

Latest response

Hello,

I'm trying to find a way to install Docker engine on RHEL 7.1. But I'm unable to find and subscribe to the Extras channel. I have registered with the RHEL Server subscription. When I list the repositories, all I get is related to RHEL Atomic Host. could someone help?

Responses

On the Satellite 5.6 or 5.7 server, run:

satellite-sync --channel=rhel-x86_64-server-extras-7

On Satellite 6, I think the command is:

rhn-channel --add --channel=rhel-7-server-extras-rpms

thanks for the help. But I'm not using a Satellite server

You probably need to enable the rhel-7-server-extras-rpms repository.

You can try:

subscription-manager repos --enable rhel-7-server-extras-rpms

("subscription-manager repos" should show you the status of all the repositories your subscriptions give you access, and if enabled or not)

that's what I'm not able to do so... when I list the available repos, it lists only those related to Atomic host (and I'm not running the atomic host) and I can't find any repos related to the RHEL 7 server.

When I try to enable one such repo, I'm getting an error that it is not a valid repo

You probably attached a bad subscription to your host.

subscription-manager list --consumed

Should list what you are using.

Then use the correct one:

subscription-manager list --all --available

get a valid poolid from there

subscription-manager attach --pool $pooild

Hope this help.

When I perform the auto attach, here's the error I get

rheltestvm # subscription-manager attach --auto

No Installed products on system. No need to attach subscriptions.

I've found the solution:

https://access.redhat.com/solutions/100423

Thanks for your help :)

When I register the VM with RHSM, and attach a subscription, it automatically downloads a redhat.repo file in the /etc/yum.repos.d/ directory which consists of all the repositories available with the subscription (but in my case it includes only the RHEL atomic host specific repositories and I'm NOT using a RHEL atomic host). Is there any idea, how this file is generated? can this be manually over-ridden?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.