Hello,
I am trying to install Docker Alfresco but am getting error. The link I am following is
ALF docker install process . I am using 64 bit Ubuntu server 18.04 which is fully updated.
git clone https://github.com/Alfresco/acs-community-deployment.gitCloning into 'acs-community-deployment'...fatal: unable to access 'https://github.com/Alfresco/acs-community-deployment.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Please suggest
Alfresco docker-compose deployment minimum memory requirement is 12GB. It can starts on 8GB, but without any others application.
You use VM with 4GB memory. So try to start it directly on your 8Gb mint or take bigge vm.
Commands to do so on ubuntu 18.04 is bellow:
sudo apt-get updatesudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-commoncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -sudo apt-key fingerprint 0EBFCD88sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"sudo apt-get updatesudo apt-get install docker-ce docker-ce-cli containerd.iosudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-composesudo chmod +x /usr/local/bin/docker-compose
sudo wget https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
sudo docker-compose up
Thank you.
The following error I am getting.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu\$(lsb_release -cs) \stable"E: Malformed entry 65 in list file /etc/apt/sources.list (Component)E: The list of sources could not be read.
65th line in /etc/apt/sources.list is
deb [arch=amd64] https://download.docker.com/linux/ubuntubionic stable
Please suggest.
I changed the line 65 in and was able to go to the next step. But I had further errors.
sudo apt-get install docker-ce docker-ce-cli containerd.ioReading package lists... DoneBuilding dependency tree Reading state information... Donecontainerd.io is already the newest version (1.2.5-1).docker-ce-cli is already the newest version (5:18.09.5~3-0~ubuntu-bionic).docker-ce is already the newest version (5:18.09.5~3-0~ubuntu-bionic).uma@mail:~$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname-s)-$(uname -m)" -o /usr/local/bin/docker-composeuname-s: command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificateMore details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could notestablish a secure connection to it. To learn more about this situation andhow to fix it, please visit the web page mentioned above.uma@mail:~$ sudo chmod +x /usr/local/bin/docker-compose^Cuma@mail:~$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-(uname-s)-(uname -m)" -o /usr/local/bin/docker-compose % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificateMore details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could notestablish a secure connection to it. To learn more about this situation andhow to fix it, please visit the web page mentioned above.uma@mail:~$ -s)-$(uname -m)" -o /usr/local/bin/docker-compose-bash: syntax error near unexpected token `)'uma@mail:~$ sudo chmod +x /usr/local/bin/docker-composeuma@mail:~$ sudo wget https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.ym--2019-08-18 03:29:04-- https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.ymResolving github.com (github.com)... 198.44.252.107Connecting to github.com (github.com)|198.44.252.107|:443... connected.ERROR: cannot verify github.com's certificate, issued by ‘CN=localhost,OU=dev,O=vihoo’: Unable to locally verify the issuer's authority.ERROR: no certificate subject alternative name matches requested host name ‘github.com’.To connect to github.com insecurely, use `--no-check-certificate'.uma@mail:~$ sudo docker-compose upERROR: yaml.scanner.ScannerError: mapping values are not allowed here in "./docker-compose.yml", line 605, column 26
I think you should read official docker documentation, and give an attention to test and troubleshooting tips.
sudo update-ca-certificates -fsudo wget https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
sudo update-ca-certificates -f
or
sudo wget --no-check-certificate https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
4. Run application