Correction installation Docker

This commit is contained in:
2018-04-30 12:04:18 +02:00
parent 9c87b15007
commit 196bbc9ffb

View File

@@ -37,16 +37,18 @@
- ca-certificates - ca-certificates
- curl - curl
- gnupg2 - gnupg2
- software-properties-common # - software-properties-common
- lsb-release - lsb-release
Debian Docker Add Repo: Debian Docker Add Repo:
cmd.run: pkgrepo.managed:
- name: curl -fsSL 'https://download.docker.com/linux/debian/gpg' | apt-key add - - name: "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
- name: add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" - file: /etc/apt/sources.list.d/docker-ce.list
- enable: 1
include: - key_rul: https://download.docker.com/linux/debian/gpg
- linux.update # cmd.run:
# - name: curl -fsSL 'https://download.docker.com/linux/debian/gpg' | apt-key add -
# - name: add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
Debian Docker CE installation: Debian Docker CE installation:
pkg.installed: pkg.installed: