diff --git a/softwares/dockerCE.sls b/softwares/dockerCE.sls index 3af3dc5..fcfc316 100644 --- a/softwares/dockerCE.sls +++ b/softwares/dockerCE.sls @@ -37,16 +37,18 @@ - ca-certificates - curl - gnupg2 - - software-properties-common +# - software-properties-common - lsb-release Debian Docker Add Repo: - 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" - - include: - - linux.update + pkgrepo.managed: + - name: "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" + - file: /etc/apt/sources.list.d/docker-ce.list + - enable: 1 + - key_rul: https://download.docker.com/linux/debian/gpg +# 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: pkg.installed: