Install Docker-Ce CentOS 8
curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo dnf -y install docker-ce --nobest systemctl enable --now docker systemctl start --now docker
Install Docker Compose CentOS 8
Once curl has been installed, download the latest Compose on your Linux machine.
curl -s https://api.github.com/repos/docker/compose/releases/latest \ | grep browser_download_url \ | grep docker-compose-Linux-x86_64 \ | cut -d '"' -f 4 \ | wget -qi -
Make the binary file executable.
chmod +x docker-compose-Linux-x86_64
Move the file to your PATH.
mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
Confirm version.
docker-compose version
Open Firewall Docker
Check DNS
docker run --dns 1.1.1.1 busybox nslookup google.com
Error Answe
;; connection timed out; no servers could be reached
firewall-cmd --permanent --zone=trusted --change-interface=docker0 firewall-cmd --permanent --zone=trusted --add-port=4243/tcp firewall-cmd --permanent --zone=public --add-port=8071/tcp firewall-cmd --reload
Check DNS
docker run --dns 1.1.1.1 busybox nslookup ya.ru
Answerd
Server: 1.1.1.1 Address: 1.1.1.1:53 Non-authoritative answer: Name: ya.ru Address: 87.250.250.242 *** Can't find ya.ru: No answer
git clone https://github.com/HoloborodkoBohdan/odoo-13-docker-compose.git cd odoo-13-docker-compose sudo chmod -R 777 addons sudo chmod -R 777 etc docker-compose up
Final run
docker-compose up -d
and install Portainer – Install Best Docker UI Manager