Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3778578
D2213.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
935 B
Referenced Files
None
Subscribers
None
D2213.diff
View Options
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,14 @@
- 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
+ - creates: /usr/bin/dockerd
{% endif %}
# -------------------------------------------------------------
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 05:40 (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264034
Default Alt Text
D2213.diff (935 B)
Attached To
Mode
D2213: Don't try to install last docker-ce version on CentOS
Attached
Detach File
Event Timeline
Log In to Comment