Correction installation Docker
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user