• Fetch an image from the public registry with “docker pull” • Enter an image with “docker run“ and do some changes • Record those changes with “docker commit”, repeat as many times as needed • And then share the result with “docker push” on the public registry, or a private one
In the Launch Instance Wizard, set #include https://get.docker.io as User data • Launch & ssh into the instance • Wait for the cloudinit script to finish • Last version of docker is installed
• Restart the docker daemon sudo service docker restart • Open the port 4243 in the EC2 console • On you laptop, set DOCKER_HOST $>export DOCKER_HOST=<EC2_ip>:4243 $>docker run fedora:20 ls