diff --git a/.gitignore b/.gitignore index 8cf66168eb..00d66de3ed 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ bundles/ .hg/ .git/ vendor/pkg/ +pyenv diff --git a/AUTHORS b/AUTHORS index 64f2ce21aa..9a0d8ecc5d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -94,6 +94,7 @@ Jonathan Rudenberg Joost Cassee Jordan Arentsen Joseph Anthony Pasquale Holsten +Josh Poimboeuf Julien Barbier Jérôme Petazzoni Karan Lyons @@ -165,6 +166,7 @@ Sridatta Thatipamala Sridhar Ratnakumar Steeve Morin Stefan Praszalowicz +Sven Dowideit Thatcher Peskens Thermionix Thijs Terlouw diff --git a/CHANGELOG.md b/CHANGELOG.md index f5c9617463..8c08cefaad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,6 @@ + Prevent DNS server conflicts in CreateBridgeIface + Validate bind mounts on the server side + Use parent image config in docker build -* Fix regression in /etc/hosts #### Client diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 43137c67e2..4024bf2634 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,11 +1,14 @@ # Contributing to Docker -Want to hack on Docker? Awesome! Here are instructions to get you started. They are probably not perfect, please let us know if anything feels -wrong or incomplete. +Want to hack on Docker? Awesome! Here are instructions to get you +started. They are probably not perfect, please let us know if anything +feels wrong or incomplete. ## Build Environment -For instructions on setting up your development environment, please see our dedicated [dev environment setup docs](http://docs.docker.io/en/latest/contributing/devenvironment/). +For instructions on setting up your development environment, please +see our dedicated [dev environment setup +docs](http://docs.docker.io/en/latest/contributing/devenvironment/). ## Contribution guidelines diff --git a/Dockerfile b/Dockerfile index fc94695fc2..df08761a61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ run apt-get install -y -q mercurial run apt-get install -y -q build-essential libsqlite3-dev # Install Go -run curl -s https://go.googlecode.com/files/go1.2rc3.src.tar.gz | tar -v -C /usr/local -xz +run curl -s https://go.googlecode.com/files/go1.2rc4.src.tar.gz | tar -v -C /usr/local -xz env PATH /usr/local/go/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin env GOPATH /go:/go/src/github.com/dotcloud/docker/vendor run cd /usr/local/go/src && ./make.bash && go install -ldflags '-w -linkmode external -extldflags "-static -Wl,--unresolved-symbols=ignore-in-shared-libs"' -tags netgo -a std diff --git a/NOTICE b/NOTICE index 08be17f366..fb6810bc28 100644 --- a/NOTICE +++ b/NOTICE @@ -8,35 +8,12 @@ by Keith Rarick, licensed under the MIT License. The following is courtesy of our legal counsel: -Transfers of Docker shall be in accordance with applicable export -controls of any country and all other applicable legal requirements. -Docker shall not be distributed or downloaded to or in Cuba, Iran, -North Korea, Sudan or Syria and shall not be distributed or downloaded -to any person on the Denied Persons List administered by the U.S. -Department of Commerce. -What does that mean? -Here is a further explanation from our legal counsel: +Use and transfer of Docker may be subject to certain restrictions by the +United States and other governments. +It is your responsibility to ensure that your use and/or transfer does not +violate applicable laws. -Like all software products that utilize cryptography, the export and -use of Docker is subject to the U.S. Commerce Department's Export -Administration Regulations (EAR) because it uses or contains -cryptography (see -http://www.bis.doc.gov/index.php/policy-guidance/encryption). Certain -free and open source software projects have a lightweight set of -requirements, which can generally be met by providing email notice to -the appropriate U.S. government agencies that their source code is -available on a publicly available repository and making the -appropriate statements in the README. +For more information, please see http://www.bis.doc.gov -The restrictions of the EAR apply to certain denied locations -(currently Iran, Sudan, Syria, North Korea, or Cuba) and those -individuals on the Denied Persons List, which is available here: -http://www.bis.doc.gov/index.php/policy-guidance/lists-of-parties-of-concern/denied-persons-list. -If you are incorporating Docker into a new open source project, the -EAR restrictions apply to your incorporation of Docker into your -project in the same manner as other cryptography-enabled projects, -such as OpenSSL, almost all Linux distributions, etc. - -For more information, see http://www.apache.org/dev/crypto.html and/or -seek legal counsel. +See also http://www.apache.org/dev/crypto.html and/or seek legal counsel. diff --git a/README.md b/README.md index 0d0b1cd888..12ffc2e8ec 100644 --- a/README.md +++ b/README.md @@ -193,10 +193,9 @@ wrong or incomplete. *Brought to you courtesy of our legal counsel. For more context, please see the Notice document.* -Transfers of Docker shall be in accordance with applicable export controls -of any country and all other applicable legal requirements. Without limiting the -foregoing, Docker shall not be distributed or downloaded to any individual or -location if such distribution or download would violate the applicable US -government export regulations. +Use and transfer of Docker may be subject to certain restrictions by the +United States and other governments. +It is your responsibility to ensure that your use and/or transfer does not +violate applicable laws. For more information, please see http://www.bis.doc.gov diff --git a/Vagrantfile b/Vagrantfile index 93a2219fa0..a0bb38ca4f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,65 +4,135 @@ BOX_NAME = ENV['BOX_NAME'] || "ubuntu" BOX_URI = ENV['BOX_URI'] || "http://files.vagrantup.com/precise64.box" VF_BOX_URI = ENV['BOX_URI'] || "http://files.vagrantup.com/precise64_vmware_fusion.box" +AWS_BOX_URI = ENV['BOX_URI'] || "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box" AWS_REGION = ENV['AWS_REGION'] || "us-east-1" -AWS_AMI = ENV['AWS_AMI'] || "ami-d0f89fb9" +AWS_AMI = ENV['AWS_AMI'] || "ami-69f5a900" +AWS_INSTANCE_TYPE = ENV['AWS_INSTANCE_TYPE'] || 't1.micro' + FORWARD_DOCKER_PORTS = ENV['FORWARD_DOCKER_PORTS'] +SSH_PRIVKEY_PATH = ENV["SSH_PRIVKEY_PATH"] + +# A script to upgrade from the 12.04 kernel to the raring backport kernel (3.8) +# and install docker. +$script = <