Commit Graph
14196 Commits
Author SHA1 Message Date
Joey Gibson ff6913868d api/client - The code for all cli commands are in one file #11610
Signed-off-by: Joey Gibson <joey@joeygibson.com>
Upstream-commit: 58690c9cca5995035b721ed6f1337b0ddb932d7a
Component: engine
2015-03-24 23:57:23 -04:00
Doug Davis 5e050af7a5 TestBuildCancelationKillsSleep send exec cmd to stdout
and makes the testing output ugly.

This hides the output since it not used.

Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: fbd47969a86793c4e87e2da1abea1f806ba0a526
Component: engine
2015-03-24 20:56:26 -07:00
Simon Eskildsen 04fe859915 listenbuffer: add docs
Signed-off-by: Simon Eskildsen <sirup@sirupsen.com>
Upstream-commit: 67bd859481a9d5c7a2ccf4c593e65d473ab3f106
Component: engine
2015-03-25 03:11:34 +00:00
Simon Eskildsen 6eeff65133 listenbuffer: add test
Signed-off-by: Simon Eskildsen <sirup@sirupsen.com>
Upstream-commit: b6b8032a1759905adbb68355e994b0405054bcc0
Component: engine
2015-03-25 03:11:33 +00:00
Doug Davis 9d47ebbe4f Add some info about what environment variables are available
Having the list in one spot makes it easier for people to see what's
avaiable instead of having to scan all of the docs and extract the info.

Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: 0d2190e6794df81f3cf3b84707ce3abdf5843100
Component: engine
2015-03-24 18:29:21 -07:00
Yestin Sun 2d1d17a53f Add more tests for pkg/chrootarchive
Fixes issue #11601

Change-Id: Ifc1dbcc59cc4dc581ed43fc8fbe43fbaec4ccad0
Signed-off-by: Yestin Sun <sunyi0804@gmail.com>
Upstream-commit: a08048d5c835f1558fbdbac2f7d833552e13d979
Component: engine
2015-03-24 18:23:28 -07:00
Jimmy Puckett b369dc093b Code simplification that @tiborvass requested
Signed-off-by: Jimmy Puckett <jimmy.puckett@spinen.com>
Upstream-commit: e8e60befd6c3b4feac975a84cd907659788fabc1
Component: engine
2015-03-24 21:10:07 -04:00
Jimmy Puckett 4ab99c503e Changing bitflag checking style to preferred style. Fixes #11668
Signed-off-by: Jimmy Puckett <jimmy.puckett@spinen.com>
Upstream-commit: ec5e22efe3fb88f2fa2eb5e9a37161940f86bcfa
Component: engine
2015-03-24 21:09:25 -04:00
Jessie Frazelle 9709821e24 Merge pull request #10527 from mfojtik/lxc_11
Fix lxc-start in lxc>1.1.0 where containers start daemonized by default
Upstream-commit: 22dba32b4dab6cec7b7a2d6dffa94a5fe713c2d3
Component: engine
2015-03-24 17:37:27 -07:00
Michael Crosby 1da629c7e0 Merge pull request #11018 from delftswa2014/10958-pidfile
Moves pid file operations to /pkg/
Upstream-commit: d214e640321ffe318fb3b89bdc55320549a7e4ae
Component: engine
2015-03-24 17:20:52 -07:00
Arnaud Porterie 11fbf94cfd Revert all but TestPullImageFromCentralRegistry changes
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Upstream-commit: 8900ae2928cea8f4b5d52ff68253cad2504edd6c
Component: engine
2015-03-24 16:27:35 -07:00
Jessie Frazelle 9a660a7843 Merge pull request #11728 from crosbymichael/lxc-mkdir
Mkdir for lxc root dir before setup of symlink
Upstream-commit: aecc5b606f7243dce7bb68bd8c94327198be02ea
Component: engine
2015-03-24 16:25:12 -07:00
Arnaud Porterie d00e59a1a0 Merge pull request #10681 from noironetworks/whitespaces-cleaner
Removed all trailing whitespaces from every text file
Upstream-commit: 322095ed63ec0943378485f8f8d4cabcfd471875
Component: engine
2015-03-24 16:02:14 -07:00
Rick Wieman e0fdaa87e8 Moved pidfile from utils to pkg
Fixes #10958 by moving utils.daemon to pkg.pidfile.
Test cases were also added.
Updated the daemon to use the new pidfile.

Signed-off-by: Rick Wieman <git@rickw.nl>
Upstream-commit: 772833274fd84b3c960ccab14258b7e5a00b18cd
Component: engine
2015-03-24 23:59:32 +01:00
Michael Crosby 08138d304c Mkdir for lxc root dir before setup of symlink
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 246cab90f216e68c25178ffd19756ab864b809d0
Component: engine
2015-03-24 15:53:23 -07:00
Michael Crosby d5ac91b394 Merge pull request #11716 from LK4D4/root_in_run
Use /var/run/docker as root for execdriver
Upstream-commit: f3fc857e018dc919fddfea645b8308379343cb4e
Component: engine
2015-03-24 14:58:30 -07:00
Matthew Mayer 0ed97cdda4 Squashed commit of the following:
commit d379f7645026001ce57fd6421c819f6c7df77964
Author: Matthew Mayer <matthewkmayer@gmail.com>
Date:   Mon Mar 23 22:13:06 2015 -0700

    Removes unused imports.

    Signed-off-by: Matthew Mayer <matthewkmayer@gmail.com>

commit 6e1f77c7f1566c8719087d88fbe06bade122691c
Author: Matthew Mayer <matthewkmayer@gmail.com>
Date:   Mon Mar 23 20:41:16 2015 -0700

    Removes bind dir creation in daemon start.

    Signed-off-by: Matthew Mayer <matthewkmayer@gmail.com>

Signed-off-by: Matthew Mayer <matthewkmayer@gmail.com>
Upstream-commit: 08d75bc450b0927966ef9c4bebe42256cf4a64ac
Component: engine
2015-03-24 14:56:45 -07:00
Michael Crosby b486c71c0f Merge pull request #11651 from vbatts/vbatts-dont_rm_dockerversion
make.sh: leave around the generated version
Upstream-commit: 46be6bb4033a5a4be9b10ab960f74641a8d79f32
Component: engine
2015-03-24 14:47:42 -07:00
Alexander Morozov c081961ccf Merge pull request #11726 from noxiouz/history-swap-parallel-assignment
History.Swap Use parallel assignment to swap elements
Upstream-commit: 979283a166126f3849102f98f1a2577ddc240b19
Component: engine
2015-03-24 14:43:44 -07:00
Michael Crosby 2ae56c859a Merge pull request #11679 from avidas/api-common-constants-document
Add comments to api/common constants
Upstream-commit: 73dab8205a77320d728d5d77880b2e1109d07a67
Component: engine
2015-03-24 14:43:09 -07:00
Alexander Morozov 82a679e32d Merge pull request #11727 from tiborvass/carry-11441
Carry 11441: fix docker ps help message
Upstream-commit: a4e1de58a3019e7ab9e143af3243713f0e80fe15
Component: engine
2015-03-24 14:42:02 -07:00
jimmyxian d83a675d7e fix docker ps help message
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
Upstream-commit: a153e80f72274c05589145011c16cc1d7f8ee75f
Component: engine
2015-03-24 15:33:53 -06:00
Anton Tiurin f0be9c4403 History.Swap Use parallel assignment to swap elements, as it's
a more idiomatic way for golang than using a temp variable.

Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
Upstream-commit: fc325274e84a0c16b758e3d6b121c9af1150cce2
Component: engine
2015-03-25 00:13:13 +03:00
Michael Crosby 63a73186e0 Merge pull request #11713 from icecrime/update_gitignore
Update .gitignore
Upstream-commit: 46321a1e4fd96fe9646ed62d3c6dfb1168933044
Component: engine
2015-03-24 14:03:31 -07:00
Alexander Morozov cd0df47776 Merge pull request #11712 from 4gh/test_httputils
add tests for pkg/httputils
Upstream-commit: 439e0ab23f57f61ac8fcb1796dfc489a4305e2be
Component: engine
2015-03-24 13:56:31 -07:00
Tibor Vass 80a1056333 Merge pull request #11663 from arthurbarr/master
Fix #11589 by adding README and comments to exported functions
Upstream-commit: 28b96cc61357d03cca8d93cd8f27bb5fc0247c2b
Component: engine
2015-03-24 14:45:05 -06:00
Vincent Batts 02a1b68a98 Merge pull request #11417 from rhatdan/btrfs
Btrfs has eliminated the BTRFS_BUILD_VERSION in latest version
Upstream-commit: 8fc9e400866456d72727afb9f8ea3a23abc4282e
Component: engine
2015-03-24 16:00:15 -04:00
Alexander Morozov 6c54305281 Merge pull request #10283 from rhatdan/dev
We want to allow the sharing of /dev from the host into the container.
Upstream-commit: 131b29f7bc003ab6e6fc1d4e06fcf6764f4f7e6d
Component: engine
2015-03-24 12:57:44 -07:00
Alexander Morozov 558349d8ce Merge pull request #11689 from calavera/ipallocator_refactor
Use a structure to keep the allocated ips pool.
Upstream-commit: f7900cdd67e71a418d3cbfeb1b23315c5be78bdf
Component: engine
2015-03-24 12:42:30 -07:00
moxiegirl 1e0e1eb7fb Merge pull request #11717 from moxiegirl/tweaks-from-contributathon
Adding in comments from party
Upstream-commit: d20ba329d1cf2a0cb3a93bd69fc9e6247f338dcc
Component: engine
2015-03-24 12:18:18 -07:00
Phil Estes 85625e1ab5 Merge pull request #11709 from paulbellamy/11626-portallocator
Refactor global portallocator and portmapper state
Upstream-commit: ce372cd6642ff0dd2de9eece489a847f088eb3bd
Component: engine
2015-03-24 13:51:00 -05:00
Michael Crosby 4e35bd8884 Merge pull request #11710 from runcom/11599-refactor-pkg-common
Refactor pkg/common, Fixes #11599
Upstream-commit: 8eee55a35c8161bde7bee50231b67f8e33dd16e0
Component: engine
2015-03-24 11:45:07 -07:00
David Calavera 0185f15317 Use a structure to keep the allocated ips pool.
Fixes #11624.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: 7e95b13460a58db75630d2d795482f39c68762c2
Component: engine
2015-03-24 11:41:44 -07:00
Mary Anthony 0b59de6c55 Adding in comments from party
Signed-off-by: Mary Anthony <mary@docker.com>
Upstream-commit: 6de806f348cf802e80a729f390bab777df146ca7
Component: engine
2015-03-24 11:25:26 -07:00
Dan Walsh 8d8bb83013 Merge branch 'master' of github.com:docker/docker into btrfs
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
Upstream-commit: 25c4a923424bdc659cdb18239290196272d17423
Component: engine
2015-03-24 14:14:54 -04:00
Alexander Morozov a6001c7df9 Use /var/run/docker as root for execdriver
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 1e788ec9855058913de6ac8a2be7acee0f001954
Component: engine
2015-03-24 10:47:30 -07:00
Arthur Barr 0e96e605fc Fix #11589 by adding README and comments to exported functions
Signed-off-by: Arthur Barr <arthur.barr@uk.ibm.com>
Upstream-commit: 557cca536f82a25f110399fcd2964e07f5d51dcf
Component: engine
2015-03-24 17:30:19 +00:00
Antonio Murdaca 1e47557825 Refactor pkg/common, Fixes #11599
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
Upstream-commit: b80fae735684406d848b16a0f148a746e17ed25f
Component: engine
2015-03-24 18:19:59 +01:00
Arnaud Porterie 04b5dbec35 Sort .gitignore content
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Upstream-commit: 4433b4c19e7eb63937e211cc0684560800799e68
Component: engine
2015-03-24 09:40:07 -07:00
Frank Herrmann 2db48ea0b7 add tests for pkg/httputils
closes #11597

Signed-off-by: Frank Herrmann <fgh@4gh.tv>
Upstream-commit: 2770a88413a98fcb3dd6e36e91c5041e5fe082eb
Component: engine
2015-03-24 16:27:09 +00:00
moxiegirl f56d95c837 Merge pull request #11697 from pdxdan/7447-GID-Doc
Updated Dockerfile and docker-run documentation for USER commands
Upstream-commit: 4b4bdb5be58943c24ca64fd8b0b69cd259515a23
Component: engine
2015-03-24 09:17:41 -07:00
moxiegirl 5748e209c9 Merge pull request #11693 from jessedearing/login_docs
Add documentation about the semantics of `docker login` @jessedearing thanks for the PR!
Upstream-commit: dbd00822ece83b614ec92454bc8e20b5238ccb4d
Component: engine
2015-03-24 09:13:53 -07:00
moxiegirl dca8944dc0 Merge pull request #11688 from afewremarks/master
RE: Issue #6114.  Updated docs to reflect docker inpsect for volumes
Upstream-commit: d827b4d235f7604e2a4fa7ad95e2d75dafb4ac27
Component: engine
2015-03-24 09:12:00 -07:00
Alexander Morozov a48304b35d Merge pull request #11670 from runcom/11607-api-route-post-auth-response
Return AuthResponse from postAuth api endpoint
Upstream-commit: 9d7f58100f6ba8f954dc4fc6c7a2171c79d940af
Component: engine
2015-03-24 08:26:07 -07:00
moxiegirl 8deca36145 Merge pull request #11690 from ssdonline/fix_issue_11683
Fixes error #11683
Upstream-commit: 05c23cad85bde1d76ccd1d398f5a839ee8ee87d9
Component: engine
2015-03-24 06:28:24 -07:00
Doug Davis 2db07bb3f2 Merge pull request #11701 from HuKeping/typo
Fix minor typo
Upstream-commit: 1ad6aae2725a0555e14d9c5fb237df4782575a6b
Component: engine
2015-03-24 08:03:09 -04:00
Hu Keping 5999274fa2 Fix minor typo
Fix minor typo and make the comments of version-comparison functions
uniform.

Signed-off-by: Hu Keping <hukeping@huawei.com>
Upstream-commit: 96d8c3584cedddfc69c01bda3f512d495b21ac47
Component: engine
2015-03-25 00:46:22 +08:00
Paul Bellamy 8938696741 Refactor global portallocator and portmapper state
Continuation of: #11660, working on issue #11626.

Wrapped portmapper global state into a struct. Now portallocator and
portmapper have no global state (except configuration, and a default
instance).

Unfortunately, removing the global default instances will break
```api/server/server.go:1539```, and ```daemon/daemon.go:832```, which
both call the global portallocator directly. Fixing that would be a much
bigger change, so for now, have postponed that.

Signed-off-by: Paul Bellamy <paul.a.bellamy@gmail.com>
Upstream-commit: 87df5ab41b3f9b2bdd8682f4afd41dac78f7e96d
Component: engine
2015-03-24 11:15:30 +00:00
Qiang Huang c7b0d94a4d add cpuset and examples to run.md
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Upstream-commit: a5cbb5c3aec0d5c717581b2b60b9ae89b2c6fd05
Component: engine
2015-03-24 18:48:08 +08:00
Antonio Murdaca 287b673e43 Return AuthResponse from postAuth api endpoint, Fixes #11607
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
Upstream-commit: babd1b3e1fd7be7674f6e96f264b1b841aeba3b9
Component: engine
2015-03-24 09:57:01 +01:00