unclejack
4d2ba779e1
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 .
2013-11-05 22:54:24 +02:00
unclejack
f1f39616eb
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.
2013-11-05 22:54:24 +02:00
unclejack
4b8c41c4a2
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.
2013-11-05 22:52:54 +02:00
James Turnbull
e88368b34c
Removed redundant linking example
2013-11-05 14:28:57 -06:00
Tehmasp Chaudhri
4d5ecdbeb4
(doc) Update ubuntulinux.rst
...
small grammar changes - hopefully not worse than original :)
2013-11-05 12:08:56 -07:00
Victor Vieux
114e01cdc1
Merge pull request #2554 from dotcloud/copy-config-on-build
...
Use parent image config in buildfile
2013-11-05 10:54:49 -08:00
Victor Vieux
7f7926525a
Merge pull request #2517 from gurjeet/patch-2
...
Add gurjeet as an author
2013-11-05 10:52:54 -08:00
Andy Rothfusz
714acf5ade
Merge pull request #2559 from pattichen/master
...
Fix typo
2013-11-05 10:30:15 -08:00
Andy Rothfusz
962a66cd36
Merge pull request #2460 from SvenDowideit/2294-use-repo-colon-tag-everywhere
...
covert docker (commit|import|tag) to use REPOSITORY[:TAG]
2013-11-05 10:29:54 -08:00
Daniel Garcia
f9cb6ae46a
Add ability to mount volumes in readonly mode using -volumes-from
2013-11-05 11:58:51 -06:00
Guillaume J. Charmes
ff8a4ba0aa
Check the output of iptables command.
2013-11-05 08:33:13 -08:00
Victor Vieux
dcaaecc815
Merge pull request #2558 from tianon/go-bump
...
Bump Dockerfile to go1.2rc3
2013-11-04 23:39:10 -08:00
pattichen
2cac813937
Fix typo
2013-11-04 22:36:57 -08:00
Tianon Gravi
fcc0ac6109
Bump Dockerfile to go1.2rc3
2013-11-04 21:12:18 -07:00
Victor Vieux
c5d4459a02
Merge pull request #2502 from hamo/unlink_err_v4
...
rewrite protocol check with switch-case in Server.Daemon
2013-11-04 17:46:46 -08:00
James Turnbull
1182797c6d
Updated Redis service example to use links
2013-11-04 19:18:37 -06:00
Victor Vieux
a482bfd715
Merge pull request #2382 from dotcloud/reflect_future_changes_search_api
...
Update docker search to reflect future changes of the api
2013-11-04 16:14:14 -08:00
Tianon Gravi
8ad46ef401
Merge pull request #2365 from tianon/sysvinit-consistency
...
Update sysvinit script to fix a few inconsistencies and be more useful/correct downstream
2013-11-04 15:34:51 -08:00
Victor Vieux
854cc5f559
remove column size hack
2013-11-04 15:34:51 -08:00
Michael Crosby
57cd17f656
Merge pull request #2499 from dotcloud/2414-logs_tty-fix
...
Fix logs with tty
2013-11-04 14:22:08 -08:00
Michael Crosby
99141ea3ca
Use parent image config in buildfile
2013-11-04 13:20:14 -08:00
Roberto Gandolfo Hashioka
3061e9f374
- Removed some unconfirmed info
...
- Added reference to the index.rst
2013-11-04 13:16:51 -08:00
Andy Rothfusz
19ad299600
Merge pull request #2534 from jamtur01/examples_fixes
...
A variety of syntax and style fixes for the Docker examples
2013-11-04 12:35:57 -08:00
Victor Vieux
177a2f5946
add CmdLogs test
2013-11-04 12:23:35 -08:00
Victor Vieux
1f44fd8624
Fix logs with tty
2013-11-04 12:19:20 -08:00
Guillaume J. Charmes
c065e564fb
Merge pull request #2549 from dotcloud/ensure-container-name
...
Ensure container name on register
2013-11-04 12:12:42 -08:00
Guillaume J. Charmes
342bd43b76
Merge pull request #2525 from dotcloud/fix_hostnames
...
Fix regression in /etc/hosts
2013-11-04 11:26:27 -08:00
Guillaume J. Charmes
b380866f44
Merge pull request #2551 from dotcloud/concurrent-db-access
...
Add lock around write operations in graph
2013-11-04 11:24:59 -08:00
Andy Rothfusz
dc333878d2
Merge pull request #2533 from jamtur01/add_sudo
...
Some format and syntax changes.
2013-11-04 11:24:51 -08:00
Guillaume J. Charmes
261c2e23d3
Merge pull request #2501 from dotcloud/2480-check_port-fix
...
check port is valid
2013-11-04 11:23:55 -08:00
Michael Crosby
957db15ef4
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.
2013-11-04 10:28:38 -08:00
Michael Crosby
a9ed238bb7
Ensure container name on register
2013-11-04 09:28:40 -08:00
Michael Crosby
35690e76b4
Merge pull request #2409 from pnasrat/2089-fix-restart-runtime-error
...
Fix restart runtime error with ghost container networking
2013-11-04 08:55:11 -08:00
Michael Crosby
2a0efb2324
Merge pull request #2427 from thequux/send-headers-immediately
...
Make /events API send headers immediately
2013-11-04 08:49:27 -08:00
Michael Crosby
a4ccbc6e95
Merge pull request #2542 from oguzbilgic/changelog-0.6.5
...
Remove duplicate titles in changelog entries of v0.6.5
2013-11-04 08:25:22 -08:00
Michael Crosby
2824b05235
Merge pull request #2537 from jamtur01/more_names
...
Added some more colors and animals to increase the pool
2013-11-04 08:23:23 -08:00
Oguz Bilgic
fbfb7595b1
Remove duplicate titles in changelog entries of v0.6.5
2013-11-04 08:20:05 -05:00
Sven Dowideit
b840b73b08
tiny table heading tweak for #2149 - change ID to CONTAINER ID/IMAGE ID or IMAGE (the later if it could be an ID or a repo:tag
2013-11-04 22:10:51 +10:00
Sven Dowideit
1f3cdc11ee
conert docker (commit|import|tag) to use REPOSITORY[:TAG] (and repove support for REPOSITORY TAG)
2013-11-04 22:07:55 +10:00
Paul Nasrat
95708dd35c
Create new network on dead ghosts on restart.
...
Fixes #2089
2013-11-03 14:13:18 -05:00
James Turnbull
a51fb4dd35
Added some more colors and animals to increase the pool
2013-11-03 11:49:29 -06:00
Paul Nasrat
4cbb6ce13b
Introduce failing test case for #2089
2013-11-03 11:14:59 -05:00
James Turnbull
1cb4557cc8
A variety of syntax and style fixes for the Docker examples
...
* Made Docker a proper noun when needed.
* Fixed code syntax
* Fixed some whitespace issues
* Fixed some typos and grammar
* Tidied up some examples
2013-11-02 18:26:52 -07:00
James Turnbull
c33d26a8da
Some format and syntax changes.
...
* Added sudo as per convention to docker commands
* Break the Dockerfile block up
* Redis is a proper noun
* Minor whitespace fixes
2013-11-02 17:53:44 -07:00
Andy Rothfusz
5a9adfe9fb
Add known issues. Fix build warnings.
2013-11-01 16:06:46 -07:00
Victor Vieux
f3685333c0
fix regression in /etc/hosts
2013-11-01 15:46:26 -07:00
Victor Vieux
fc45535197
Merge pull request #2503 from dotcloud/2500-inspect-fix
...
Client: Inspect fix
2013-11-01 15:24:05 -07:00
Victor Vieux
8f27e23b4b
Merge pull request #2457 from dotcloud/2454_do_not_split_last_column
...
RemoteAPI: Do not split last column docker top
2013-11-01 15:21:47 -07:00
Andy Rothfusz
4194617bfe
Add known issues to sections via new "issues" extension.
2013-11-01 15:15:06 -07:00
Victor Vieux
d8bcd1c231
Merge pull request #2497 from dotcloud/jpetazzo-escape-apparmor-confinement
...
Runtime: escape apparmor confinement
2013-11-01 15:07:54 -07:00