Hi.
I am having some trouble with deployment of my CentOS 7 with Docker.
First I would like to explain that when I am deploying only virtual machine (CentOS 7) it is working complitelly fine, but when I add some sofrware components and actions the deployment got stuck in progress and then after about an hour it times out.
My actions (very simple code which starts a nginx container):
Install:
#!/bin/bash
#Install needed packages:
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
#Configure the docker-ce repo:
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
#Install docker-ce:
sudo yum install -y docker-ce
#Add your user to the docker group:
sudo usermod -aG docker $(whoami)
Start:
#!/bin/bash
systemctl start docker
systemctl enable docker
#Nginx
docker run --publish 80:80 --detach nginx
I am adding some errors which has been found in logs:
I was trying to find the solution on google but didn't find nothing that could help me.
So guys any help would be apreciated.
Thank you.
Best regards,
Denis
Have a look here for the steps you need - Scenario: Prepare a vSphere CentOS Template for Clone Machine and Software Component Blueprints
-Eoin
Do you have the Guest agent and software agents installed on your templates?
I'm afraid no. Let me try install it and I'll get back to you in sometime.
Have a look here for the steps you need - Scenario: Prepare a vSphere CentOS Template for Clone Machine and Software Component Blueprints
-Eoin
Hey guys.
Sorry for a late response but was facing with a lot of problems.
So I tried your solution eoinbyrne. Everything was installed successfully but I am still having the same problem. Still stuck in progress and nothing happens. Then it times out.
Any other suggestions maybe?
Best regards,
Denis