Skip to content

Instantly share code, notes, and snippets.

View 2ro's full-sized avatar
💭
I may be slow to respond.

2ro 2ro

💭
I may be slow to respond.
View GitHub Profile
@davidkryzaniak
davidkryzaniak / lightsail-docker.sh
Created December 3, 2016 04:52
Auto-Install Docker on AWS Lightsail
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt-get install -y docker-engine
sudo service docker start
sudo docker pull php:5.6-apache