Skip to content

Rework install.sh to work with cloud-init - #53

Merged
shykes merged 6 commits into
moby:masterfrom
jpetazzo:cloudinit
Mar 12, 2013
Merged

shykes merged 6 commits into
moby:masterfrom
jpetazzo:cloudinit

Conversation

@jpetazzo

Copy link
Copy Markdown
Contributor

Jeff's install.sh has been reworked, and can now be used as a cloud-init script.

To use it: create an EC2 instance (Ubuntu, 64 bits), and in the user data, specify the following:

#include
http://get.docker.io/

At the end of the boot process, the script will be downloaded and executed. It will take care of downloading the latest builds of docker and dockerd.

cloud-init expects a shebang in the beginning of the script
We don't need temporary files.
Also, get the tarball from get.docker.io instead of Dropbox.
Because when the job isn't running, "restart" won't work.
When running precise or quantal, installing the matching -extra kernel
will install the required file.
shykes pushed a commit that referenced this pull request Mar 12, 2013
Rework install.sh to work with cloud-init
@shykes
shykes merged commit 47c86e7 into moby:master Mar 12, 2013
crosbymichael added a commit to crosbymichael/docker that referenced this pull request Nov 20, 2013
Improve aufs cleanup and debugging
@jplock jplock mentioned this pull request Mar 10, 2014
@tinabme tinabme mentioned this pull request Jul 20, 2015
thaJeztah added a commit to thaJeztah/docker that referenced this pull request Sep 18, 2018
…-control

[18.09] backport always hornor client side to choose which builder to use with DOCKER_…
ndeloof added a commit to ndeloof/docker that referenced this pull request Aug 12, 2022
crazy-max pushed a commit to crazy-max/moby that referenced this pull request Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants