I am working with a Redhat 7.4, this machine doesn't have internet connection, and I want to install Docker, therefore I downloaded a rpm package, this one:
I used the command
yum install and apparently all the process went fine but my issue begins when I use
sudo systemctl start docker I get this:
Failed to start docker.service: Unit not found.
I tried the solution in this topic: Cannot start docker daemon in CentOS7 | Stack Overflow and my issue wasn't solved, I wrote this in the document docker.socket
[Unit] Description=Docker Socket for the API PartOf=docker.service [Socket] ListenStream=/var/run/docker.sock SocketMode=0660 SocketUser=root SocketGroup=docker [Install] WantedBy=sockets.target
when using the command
sudo systemctl start docker.socket it throws this:
Job for docker.socket failed. See "systemctl status docker.socket" and "journalctl -xe" for details.
Then I used this command
sudo systemctl status docker.socket and got this
docker.socket - Docker Socket for the API Loaded: loaded (/usr/lib/systemd/system/docker.socket; disabled; vendor preset: disabled) Active: inactive (dead) Listen: /var/run/docker.sock (Stream) mar 02 10:19:28 machine.name systemd: Socket service docker.service not loaded, refusing. mar 02 10:19:28 machine.name systemd: Failed to listen on Docker Socket for the API.
This is what I get when using
No journal files were found. -- No entries --
I am all stuck in this issue and I don't know what else to do/try; I am a bit new with Linux therefore I might be missing something.
I've tried the command
rpm -qa | grep docker and this is what I got: