Commit Graph
4051 Commits
Author SHA1 Message Date
Solomon Hykes c136168290 Hack: simplify the creation of test directories
Upstream-commit: 5a85456d481a5f88fc0efc02c41b3bff987c0ed1
Component: engine
2013-11-05 23:00:16 +00:00
Andy Rothfusz bbfaa00404 Merge pull request #2562 from tchaudhri/patch-1
(doc) Update ubuntulinux.rst
Upstream-commit: 980eda4c25c2221127f93b7b5194e372a29be197
Component: engine
2013-11-05 14:52:07 -08:00
Andy Rothfusz 8a1dabb05a Merge pull request #2423 from rogaha/volumes_doc
Added volumes documentation
Upstream-commit: bf05eb8ac0a8c919131c9c640e52b73387b9a1e0
Component: engine
2013-11-05 14:38:28 -08:00
Tianon Gravi e77776215c Merge pull request #2563 from mzdaniel/desktop-integration
contrib: Desktop integration. Firefox usecase.
Upstream-commit: f3f9f652e1fac6039784ff11290a5cb5979ad024
Component: engine
2013-11-05 14:02:13 -08:00
Daniel Mizyrycki 893c4c44a9 contrib: Desktop integration. Firefox usecase.
Upstream-commit: 5af87d147580555c72e6a1d448ab663f991cc737
Component: engine
2013-11-05 13:21:52 -08:00
unclejack 497f4207e9 test: error out when bind mount source doesn't exist
This adds a test to verify that the server is checking whether the path
to be bind mounted actually exists on the server.
Upstream-commit: 35430e89201972d877ba01405f966882a1d3888a
Component: engine
2013-11-05 22:54:24 +02:00
unclejack 9f8cb6e156 validate bind mounts on the server side
This changes the server side code to make sure that:
1) the source of a bind mount isn't /
   The bind mount "/:/foo" isn't allowed.
2) Check that the source exists
   The source to be bind mounted must exist.

This fixes issue #2070.
Upstream-commit: 4d2ba779e1a0596c51cc6ed2ddb7c2139830f15c
Component: engine
2013-11-05 22:54:24 +02:00
unclejack 730dda3e21 add test to ensure / can't be bind mounted
This adds a test which checks that we're erroring out when we attempt
to bind mount root in a container.
Upstream-commit: f1f39616eb052455a383de589bbc1eaa9ab5d96c
Component: engine
2013-11-05 22:54:24 +02:00
unclejack 26ce0d7e39 disallow / as source for bind mount in the cli
This makes the docker cli reject docker run commands which include bind
mounts like "/:/some/path/in/the/container".
Bind mounting the root directory is a bad idea and the cli should throw
an error right away.

The same check will also be made by the remote API via another commit.
Upstream-commit: 4b8c41c4a2591797f97ad079e4314b21498ba732
Component: engine
2013-11-05 22:52:54 +02:00
James Turnbull 8da2c74ae5 Removed redundant linking example
Upstream-commit: e88368b34cab8d4b7d5a1179cdd25fc9cd2b3d79
Component: engine
2013-11-05 14:28:57 -06:00
Tehmasp Chaudhri 7eaaa6080e (doc) Update ubuntulinux.rst
small grammar changes - hopefully not worse than original :)
Upstream-commit: 4d5ecdbeb4e428d92c5a0089378f7bae9b3ca3d9
Component: engine
2013-11-05 12:08:56 -07:00
Victor Vieux a193590012 Merge pull request #2554 from dotcloud/copy-config-on-build
Use parent image config in buildfile
Upstream-commit: 114e01cdc1457a2a6ceb2288f3d72cbd3614dc8f
Component: engine
2013-11-05 10:54:49 -08:00
Victor Vieux 9fe5aeedd4 Merge pull request #2517 from gurjeet/patch-2
Add gurjeet  as an author
Upstream-commit: 7f7926525ac1aa1bd470121dbba22588f95e789e
Component: engine
2013-11-05 10:52:54 -08:00
Solomon Hykes 5d5633048a Engine: optional environment variable 'Logging' in 'serveapi'
Upstream-commit: 02ddaad5d985186eed94dea4105a57fa21ba24db
Component: engine
2013-11-05 18:39:59 +00:00
Solomon Hykes 18c16d13e3 Engine: improved logging and identification of jobs
Upstream-commit: 4e7cb37dcc18975010df630d8c9580a3a65e0e69
Component: engine
2013-11-05 18:39:59 +00:00
Solomon Hykes be8463c1d5 Engine: don't export private testing utilities
Upstream-commit: ca6f0aa107117d2125a63eb5e78d74095bf08a4c
Component: engine
2013-11-05 18:39:59 +00:00
Solomon Hykes 02af0b7684 Engine: fix a bug which caused handlers to be shared between multiple engine instances
Upstream-commit: 847411a1ee6e5ee5d051fc4729425215dc0c8561
Component: engine
2013-11-05 18:39:59 +00:00
Solomon Hykes 6d10998928 httpapi: don't create a pidfile if it isn't set in the configuration
Upstream-commit: 7b17d555992c65c6b10da21c8aa48062a1aba0d9
Component: engine
2013-11-05 18:39:59 +00:00
Solomon Hykes 26507356b3 Engine: 'start' starts the specified container
Upstream-commit: 958b4a8757e83c3fada757b10dd1be4ab7bff5ee
Component: engine
2013-11-05 18:39:59 +00:00
Andy Rothfusz d216ad8055 Merge pull request #2559 from pattichen/master
Fix typo
Upstream-commit: 714acf5ade98c4a3ec4069390b8cd66107347ab9
Component: engine
2013-11-05 10:30:15 -08:00
Andy Rothfusz b64b038b00 Merge pull request #2460 from SvenDowideit/2294-use-repo-colon-tag-everywhere
covert docker (commit|import|tag) to use REPOSITORY[:TAG]
Upstream-commit: 962a66cd36a615bb0a7cb9866becdccf4aa97839
Component: engine
2013-11-05 10:29:54 -08:00
Daniel Garcia 6c362cebcc Add ability to mount volumes in readonly mode using -volumes-from
Upstream-commit: f9cb6ae46a3478c19e85a2a159c4ac31223ec499
Component: engine
2013-11-05 11:58:51 -06:00
Solomon Hykes 8a182f4aaf Separate a) initialization of the http api and b) actually serving the api into 2 distinct jobs
Upstream-commit: 433c8e9c7da7cd3cd952c3dce3763db70fc450e5
Component: engine
2013-11-05 17:41:37 +00:00
Solomon Hykes 7380c2e120 Merge pull request #2 from tianon/dm-plugin-dockerfile
Hack: Add lvm2 static compilation to Dockerfile
Upstream-commit: 140da580d4f0efaf6c1bc470a16edc7c7f2477c7
Component: engine
2013-11-05 09:35:03 -08:00
Guillaume J. Charmes 255b88c532 Check the output of iptables command.
Upstream-commit: ff8a4ba0aa20dc3b382e2dcddcd89bb0bb168496
Component: engine
2013-11-05 08:33:13 -08:00
pattichen b09631ee21 Fix typo
Upstream-commit: 2cac81393715e6a748b3a2316d5163604497b26c
Component: engine
2013-11-04 22:36:57 -08:00
Michael Crosby cb784bb36f Finalize driver interfaces
Upstream-commit: ed572b457d28101b6ef465e5a3e221ee1fc7d48a
Component: engine
2013-11-04 20:51:12 -08:00
Tianon Gravi 8d563825a1 Bump Dockerfile to go1.2rc3
Upstream-commit: fcc0ac61093d0cd0b49b11bb5f7f7501e070bd63
Component: engine
2013-11-04 21:12:18 -07:00
Victor Vieux 956deb4fe0 Merge pull request #2502 from hamo/unlink_err_v4
rewrite protocol check with switch-case in Server.Daemon
Upstream-commit: c5d4459a02ee98f629e65402551a871c451fb6ac
Component: engine
2013-11-04 17:46:46 -08:00
James Turnbull 14d0aebe52 Updated Redis service example to use links
Upstream-commit: 1182797c6d6bf4bb87e5edcddd75edb3f995dac0
Component: engine
2013-11-04 19:18:37 -06:00
Victor Vieux 22e1fc60ec Merge pull request #2382 from dotcloud/reflect_future_changes_search_api
Update docker search to reflect future changes of the api
Upstream-commit: a482bfd715c6c33603ee5fbdc27693c942dbef93
Component: engine
2013-11-04 16:14:14 -08:00
Tianon Gravi 4349b8fd0b Merge pull request #2365 from tianon/sysvinit-consistency
Update sysvinit script to fix a few inconsistencies and be more useful/correct downstream
Upstream-commit: 8ad46ef401fd0665efe16f50021a5a48a14b51e5
Component: engine
2013-11-04 15:34:51 -08:00
Victor Vieux 4dd237b1bf remove column size hack
Upstream-commit: 854cc5f55992b8bb200f470b11896a0b3cb68d4e
Component: engine
2013-11-04 15:34:51 -08:00
Michael Crosby 14efe59bac Add graph driver registration
Upstream-commit: 752bfba2c5d6030d6fe3d615d0c2afd2696e7b20
Component: engine
2013-11-04 15:22:34 -08:00
Tianon Gravi 2e3d85e90f Add libdevmapper static compilation to Dockerfile for device-mapper
Upstream-commit: d11f75b5050944e373125008be1c9683797c72a9
Component: engine
2013-11-04 16:11:33 -07:00
Tianon Gravi 57c35f0f44 Update Dockerfile to consistently use tabs as the command argument separator
Upstream-commit: 24dd838aeefcf4ea1f5a950a9fe0af075f00e2bf
Component: engine
2013-11-04 15:39:16 -07:00
Michael Crosby 6a08c29b8a Merge pull request #2499 from dotcloud/2414-logs_tty-fix
Fix logs with tty
Upstream-commit: 57cd17f6568205d8dadf38b94768a68582c9af11
Component: engine
2013-11-04 14:22:08 -08:00
Michael Crosby 33ea8b01c4 Use parent image config in buildfile
Upstream-commit: 99141ea3ca3c0429ecdfc3bdb097a68957beab71
Component: engine
2013-11-04 13:20:14 -08:00
Roberto Gandolfo Hashioka b6ee1ce3fa - Removed some unconfirmed info
- Added reference to the index.rst
Upstream-commit: 3061e9f37434fa6bb0714861119ae01d8c4b35fb
Component: engine
2013-11-04 13:16:51 -08:00
Andy Rothfusz 801c058dee Merge pull request #2534 from jamtur01/examples_fixes
A variety of syntax and style fixes for the Docker examples
Upstream-commit: 19ad299600ff9acddc7baf1a97deab231c669f50
Component: engine
2013-11-04 12:35:57 -08:00
Victor Vieux d5f3dc4566 add CmdLogs test
Upstream-commit: 177a2f5946623a4d4f90f5a227e57211eed6ade3
Component: engine
2013-11-04 12:23:35 -08:00
Victor Vieux 39f858c891 Fix logs with tty
Upstream-commit: 1f44fd8624d1de3f7e1e55880352faef2e141fb1
Component: engine
2013-11-04 12:19:20 -08:00
Guillaume J. Charmes 0d76c57f44 Merge pull request #2549 from dotcloud/ensure-container-name
Ensure container name on register
Upstream-commit: c065e564fb6dd6799a37ae1deb1f4e68498d04f5
Component: engine
2013-11-04 12:12:42 -08:00
Guillaume J. Charmes 83558bb275 Merge pull request #2525 from dotcloud/fix_hostnames
Fix regression in /etc/hosts
Upstream-commit: 342bd43b766e828753ffec35a6ae9b76e988c483
Component: engine
2013-11-04 11:26:27 -08:00
Guillaume J. Charmes 69a483e207 Merge pull request #2551 from dotcloud/concurrent-db-access
Add lock around write operations in graph
Upstream-commit: b380866f443141ee4b6973de22d72378b235194f
Component: engine
2013-11-04 11:24:59 -08:00
Andy Rothfusz 00be4ae87e Merge pull request #2533 from jamtur01/add_sudo
Some format and syntax changes.
Upstream-commit: dc333878d2337684466f0241d19bccf3a4fad4b5
Component: engine
2013-11-04 11:24:51 -08:00
Guillaume J. Charmes 176a3c9fd3 Merge pull request #2501 from dotcloud/2480-check_port-fix
check port is valid
Upstream-commit: 261c2e23d3fb158ca94c65e11ae3f249e17c6a31
Component: engine
2013-11-04 11:23:55 -08:00
Michael Crosby a3ae366b74 Add lock around write operations in graph
The graph uses a persistent database connection so
a lock is required because our current sqlite3 driver
does not implement retry logic when the ErrBusy is received.
Upstream-commit: 957db15ef4cef2f3a6b2933260a7806d69ff68e0
Component: engine
2013-11-04 10:28:38 -08:00
Michael Crosby 626d3f3226 Ensure container name on register
Upstream-commit: a9ed238bb76774c142107b3f06e8c9e9a1e59e65
Component: engine
2013-11-04 09:28:40 -08:00
Solomon Hykes 4092fc1017 Integrate devmapper and aufs into the common "graphdriver" framework.
aufs is still enabled by default, no mechanism for switching drivers
yet.
Upstream-commit: 98c3693acf2db18c0d0c6211498bf6e1d8f068c6
Component: engine
2013-11-04 17:28:35 +00:00