Skip to content

Instantly share code, notes, and snippets.

@rismoney
Created May 10, 2018 14:34
Show Gist options
  • Save rismoney/24b2f1ad5620d2134fbfc2e5037c8658 to your computer and use it in GitHub Desktop.
Save rismoney/24b2f1ad5620d2134fbfc2e5037c8658 to your computer and use it in GitHub Desktop.
Install DOCKER AND....Functional certificates on ubuntu
# These 4 lines took a bit of figuring out to make anything work here through our ssl termination point.
run `openssl x509 -inform PEM -in issuing.cer -out TPissuing.crt`
run `openssl x509 -inform PEM -in root.cer -out TProot.crt`
cp each cert to dest: /usr/share/ca-certificate/mozzilla
sudo dpkg-reconfigure ca-certificates (and ensure new certs are selected.
These are from docker-ce install on ubuntu
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt-get update
confirm key using:
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
#finally
apt-get install docker-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment