diff --git a/components/engine/.gitignore b/components/engine/.gitignore index 8cf66168eb..00d66de3ed 100644 --- a/components/engine/.gitignore +++ b/components/engine/.gitignore @@ -18,3 +18,4 @@ bundles/ .hg/ .git/ vendor/pkg/ +pyenv diff --git a/components/engine/AUTHORS b/components/engine/AUTHORS index 64f2ce21aa..60533c1cc2 100644 --- a/components/engine/AUTHORS +++ b/components/engine/AUTHORS @@ -44,6 +44,7 @@ Daniel Nordberg Daniel Robinson Daniel Von Fange Daniel YC Lin +Darren Coxall David Calavera David Sissitka Deni Bertovic @@ -94,6 +95,7 @@ Jonathan Rudenberg Joost Cassee Jordan Arentsen Joseph Anthony Pasquale Holsten +Josh Poimboeuf Julien Barbier Jérôme Petazzoni Karan Lyons @@ -119,6 +121,7 @@ Marko Mikulicic Markus Fix Martin Redmond Matt Apperson +Mathieu Le Marec - Pasquet Matt Bachmann Matthew Mueller Maxim Treskin @@ -165,6 +168,7 @@ Sridatta Thatipamala Sridhar Ratnakumar Steeve Morin Stefan Praszalowicz +Sven Dowideit Thatcher Peskens Thermionix Thijs Terlouw diff --git a/components/engine/CHANGELOG.md b/components/engine/CHANGELOG.md index f5c9617463..a1042ba53a 100644 --- a/components/engine/CHANGELOG.md +++ b/components/engine/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 0.6.7 (2013-11-21) + +#### Runtime + +* Improved stability, fixes some race conditons +* Skip the volumes mounted when deleting the volumes of container. +* Fix layer size computation: handle hard links correctly +* Use the work Path for docker cp CONTAINER:PATH +* Fix tmp dir never cleanup +* Speedup docker ps +* More informative error message on name collisions +* Fix nameserver regex +* Always return long id's +* Fix container restart race condition +* Keep published ports on docker stop;docker start +* Fix container networking on Fedora +* Correctly express "any address" to iptables +* Fix network setup when reconnecting to ghost container +* Prevent deletion if image is used by a running container +* Lock around read operations in graph + +#### RemoteAPI + +* Return full ID on docker rmi + +#### Client + ++ Add -tree option to images ++ Offline image transfer +* Exit with status 2 on usage error and display usage on stderr +* Do not forward SIGCHLD to container +* Use string timestamp for docker events -since + +#### Other + +* Update to go 1.2rc5 ++ Add /etc/default/docker support to upstart + ## 0.6.6 (2013-11-06) #### Runtime diff --git a/components/engine/CONTRIBUTING.md b/components/engine/CONTRIBUTING.md index 43137c67e2..4024bf2634 100644 --- a/components/engine/CONTRIBUTING.md +++ b/components/engine/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/components/engine/Dockerfile b/components/engine/Dockerfile index 9bfa266a22..4414a735dd 100644 --- a/components/engine/Dockerfile +++ b/components/engine/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.2rc5.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 @@ -46,10 +46,9 @@ run apt-get install -y -q ruby1.9.3 rubygems libffi-dev run gem install --no-rdoc --no-ri fpm run apt-get install -y -q reprepro dpkg-sig -# Install s3cmd 1.0.1 (earlier versions don't support env variables in the config) run apt-get install -y -q python-pip -run pip install s3cmd -run pip install python-magic +run pip install s3cmd==1.1.0-beta3 +run pip install python-magic==0.4.6 run /bin/echo -e '[default]\naccess_key=$AWS_ACCESS_KEY\nsecret_key=$AWS_SECRET_KEY\n' > /.s3cfg # Runtime dependencies diff --git a/components/engine/NOTICE b/components/engine/NOTICE index 08be17f366..fb6810bc28 100644 --- a/components/engine/NOTICE +++ b/components/engine/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/components/engine/README.md b/components/engine/README.md index 0d0b1cd888..12ffc2e8ec 100644 --- a/components/engine/README.md +++ b/components/engine/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/components/engine/VERSION b/components/engine/VERSION index 05e8a4593f..3b4b12db5a 100644 --- a/components/engine/VERSION +++ b/components/engine/VERSION @@ -1 +1 @@ -0.6.6 +0.6.7-dev diff --git a/components/engine/Vagrantfile b/components/engine/Vagrantfile index 93a2219fa0..6bbea51d46 100644 --- a/components/engine/Vagrantfile +++ b/components/engine/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 = <