Use sudo in systemctl unmask call
systemctl is generally not accessible w/o sudo. Change-Id: I205d55670d8225002d0d04fca30c02af665174d4
This commit is contained in:
parent
bbfa8eada7
commit
e30492b03d
|
@ -32,7 +32,7 @@ sudo apt-get install --no-install-recommends -y \
|
|||
software-properties-common
|
||||
|
||||
# Purge Docker and install Docker CE
|
||||
systemctl unmask docker.service
|
||||
sudo systemctl unmask docker.service
|
||||
sudo apt-get remove --no-install-recommends -y docker docker-engine docker.io
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
sudo apt-add-repository \
|
||||
|
|
Loading…
Reference in New Issue