Skip to content

Instantly share code, notes, and snippets.

@ahmadmayahi
Created March 21, 2019 13:25
Show Gist options
  • Save ahmadmayahi/ee4d3799f079be64084df6c7691df134 to your computer and use it in GitHub Desktop.
Save ahmadmayahi/ee4d3799f079be64084df6c7691df134 to your computer and use it in GitHub Desktop.
Installing Docker EE on Ubuntu dist.
DOCKER_EE_URL="Put your Docker EE url here"
DOCKER_EE_VERSION=18.09
sudo apt-get remove docker docker-engine docker-ce docker.io
sudo apt-get update -y
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL "${DOCKER_EE_URL}/ubuntu/gpg" | sudo apt-key add -
sudo apt-key fingerprint 6D085F96
sudo add-apt-repository \
"deb [arch=amd64] $DOCKER_EE_URL/ubuntu \
$(lsb_release -cs) \
stable-${DOCKER_EE_VERSION}"
sudo apt-get update -y
sudo apt-get install -y docker-ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment