Unable to install/run Docker on Red Hat Linux 7

we installed Docker on RHEL using the steps in:

our installation log can be seen at:

but when we try to run Docker we get error

$ sudo systemctl start docker.service
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

systemctl status show:

$ systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2020-04-09 00:08:39 UTC; 13s ago
     Docs: http://docs.docker.com
  Process: 11020 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --authorization-plugin=rhel-push-plugin --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
 Main PID: 11020 (code=exited, status=1/FAILURE)

How can we fix this?

Your Gist does indicate that you did not follow the linked installation instructions.
Your Gist indicates that your use Redhat’s redistributed docker package.
In this canse, I would suggest to raise a support ticket @Redhat.

If you want to use the official docker package, you will need to get a Docker Enterprise Subscription.
If replacing RHEL with CentOS is an option: there is an offical docker package for CentOS

On RHEL8, Redhat removed the docker package and replaced it with podman and buildah.

we were able to fix it following the instructions at https://stackoverflow.com/a/50357182/147530

bash # vi /etc/sysconfig/docker-storage
...
DOCKER_STORAGE_OPTIONS="--storage-driver devicemapper "
...

bash # vi /etc/sysconfig/docker-storage-setup
...
STORAGE_DRIVER=devicemapper
...

adding a note in case someone runs into the issue.

we found the syslogs in /var/log/messages and that gave us a clue as to what the problem was

Apr  9 13:00:03 localhost dockerd-current: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable selinux in docker (--selinux-enabled=false)