Page MenuHomeDevCentral

D2213.id5563.diff
No OneTemporary

D2213.id5563.diff

diff --git a/roles/paas-docker/docker/software.sls b/roles/paas-docker/docker/software.sls
--- a/roles/paas-docker/docker/software.sls
+++ b/roles/paas-docker/docker/software.sls
@@ -18,7 +18,7 @@
- docker-selinux
- docker-engine
-install_docker_engine:
+install_docker_engine_dependencies:
file.managed:
- name: /etc/yum.repos.d/docker-ce.repo
- source: https://download.docker.com/linux/centos/docker-ce.repo
@@ -27,9 +27,13 @@
- pkgs:
- device-mapper-persistent-data
- lvm2
- - docker-ce
- require:
- - file: install_docker_engine
+ - file: install_docker_engine_dependencies
+
+# CentOS 8 can't install docker-ce last version if containerd.io isn't recent enough.
+install_docker_engine:
+ cmd.run:
+ - name: dnf install -y docker-ce --nobest
{% endif %}
# -------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 07:48 (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264325
Default Alt Text
D2213.id5563.diff (902 B)

Event Timeline