Skip to content

Instantly share code, notes, and snippets.

View puttpotsawee's full-sized avatar

Potsawee Vechpanich puttpotsawee

View GitHub Profile
@puttpotsawee
puttpotsawee / dockerinstall_xenial.sh
Last active June 29, 2017 09:26 — forked from indykish/dockerinstall_xenial.sh
Install Docker 1.12 on Ubuntu Xenial 16.04.1 x64
# Install Docker on Xenial 16.04.1 x64
# Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/
# No interactive for now.
export DEBIAN_FRONTEND=noninteractive
# Update your APT package index.
sudo apt-get -y update
# Update package information, ensure that APT works with the https method, and that CA certificates are installed.
sudo apt-get -y install apt-transport-https ca-certificates
# Add the new GPG key.
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D