Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3779336
D2213.id5563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
902 B
Referenced Files
None
Subscribers
None
D2213.id5563.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,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
Details
Attached
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)
Attached To
Mode
D2213: Don't try to install last docker-ce version on CentOS
Attached
Detach File
Event Timeline
Log In to Comment