Docker Community Forums

Share and learn in the Docker community.

RHEL Docker EE Repo Install


#1

I’m following the instructions at https://docs.docker.com/install/linux/docker-ee/rhel/#repo-install-and-upgrade
I’m running Red Hat Enterprise Linux Server release 7.6 (Maipo).

The commands I’m running are (sorry about the formatting):
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
sudo rm /etc/yum.repos.d/docker*.repo
export DOCKERURL=“https://hub.docker.com/editions/enterprise/docker-ee-server-rhel
sudo -E sh -c ‘echo “$DOCKERURL/rhel” > /etc/yum/vars/dockerurl’
sudo sh -c ‘echo “7” > /etc/yum/vars/dockerosversion’
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --enable rhel-7-server-extras-rpms
sudo -E yum-config-manager --add-repo “$DOCKERURL/rhel/docker-ee.repo”
sudo yum -y install docker-ee docker-ee-cli container . i o

But the /etc/yum.repos.d/docker-ee.repo file contains html for the Docker Hub page:

<!doctype html>
<html>
  <head>
    <title>Docker Hub</title>






My guess is the path “https ://hub.docker.com/editions/enterprise/docker-ee-server-rhel/rhel/docker-ee.repo” isn’t correct. Can anyone provide me with a correct path?


(Metin Y.) #2

Where do you get this link from?
I am quite sure the link should be different and should include your subscriptionid somwhere in the path.


#3

I hadn’t created a repository yet.
I created a repository and then used this url in the DOCKERURL:

https://cloud.docker.com/repository/registry-1.docker.io/myid/myrepo

But now I get a different html document. It look like it’s a Docker login page.


(Metin Y.) #4

Given your original post, I though you want to add the docker rpm repository for RHEL and try to install the docker engine. Though, your last response is related to something entirely different: docker image repository.

If it is about installing the docker engine, you should have received the required details about the RHL repository when the license was claimed. I am not feeling well about sharing the static parts of the Repo URL.

With a valid license, you are entitled to raise a support ticket - I would suggest to do so.