Skip to content

Instantly share code, notes, and snippets.

@dexterbt1
Last active August 29, 2015 14:05
Show Gist options
  • Save dexterbt1/c2df198a418f7981a9b1 to your computer and use it in GitHub Desktop.
Save dexterbt1/c2df198a418f7981a9b1 to your computer and use it in GitHub Desktop.

Docker on Amazon EC2 Notes

Dependencies

  • Amazon Linux AMI

Installation

yum install -y docker

Configuration

# add these lines to /etc/sysconfig/docker
ulimit -n 262144
other_args="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock"

Running

chkconfig docker on
service docker start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment