Skip to content

Instantly share code, notes, and snippets.

View InvisibleKind's full-sized avatar

Viktor Livakivskyi InvisibleKind

  • Leonberg, Germany
View GitHub Profile
@InvisibleKind
InvisibleKind / ec2-startup.sh
Created March 20, 2017 16:01 — forked from ReedD/ec2-startup.sh
User data for EC2 to set up Docker and Compose (Fig) for ec2-user
#!/bin/sh
export PATH=/usr/local/bin:$PATH;
yum update
yum install docker -y
service docker start
# Docker login notes:
# - For no email, just put one blank space.
# - Also the private repo protocol and version are needed for docker
# to properly setup the .dockercfg file to work with compose