Skip to content

Instantly share code, notes, and snippets.

@molivier
Created January 7, 2016 14:15
Show Gist options
  • Save molivier/11ba8c3ba61f249ecbf4 to your computer and use it in GitHub Desktop.
Save molivier/11ba8c3ba61f249ecbf4 to your computer and use it in GitHub Desktop.
Install Docker Trusted Registry
#!/bin/sh
# Install Docker Trusted Registry
# Source: https://docs.docker.com/docker-trusted-registry/install/install-csengine/
# Docker CS Engine
wget -qO- 'https://pgp.mit.edu/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' | sudo apt-key add --import
sudo apt-get update && sudo apt-get install apt-transport-https
sudo apt-get install -y linux-image-extra-virtual
echo "deb https://packages.docker.com/1.9/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update && sudo apt-get install docker-engine
# Docker Trusted Registry
sudo bash -c "$(sudo docker run docker/trusted-registry install)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment