Victor Vieux
53f1bf0f99
Bump version to v0.6.7
2013-11-21 18:03:41 -08:00
Victor Vieux
9dc59797e0
Merge branch 'master' into bump_v0.6.7
2013-11-21 17:40:29 -08:00
Michael Crosby
25e443a3c7
Merge pull request #2798 from dotcloud/fix_state_race
...
Refactor State to be 100% thread safe
2013-11-21 16:39:50 -08:00
Guillaume J. Charmes
33e70864a2
Refactor State to be 100% thread safe
2013-11-21 16:34:58 -08:00
Michael Crosby
d6e6214d37
Merge pull request #2678 from cxmcc/minor
...
Minor code simplification for Containers api
2013-11-21 16:27:15 -08:00
Michael Crosby
70f1bd3104
Merge pull request #2488 from viirya/fix_container_volumes_delete
...
Skip the volumes mounted when deleting the volumes of container.
2013-11-21 16:20:22 -08:00
Michael Crosby
f7c2a00557
Merge pull request #2304 from unclejack/fix_layer_size_computation
...
Fix layer size computation: handle hard links correctly
2013-11-21 16:10:24 -08:00
Victor Vieux
8498b44eac
Merge pull request #2731 from SvenDowideit/docker-commit-doc
...
make the docker commit help more copy&pasteable
2013-11-21 15:33:05 -08:00
Andy Rothfusz
e2dcfc2cf7
Merge pull request #2772 from bitoiu/patch-3
...
Change to documentation for AWS AMI request
2013-11-21 15:15:04 -08:00
Andy Rothfusz
9b4c151142
Merge pull request #2717 from metalivedev/2342-uploadingcontext
...
Fix #2342 . Harmonize information about ADD. Cross-link build info.
2013-11-21 15:09:47 -08:00
Andy Rothfusz
50239e0573
Merge pull request #2799 from rosenhouse/patch-1
...
Fix title on doc page for remote_api_client_libraries.rst
2013-11-21 14:40:33 -08:00
Guillaume J. Charmes
42c23b0f04
Merge pull request #2763 from dotcloud/use_full_id_delete
...
Do ont truncate ID on docker rmi
2013-11-21 14:39:38 -08:00
Guillaume J. Charmes
eec91e7941
Merge pull request #2805 from pmorie/typo
...
Fix typo in pullImage
2013-11-21 14:35:07 -08:00
Paul Morie
3f17844b6e
Fix typo in pullImage
2013-11-21 17:29:03 -05:00
Guillaume J. Charmes
bcdeb37bb6
Merge pull request #2794 from dotcloud/fix_status_code_and_usage
...
fix status code and usage
2013-11-21 13:48:38 -08:00
Gabe Rosenhouse
362e9d6b3c
Fix title on doc page for remote_api_client_libraries.rst
2013-11-21 12:45:01 -08:00
Guillaume J. Charmes
c4ab498920
Merge pull request #2797 from crosbymichael/revert-exit-lock
...
Revert "Lock state before we modify."
2013-11-21 12:19:23 -08:00
Michael Crosby
cb70eedfda
Revert "Lock state before we modify."
...
This reverts commit d7e2fc8982 .
2013-11-21 12:11:25 -08:00
Victor Vieux
75a7f4d90c
Return status exit status 2 on usage, move parserun into commands.go, display usage on stderr
2013-11-21 11:43:07 -08:00
Victor Vieux
eaeb969138
Merge pull request #2795 from pnasrat/docker-testmultipleattachrestart-race
...
Lock state before we modify.
2013-11-21 11:28:02 -08:00
Paul Nasrat
d7e2fc8982
Lock state before we modify.
...
When we start a container we lock state, we should do the same in stop.
Detected via -race.
2013-11-21 08:06:02 -05:00
Victor Vieux
f20c738963
Merge pull request #2793 from crosbymichael/offline-ids
...
Allow images to be saved and loaded by id and repository
2013-11-21 02:44:00 -08:00
Michael Crosby
fd7ab143bf
Allow images to be saved and loaded by id and repository
2013-11-20 17:28:19 -08:00
Andy Rothfusz
82cdd21a34
Merge pull request #2727 from SvenDowideit/docker-images-doc
...
add some common examples for docker images, and tell the user what -a filters out
2013-11-20 16:30:48 -08:00
Michael Crosby
2bc35287a0
Merge pull request #2723 from SvenDowideit/doc-build-image
...
Use the work Path for docker cp CONTAINER:PATH
2013-11-20 11:10:13 -08:00
Guillaume J. Charmes
b4f7078a02
Merge pull request #2773 from dotcloud/speed_up_docker_ps
...
speedup docker ps
2013-11-20 10:40:03 -08:00
Guillaume J. Charmes
9e68913397
Merge pull request #2760 from dotcloud/improve_engine_test
...
improve tests on the engine
2013-11-20 10:38:46 -08:00
Victor Vieux
304a80fcd5
Merge pull request #2747 from jpoimboe/test-fixes
...
Test fixes
2013-11-20 10:07:40 -08:00
Guillaume J. Charmes
04f1d4dcdb
Merge pull request #2788 from jpoimboe/resize-after-start
...
resize pty after starting
2013-11-20 10:01:59 -08:00
Josh Poimboeuf
171d681724
resize pty after starting
...
Since ptyMaster is created during container start (startPty), it should
resized after starting, not before.
2013-11-20 11:40:30 -06:00
Michael Crosby
cd4c1ac356
Merge pull request #2779 from crosbymichael/pin-python-deps
...
Pip python deps to a specific version
2013-11-19 21:29:09 -08:00
Michael Crosby
b8af68a92b
Merge pull request #1974 from dotcloud/1155-offline-image-transfer
...
Implement offline image transfers
2013-11-19 20:00:58 -08:00
Michael Crosby
9de4590498
Add typo in remove all. Ensure tmpDir is removed
2013-11-20 03:52:33 +00:00
Michael Crosby
0ef6fed5c7
Fix error checks for offline transfer and remove unneeded debug output
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
383f95bba1
Adding 1.7 documentation
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
1211065c8d
Adding content type to images/(name)/get
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
844c13bce6
Fixing build
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
6014db4a7e
Setting offline package version to 1.0
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
bf504f2afa
Adding spaces to fix docs build
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
61a8020e51
Adding version info, switching to defer for cleanup
2013-11-20 03:52:33 +00:00
Frederick F. Kautz IV
7eaa59f626
Offline Image Transfers #1155
2013-11-20 03:52:33 +00:00
Michael Crosby
2cccbbdadd
Pip python deps to a specific version
2013-11-19 19:25:54 -08:00
Victor Vieux
b700ee006a
Merge pull request #2777 from dotcloud/fix_port_stop_start
...
don't import emport empty hostconfig
2013-11-19 18:36:22 -08:00
Victor Vieux
0169cf15dd
don't import emport empty hostconfig
2013-11-19 18:28:50 -08:00
Michael Crosby
234f5ac39f
Merge pull request #2750 from jpoimboe/simplify-register-reconnect
...
Simplify the runtime Register reconnect logic
2013-11-19 17:30:59 -08:00
Victor Vieux
d575918038
Merge pull request #2748 from jpoimboe/fix-restart-race-condition
...
fix container restart race condition
2013-11-19 16:26:13 -08:00
Tianon Gravi
66beafa9f3
rename file to remove testing flags from docker binary
2013-11-19 12:41:29 -08:00
Josh Poimboeuf
3cbec95177
simplify the runtime Register reconnect logic
...
Refactor the Register code a little bit to make it easier to comprehend.
2013-11-19 14:09:30 -06:00
Victor Vieux
8e5ab5bfca
improve tests on the engine
2013-11-19 11:47:47 -08:00
Michael Crosby
9d867a389b
Merge pull request #2759 from dotcloud/lintify-1
...
Lintify code with confidence=1
2013-11-19 11:26:15 -08:00
Andy Rothfusz
4f9f83d6c6
Fix #2342 . Harmonize information about ADD. Cross-link build info.
2013-11-19 11:16:28 -08:00
Victor Vieux
145c2008ae
speedup docker ps
2013-11-19 11:02:10 -08:00
Andy Rothfusz
4eaba8de91
Merge pull request #2757 from Painted-Fox/patch-2
...
Simplify the upstart example in host_integration.rst
2013-11-19 10:29:54 -08:00
Andy Rothfusz
434c1613a4
Merge pull request #2770 from tianon/better-man-page
...
Switch sphinx man_pages generation to use commandline/cli
2013-11-19 10:28:50 -08:00
Andy Rothfusz
18da26c62a
Merge pull request #2766 from sbellem/doc-improvements
...
fixed typos, and made small improvements to the wording
2013-11-19 10:27:25 -08:00
Vitor Monteiro
aeb304b37c
Change to documentation for AWS AMI request
...
Hi guys, it just might be me, but clicking the AMI from http://cloud-images.ubuntu.com/locator/ec2/ is broken to me. So I just did it via the normal Create Instance Wizard.
I just though some people might have the same issue.
Sorry if my markdown for links is screwed up, I went by the examples, since I'm used to the `[]()` traditional one.
Cheers.
2013-11-19 17:50:38 +00:00
Ryan Seto
1da8c50ded
Fix quote mistake.
2013-11-19 12:14:39 -05:00
Tianon Gravi
1cd9529ad3
Switch sphinx man_pages generation to use commandline/cli instead of toctree for a more relevant/useful man page
2013-11-19 10:10:42 -07:00
Daniel Mizyrycki
f78d45863c
Merge pull request #2734 from zitrusmedia/master
...
Vagrantfile modified to support VBoxGuestAdditions_4.3.2
2013-11-19 09:04:28 -08:00
Sylvain Bellemare
3656db66d2
fixed typos, and made small improvements to the wording
2013-11-19 14:44:50 +01:00
unclejack
78c843c8ef
fix container size computation: handle hard links
...
This change makes docker compute container size correctly.
The old code isn't taking hard links into account. Containers could
seem like they're up to 1-1.5x larger than they really were.
2013-11-19 13:53:34 +02:00
unclejack
ac821f2446
fix layer size computation: handle hard links
...
This change makes docker compute layer size correctly.
The old code isn't taking hard links into account. Layers could
seem like they're up to 1-1.5x larger than they really were.
2013-11-19 13:37:54 +02:00
Victor Vieux
2fe4467d73
Do ont truncate ID on docker rmi
2013-11-18 18:39:02 -08:00
Ryan Seto
194d4b9376
Correct the quotations in the command to add the -r=false flag. Thanks to @tianon for pointing this out.
2013-11-18 21:23:00 -05:00
Andy Rothfusz
1de02a70de
Merge pull request #2719 from metalivedev/2702-knownissue-lxc-start-failed-to-mount
...
Fixes #2702 . Also cleans up formatting and long lines in volumes doc.
2013-11-18 17:27:49 -08:00
Guillaume J. Charmes
5e941f1ca0
Lintify code with confidence=1
2013-11-18 16:24:11 -08:00
Andy Rothfusz
511a62a099
Merge pull request #2755 from metalivedev/test-2592
...
Replace PR#2592
2013-11-18 15:29:48 -08:00
Andy Rothfusz
256d46fe68
Merge pull request #2721 from metalivedev/2701-addmedia
...
Add security section and embed private registry video.
2013-11-18 15:29:35 -08:00
Ryan Seto
76ee860ece
Simplify the upstart example in host_integration.rst
...
Taking some pointers from @tianon on my pull request #2685 .
2013-11-18 16:21:03 -05:00
Andy Rothfusz
2ae1f29dfe
Fixes #2702 . Also cleans up formatting and long lines in volumes doc.
2013-11-18 13:09:13 -08:00
Josh Poimboeuf
4b80ec9aae
test: remove extra args in TestExitCode
...
The extra blank argument isn't needed and confuses libvirt.
2013-11-18 15:07:11 -06:00
Josh Poimboeuf
fef41ef7bf
test: fix TestRmi race condition
2013-11-18 15:07:06 -06:00
Victor Vieux
f946a486ea
Merge pull request #2718 from dotcloud/fix_tmp_dir_never_cleanup
...
Fix tmp dir never cleanup
2013-11-18 12:20:23 -08:00
Guillaume J. Charmes
e008c7c068
Merge pull request #2743 from tianon/go1.2rc5
...
Update to go1.2rc5
2013-11-18 12:11:56 -08:00
Andy Rothfusz
669e4bac30
Merge pull request #2729 from SvenDowideit/docker-info-doc
...
add example for docker info
2013-11-18 11:44:54 -08:00
Andy Rothfusz
f6362fbb0e
Merge pull request #2726 from SvenDowideit/docker-history-doc
...
add example for docker history
2013-11-18 11:43:44 -08:00
Andy Rothfusz
c1cd824570
Merge pull request #2742 from rick/patch-1
...
Tiny typo cleanup
2013-11-18 11:37:37 -08:00
Michael Crosby
4546832507
Merge pull request #2752 from dotcloud/gofmt_test
...
Go fmt tests
2013-11-18 11:34:59 -08:00
Andy Rothfusz
b5934711d0
Merge pull request #2724 from SvenDowideit/docker-diff-example
...
add an example of what to expect from docker diff, and what the 3 codes mean
2013-11-18 11:34:05 -08:00
Victor Vieux
ed8f75d25c
gofmt_test
2013-11-18 11:25:13 -08:00
Michael Crosby
cfbd9ea16d
Merge pull request #2749 from jpoimboe/dont-forward-SIGCHLD
...
Do not forward SIGCHLD to container
2013-11-18 11:24:08 -08:00
Michael Crosby
75dd1663e0
Merge pull request #2638 from FreakyDazio/2506-name-conflict-error
...
More informative error message on name collisions
2013-11-18 11:13:43 -08:00
Darren Coxall
3c67a28493
More informative error message on name collisions
...
This is the proposed fix for #2506 . It provides a more complete message
with regards to name collisions including informing of the opposing
containers ID.
I have included a test to ensure that the correct short id is displayed
to make the message easier to understand.
2013-11-18 17:51:47 +00:00
Josh Poimboeuf
440422a963
don't forward SIGCHLD to container
...
It makes no sense to forward SIGCHLD to the container.
2013-11-18 11:45:29 -06:00
Josh Poimboeuf
fc2f5758cf
fix container restart race condition
...
Finish container cleanup before setting the state to stopped.
Otherwise, for an application that exits quickly, a call to Restart
can allow Start to be called again before cleanup is done, resulting in
overritten data in the Container struct.
2013-11-18 11:42:30 -06:00
Josh Poimboeuf
fe302fbfd2
test: 2 second timeout (not 2000)
2013-11-18 10:23:30 -06:00
Josh Poimboeuf
72d02ecdde
test: skip TestCreate on Fedora due to lxc utils bug
...
In the dind environment running on a Fedora host, the lxc utils get
confused by the /sys/fs/cgroup/cpuacct,cpu cgroup mount and lxc-start
fails trying to access the wrong cgroup directory.
2013-11-18 10:23:30 -06:00
Josh Poimboeuf
baa687bed2
test: fix TestCreateStartRestartStopStartKillRm
...
cat needs stdin opened, otherwise it dies immediately.
2013-11-18 10:23:30 -06:00
Josh Poimboeuf
30ea0bebce
test: put each arg in a separate string
...
Each arg to docker run should be placed in a separate string.
Otherwise, when starting the command via exec.Cmd, the command is
interpreted as "echo test", which can't be found.
2013-11-18 10:23:06 -06:00
Tianon Gravi
9e1da3ec9c
Update to go1.2rc5
2013-11-17 22:36:26 -07:00
Rick Bradley
b76574f855
Tiny typo cleanup
2013-11-17 21:10:06 -08:00
Tianon Gravi
457375ea37
Merge pull request #2732 from jplock/patch-2
...
Fix images not being properly tagged in mkimage-debootstrap.sh
2013-11-17 08:06:58 -08:00
Frederik Loeffert
7e580aacec
Vagrantfile modified to support VBoxGuestAdditions_4.3.2
2013-11-17 01:20:21 +01:00
Justin Plock
0e64b987e8
Fix images not being properly tagged
2013-11-16 11:05:38 -05:00
Sven Dowideit
bc74f65068
make the docker commit help more copy&pasteable
2013-11-16 21:11:34 +10:00
Sven Dowideit
5c741ef11d
add example
2013-11-16 20:53:45 +10:00
Sven Dowideit
152459b727
add some common examples for docker images, and tell the user what -a filters out
2013-11-16 20:45:30 +10:00
Sven Dowideit
f04142c1f7
add example for docker history
2013-11-16 20:36:33 +10:00
Sven Dowideit
af05ab399e
add an example of what to expect from docker diff, and what the 3 codes mean
2013-11-16 20:26:47 +10:00
Sven Dowideit
27159ce6ba
expunge the word 'Resource' in reference to a file/dir in a CONTAINER - that way users don't wonder how its different from a Path
2013-11-16 20:15:04 +10:00
Michael Crosby
51576069ad
Merge pull request #2694 from shykes/separate-integration-tests
...
Separate integration tests
2013-11-15 18:21:34 -08:00
Andy Rothfusz
d33ffe44a9
Fixes #2701 . Adds security section.
2013-11-15 18:12:35 -08:00
Solomon Hykes
afe230718e
Re-enable api integration tests using only public remote API.
2013-11-16 02:12:14 +00:00
Victor Vieux
9261690593
Fix tmp dir never cleanup
2013-11-15 16:23:55 -08:00
Andy Rothfusz
e12bba66ea
Merge pull request #2709 from eugenkrizo/patch-1
...
path needs to be specified to 'docker build' command
2013-11-15 13:34:08 -08:00
Andy Rothfusz
92c3a319fb
Merge pull request #2713 from eugenkrizo/patch-2
...
port published explicitly (for docker 0.6.6)
2013-11-15 13:32:18 -08:00
Andy Rothfusz
323e86032d
Merge pull request #2685 from Painted-Fox/patch-1
...
Add more depth to the upstart example in host_integration.rst
2013-11-15 12:28:07 -08:00
Victor Vieux
c06d903edd
bring back tests about LXCConfig
2013-11-15 11:48:18 -08:00
Andy Rothfusz
9a9d3239e1
Fix typos, add links, streamline content of #2592
2013-11-15 11:38:03 -08:00
Andy Rothfusz
33110ddc3f
Merge branch 'fix_examples_use_docs' of git://github.com/rogaha/docker into test-2592
2013-11-15 11:15:14 -08:00
Andy Rothfusz
6341768393
Merge pull request #2689 from metalivedev/fix-syntax
...
Clean up sphinx syntax
2013-11-15 11:09:51 -08:00
Victor Vieux
ad96d5ff04
Merge pull request #2712 from makinacorpus/master
...
Do not drop sys_boot
2013-11-15 10:33:41 -08:00
eugenkrizo
492ce4c665
port published explicitly (for docker 0.6.6)
...
port 5984 to couchdb needs to be published explicitly in docker version 0.6.6
2013-11-15 17:12:48 +01:00
Mathieu Le Marec - Pasquet
76ab8fa00f
Merge pull request #1 from jpetazzo/2392-add-kernel-docs
...
Add warning about SYS_BOOT capability with pre-3.4 kernels and pre-0.8 LXC.
2013-11-15 07:58:54 -08:00
eugenkrizo
007964793d
path needs to be specified to 'docker build' command
...
current folder '.' appended as a path
2013-11-15 16:16:59 +01:00
Andy Rothfusz
bed87ea103
Merge pull request #2690 from codevin/master
...
Improvise documentation for builder.rst / VOLUME command
2013-11-14 19:23:18 -08:00
Solomon Hykes
823674816e
Move iptables test to integration tests
2013-11-15 01:15:39 +00:00
Solomon Hykes
8d3e35cd8d
Split auth tests between unit tests and integration tests
2013-11-15 01:13:20 +00:00
Guillaume J. Charmes
84ed18827a
Merge pull request #2704 from shykes/fix-auto-pull
...
Fix the brittle errorstring-to-httperror recognition code
2013-11-14 16:15:46 -08:00
Solomon Hykes
693ff4d2ae
Fix the brittle errorstring-to-httperror recognition code which in turn is required by autopull (the client issues a pull if container creation returns 404)
2013-11-14 23:54:28 +00:00
Victor Vieux
596810d8db
move TestMount to integration
2013-11-14 15:17:31 -08:00
Victor Vieux
661a8a0e0c
fix Integration tests
2013-11-14 14:46:13 -08:00
Michael Crosby
629c6e3649
Merge pull request #2445 from alexlarsson/fix-shared-root-from-dm
...
Fix lxc start for shared root filesystems
2013-11-14 11:20:53 -08:00
Andy Rothfusz
c7aaf831d7
Merge pull request #2691 from SvenDowideit/add-instruction-path-limitations
...
except URL-based ADDs
2013-11-14 11:12:08 -08:00
Solomon Hykes
e9624bf715
Remove deprecated tags_test.go
2013-11-14 10:50:43 -08:00
Solomon Hykes
2a209afe5f
gofmt
2013-11-14 10:50:43 -08:00
Victor Vieux
c001a5af67
Integration tests: remove dependency on private APIs
2013-11-14 10:50:43 -08:00
Solomon Hykes
359a6f49b9
Move integration tests to integration/, expose missing public methods in the core
2013-11-14 10:50:00 -08:00
¨Sven
e42144674f
thankyou @tomdz - I forgot about URL based ADDs
2013-11-14 14:53:55 +10:00
Vinod Kulkarni
37abc07852
Improvise documentation for builder.rst / VOLUME command
2013-11-14 09:54:31 +05:30
Andy Rothfusz
61abc3f8ac
Merge pull request #2688 from dhrp/doc-layout-dotcloud-to-docker-inc
...
Updated documentation footer to say "Docker Inc." instead of dotCloud. And added Read the Docs.
2013-11-13 18:31:21 -08:00
Andy Rothfusz
5fc56b6b47
Merge pull request #2661 from rogaha/links_docs
...
- Added a doc about Links and Container Naming
2013-11-13 18:15:25 -08:00
Andy Rothfusz
059950b095
Clean up sphinx syntax, upgrade http markup package, minor link changes, update intro.
2013-11-13 17:45:22 -08:00
Thatcher Peskens
9ab85f4d12
Updated documentation footer to say "Docker Inc." instead of dotCloud. And added link to Read the Docs for giving them credit to hosting us. (Thanks Read The Docs!)
2013-11-13 16:09:23 -08:00
Andy Rothfusz
3cf23b93ea
Merge pull request #2679 from FreekKalter/master
...
fix error in python webapp example
2013-11-13 13:35:01 -08:00
Guillaume J. Charmes
3ba6835ead
Merge pull request #2676 from tianon/go1.2rc4
...
Update to go1.2rc4
2013-11-13 11:45:56 -08:00
Guillaume J. Charmes
dc13b9473f
Merge pull request #2686 from shykes/gofmt
...
gofmt
2013-11-13 11:35:37 -08:00
Solomon Hykes
b00d5f0185
gofmt
2013-11-13 19:25:55 +00:00
Andy Rothfusz
8e71391572
Merge pull request #2660 from SvenDowideit/2601-remote-api-json-case
...
update the API docs to reflect the change in the case of the /index/search reposnse
2013-11-13 11:17:54 -08:00
Andy Rothfusz
077c2496ed
Merge pull request #2681 from SvenDowideit/add-instruction-path-limitations
...
add a little more info about the limitations of ADD wrt ../ and docker build
2013-11-13 10:56:35 -08:00
Tianon Gravi
b94e9ed0de
Merge pull request #2652 from tianon/upstart-defaults-too
...
Add /etc/default/docker support to upstart, too (mirroring sysvinit)
2013-11-13 10:42:41 -08:00
Ryan Seto
02884ee429
Add more depth to the upstart example in host_integration.rst
...
I found that the original example wasn't starting the docker container when docker is started. So, I modified it using information I found from https://groups.google.com/forum/#!msg/docker-user/OWz8EOpiXuo/L_uxGFQuYlkJ
Also, upstart wasn't starting docker if it wasn't running ahead of time. So, I added a change to the docker upstart script to solve this.
2013-11-13 13:34:34 -05:00
Jérôme Petazzoni
8145e57cee
Add warning about SYS_BOOT capability with pre-3.4 kernels and pre-0.8 LXC.
2013-11-13 10:29:29 -08:00
Solomon Hykes
c964494d31
Merge pull request #2673 from shykes/engine-patch-2
...
* Engine: expand the engine API with 'create' and 'start' jobs Edit
2013-11-13 10:14:56 -08:00
Solomon Hykes
c6e83b8779
Merge pull request #2656 from shykes/export-restrictions-debian
...
Change crypto export notice to meet Debian requirements
2013-11-13 09:37:23 -08:00
Guillaume J. Charmes
369e39aea1
Merge pull request #2680 from inglesp/patch-1
...
Typo in ROADMAP.md
2013-11-13 09:19:37 -08:00
¨Sven
af0b2e38c3
add a little more info about the limitations of ADD wrt ../ and docker build -
2013-11-13 22:55:55 +10:00
inglesp
87b4bb9fcc
Typo in ROADMAP.md
2013-11-13 12:32:49 +00:00
Freek Kalter
f5e6c2d060
fix error in python webapp example
...
When getting the private port used by a container using
`docker port` returns 0.0.0.0:49353, stript just the portnumber of the address with awk to used it in the rest of the example code.
2013-11-13 13:20:38 +01:00
¨Sven
f0f8462d18
update the v1.7 API to reflect the case change in the /index/search response, and note that its to align better with the registry server response that its proxying
2013-11-13 22:11:20 +10:00
Xiuming Chen
0013aa7d9f
Minor code simplification for Containers api
2013-11-13 01:29:00 -08:00
Liang-Chi Hsieh
1d7f22c0d4
use Binds key in hostConfig to detect volumes mounted from external.
2013-11-13 15:08:46 +08:00
Liang-Chi Hsieh
6a693176d6
skip the volumes mounted when deleting the volumes of container.
2013-11-13 14:58:24 +08:00
Tianon Gravi
8523d5518c
Update to go1.2rc4
2013-11-12 21:51:12 -07:00
Solomon Hykes
6c4393ccbb
Merge branch 'job-create-start-clean' into engine-patch-2
...
Conflicts:
engine/engine.go
engine/job.go
server.go
utils_test.go
2013-11-13 00:36:20 +00:00
Solomon Hykes
3885ef585b
Merge pull request #2612 from tianon/release-script-tweaks
...
* Hack: release script tweaks
2013-11-12 15:04:26 -08:00
Victor Vieux
388057f11a
Merge pull request #2648 from dotcloud/docker_kill_exit_code
...
Make sure docker kill exit with failure in case of error
2013-11-12 14:40:17 -08:00
Guillaume J. Charmes
c69e6a90e4
Merge pull request #2663 from viirya/fix_nameserver_regex
...
Fix nameserver regex
2013-11-12 12:29:40 -08:00
Victor Vieux
71c05bb87c
Merge pull request #2662 from dotcloud/do_not_cleanup_start_if_running
...
on docker start, do not cleanup if already running
2013-11-12 11:02:10 -08:00
Victor Vieux
637850063c
Merge pull request #2614 from dotcloud/prevent_delete_image_running_container
...
Runtime: prevent deletion if image is used by a running container
2013-11-12 11:01:51 -08:00
Victor Vieux
dcc9980550
Merge pull request #2657 from dotcloud/fix_docker_images_output
...
use utils.ParseRepositoryTag instead of strings.split in docker images
2013-11-12 11:01:29 -08:00
Victor Vieux
e405337926
Merge pull request #2669 from tianon/clarify-test-calls
...
Add clarification of multiple "go test" calls in hack/make/*test
2013-11-12 10:42:24 -08:00
Tianon Gravi
5cdb3aec50
Add clarification of multiple "go test" calls in hack/make/*test
2013-11-12 11:23:06 -07:00
Victor Vieux
b314f19db8
Merge branch 'tests/insert' of https://github.com/mrallen1/docker into mrallen1-tests/insert
...
Conflicts:
server.go
2013-11-12 10:19:29 -08:00
Roberto Gandolfo Hashioka
353243a725
- Improved documentation and typos fixing (Thanks to @jamtur01)
2013-11-12 10:11:52 -08:00
Liang-Chi Hsieh
879aa29cb0
modify test of GetNameserversAsCIDR for its regex change.
2013-11-12 18:18:30 +08:00
Liang-Chi Hsieh
1e5ba57de3
fix nameserver regex.
2013-11-12 10:53:34 +08:00
Victor Vieux
bc6d872841
on docker start, do not cleanup if already running
2013-11-11 18:15:38 -08:00
Roberto Gandolfo Hashioka
981560c436
- Added a doc about Links and Container Naming
2013-11-11 17:38:54 -08:00
Victor Vieux
d589cc3622
Merge pull request #2527 from jpoimboe/fedora-iptables-fix
...
Fix container networking on Fedora
2013-11-11 15:12:40 -08:00
Andy Rothfusz
69a9614cb4
Merge pull request #2621 from rogaha/rm_del_all_example
...
- Added delete all the containers example (docker rm `docker ps -a -q`)
2013-11-11 14:55:50 -08:00
Victor Vieux
e2ac0e6b80
add wait, stop, start, restart, rm, rmi
2013-11-11 14:47:23 -08:00
Solomon Hykes
01dd7e7459
Change crypto export notice to meet Debian requirements
2013-11-11 22:08:37 +00:00
Victor Vieux
84a3600ea8
use utils.ParseRepositoryTag instead of strings.split in docker images
2013-11-11 13:54:17 -08:00
Andy Rothfusz
cb9e0aee48
Merge pull request #2646 from fgrehm/contrib-vagrant
...
Update contrib/vagrant-docker with projects available
2013-11-11 13:49:15 -08:00
Andy Rothfusz
52d3137713
Merge pull request #2641 from artagnon/master
...
CONTRIBUTING: wrap a couple of long lines
2013-11-11 13:43:30 -08:00
Victor Vieux
4c7d24bc8b
Merge branch 'master' of https://github.com/zilin/docker into zilin-master
...
Conflicts:
container.go
2013-11-11 12:59:18 -08:00
Victor Vieux
87c8437a90
Merge pull request #2140 from SvenDowideit/2098-run-cidfile-should-return-longid
...
Server: always return long id's
2013-11-11 13:06:19 -08:00
Daniel Mizyrycki
6fab249b21
Merge pull request #2313 from wazboy/master
...
Vagrant AWS update
2013-11-11 13:01:20 -08:00
Victor Vieux
da24945070
Merge branch 'master' of https://github.com/aanand/docker into aanand-master
2013-11-11 12:34:16 -08:00
Tianon Gravi
ca113bb1b2
Merge pull request #2613 from tianon/ubuntu-fpm-tweaks
...
Update ubuntu packaging script, especially to stop docker group deletion
2013-11-11 12:01:40 -08:00
Andy Rothfusz
9ff36cb00c
Merge pull request #2630 from jamtur01/api_status
...
Added status column to API client table
2013-11-11 11:56:04 -08:00
Mark Allen
62f873aa1f
Just return the id; nothing else.
2013-11-11 13:26:24 -06:00
Tianon Gravi
2091b59721
Merge pull request #2653 from tianon/sysvinit-upstart-check
...
Update upstart check in sysvinit to be exactly the same as the init_is_upstart function
2013-11-11 11:00:07 -08:00
Tianon Gravi
88edba7e86
Update upstart check in sysvinit to be exactly the same as the init_is_upstart function from /lib/lsb/init-functions (which isn't available in 12.04 or we'd use it directly)
2013-11-11 11:57:25 -07:00
Tianon Gravi
5fe4c9a39a
Merge pull request #2651 from tianon/fix-sysvinit-upstart-logic
...
Fix sysvinit upstart detection and give it a pretty message
2013-11-11 10:39:51 -08:00
Michael Crosby
2fc0084f6b
Merge pull request #2633 from danderson/2598-fix-iptables-anydest
...
Correctly express "any address" to iptables.
2013-11-11 10:22:02 -08:00
Tianon Gravi
7cf7dda87d
Add /etc/default/docker support to upstart, too (mirroring sysvinit)
2013-11-11 11:13:16 -07:00
Tianon Gravi
bb76157d24
Fix sysvinit upstart detection and give it a pretty message
2013-11-11 11:10:19 -07:00
Andy Rothfusz
1d9139bb89
Merge pull request #2574 from crosbymichael/api-port-changes
...
Update documentation to reflect changes in Config and HostConfig
2013-11-11 09:59:48 -08:00
Guillaume J. Charmes
8149439d95
Make sure docker kill exit with failure in case of error
2013-11-11 09:15:51 -08:00
Guillaume J. Charmes
402a58a75a
Fix formatting in tests
2013-11-11 09:05:38 -08:00
Fabio Rehm
9c7a8edddd
Update contrib/vagrant-docker with projects available
2013-11-11 13:36:44 -02:00
Ramkumar Ramachandra
cf30b85eb1
CONTRIBUTING: wrap a couple of long lines
...
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com >
2013-11-11 16:21:34 +05:30
Galen Sampson
ccbb5d3492
Vagrantfile updates.
...
- Remove the overrides config.vm.box and config.vm.box_url and use
the same values for all providers.
- Use the same private key path for all providers. It is still possible
to set a different private key path through the environment variable
SSH_PRIVKEY_PATH if desired (your AWS key may be different from your
Virtualbox key).
- Allow the environment variable AWS_INSTANCE_TYPE to specify the
instance type of instead of hard coding the AWS instance type as
't1.micro'. 't1.micro' is still the default if unspecified.
- Use the same environment variables for keys as the Amazon provided EC2
API tools. This allows people who already have the EC2 tools set up
correctly to use 'vagrant up' with less environment configuration
than before.
- Rewrite the provisioning code. The goal is to be idempotent and to
correctly install docker for all providers instead of just virtualbox.
It will conditionally install the virtualbox guest additions if
virtualbox is the provider.
- Update the AWS install documentation to reflect the changes.
2013-11-10 23:39:26 -08:00
James Turnbull
5a1bfd9aa9
Added status column to API client table
2013-11-10 12:14:45 -05:00
Mark Allen
8cc19765b4
Edits after code review
...
Return long image ID
Return streamformatted error or "raw" error
2013-11-10 00:06:55 -06:00
David Anderson
8ba8783bcc
Correctly express "any address" to iptables.
...
Iptables interprets "-d 0.0.0.0" as "-d 0.0.0.0/32", not /0. This
results in the DNAT rule never matching any traffic if not bound
to a specific host IP.
Fixes #2598
2013-11-09 19:40:56 -08:00
Roberto Gandolfo Hashioka
4ec0b51578
- Updated description
2013-11-09 11:08:43 -08:00
Tianon Gravi
7f1b179c67
Fix the display of get.docker.io in Firefox by making our index files text/plain
2013-11-09 02:28:04 -07:00
Sven Dowideit
b3974abe4f
make all image ID and container ID API responses use the Long ID ( Closes #2098 )
2013-11-09 12:16:49 +10:00
Roberto Gandolfo Hashioka
403f9fc357
- Added delete all the containers example
2013-11-08 16:47:42 -08:00
Tianon Gravi
498b6031b1
Update ubuntu packaging script, especially to stop docker group deletion
2013-11-08 17:23:37 -07:00
Andy Rothfusz
f26da9638f
Merge pull request #2590 from metalivedev/2585-addphplib
...
Fix 2585 and clean up warning in contributing.rst
2013-11-08 15:35:24 -08:00
Guillaume J. Charmes
126b17a0ff
Merge pull request #2615 from jpoimboe/ghost-networking-fix
...
setup network when reconnecting to ghost container
2013-11-08 15:31:55 -08:00
Andy Rothfusz
34d294c461
Fix 2585, rebase to master
2013-11-08 15:15:45 -08:00
Victor Vieux
45c2b5dc1a
prevent deletion if image is used by a running container
2013-11-08 15:01:01 -08:00
Tianon Gravi
f56945d71b
Update release script to move https://get.docker.io/ubuntu/info to https://get.docker.io/ubuntu/ and provide a backwards-compatibility redirect (same for /builds/info)
2013-11-08 15:45:18 -07:00
Tianon Gravi
b8e7ec1b74
Update release script with proper support for non-*.docker.io bucket URLs
2013-11-08 15:44:52 -07:00
Guillaume J. Charmes
3bbe8ee055
Merge pull request #2611 from seancron/changelog-edit
...
Removes duplicate changelog entry
2013-11-08 14:39:02 -08:00
Josh Poimboeuf
2448058ee2
setup network when reconnecting to ghost container
...
Re-adding the line to setup the network when reconnecting to a ghost
container. It was inadvertently removed by commit
31638ab2ad .
2013-11-08 16:28:41 -06:00
Sean Cronin
ca174ae84d
Removes duplicate changelog entry
2013-11-08 17:17:39 -05:00
Victor Vieux
f9dd0da182
Merge pull request #2610 from stapelberg/patch-1
...
Return “err” instead of “nil” when MkdirAll() fails when binding a volume
2013-11-08 14:00:06 -08:00
Michael Stapelberg
e7fdcc15c5
Return “err” instead of “nil” when MkdirAll() fails when binding a volume
2013-11-08 22:52:10 +01:00
Andy Rothfusz
67b0b97a8f
Merge pull request #2526 from metalivedev/2074-AddKnownIssues
...
Add Known Issue
2013-11-08 12:14:04 -08:00
Guillaume J. Charmes
310fbe7bb7
Merge pull request #2565 from danielnorberg/master
...
lock around read operations in graph
2013-11-08 09:34:18 -08:00
Michael Crosby
3f2a5912ee
Merge pull request #2593 from dotcloud/2578
...
Fix mergeConfig with new ports
2013-11-08 09:23:06 -08:00
Michael Crosby
65102d6b36
Merge pull request #2597 from dotcloud/deprecate_separate_tag
...
Deprecate old tagging format
2013-11-08 09:15:47 -08:00
Michael Crosby
997a32706f
Merge pull request #2599 from dotcloud/prevent_panic_wrong_api_use
...
Prevent panic if you use API in a wrong way
2013-11-08 09:09:03 -08:00
Guillaume J. Charmes
5cf6ad4565
Merge pull request #2584 from dotcloud/docker-ci
...
docker-ci production sync
2013-11-08 08:24:09 -08:00
Mark Allen
bf8e0277bb
Add ImageInsert tests
2013-11-08 00:16:45 -06:00
David Sissitka
5957dd9091
Make "docker insert" errors obvious
...
Closes #1130
See also #1942
2013-11-08 00:15:19 -06:00
Victor Vieux
49d7b87cfc
prevent panic if you use API in a wrong way
2013-11-07 18:54:00 -08:00
Victor Vieux
f417c4b099
Merge branch '1887-allow_ro_volumes-from' of https://github.com/daniel-garcia/docker into daniel-garcia-1887-allow_ro_volumes-from
2013-11-07 17:59:55 -08:00
Guillaume J. Charmes
ef57752bce
Deprecate old tagging format
2013-11-07 17:30:51 -08:00
Guillaume J. Charmes
4f8b6c3283
Merge pull request #2348 from SvenDowideit/2328-docker-events-since-date-string
...
Use string timestamp for docker events -since
2013-11-07 15:47:41 -08:00
Sven Dowideit
01fea3cf11
Closes #2328 - allow the user to specify a string timestamp (not just a unix epoch) in the string format that the docker cli shows to the user
2013-11-08 09:32:13 +10:00
Roberto Gandolfo Hashioka
eba3c36b38
- Included the sudo alternative as an example_header
2013-11-07 14:44:07 -08:00
Victor Vieux
49c4231f07
fix mergeConfig with new ports
2013-11-07 14:31:25 -08:00
Josh Poimboeuf
ec4657b28a
network: add iptables rules to explicitly allow forwarding
...
Explicitly enable container networking for Fedora and other distros that
have a REJECT all rule at the end of their FORWARD table.
2013-11-07 16:23:39 -06:00
Roberto Gandolfo Hashioka
304d39cc50
- Fix the attach examples according to the new attach behavior
...
- Add the option of adding the user to docker's group and avoid the usage of "sudo" before each command
2013-11-07 14:06:49 -08:00
Michael Crosby
cd4f7321c9
Merge pull request #2589 from dotcloud/gofmt
...
Go fmt
2013-11-07 12:32:58 -08:00
Michael Crosby
132db329d4
Merge pull request #2591 from dotcloud/fix_Assign_id_as_name_when_all_else_fails
...
Fix Assign id as name when all else fails
2013-11-07 12:29:02 -08:00
Guillaume J. Charmes
6998c3c387
go fmt
2013-11-07 12:27:33 -08:00
Victor Vieux
26f846bf77
fix Assign id as name when all else fails
2013-11-07 12:23:29 -08:00
Andy Rothfusz
97c3de7e6b
Fix 2585 and clean up warning in contributing.rst
2013-11-07 12:20:23 -08:00
Michael Crosby
b5c984f9b4
Merge pull request #2561 from dotcloud/add_iptabled_errors
...
Make iptable return an error in case of output
2013-11-07 09:15:09 -08:00
Daniel Mizyrycki
249f76bebd
docker-ci 0.4.5: Sync tests with progress in docker and docker-registry. Use revamped shiny DinD.
2013-11-06 20:05:26 -08:00
Daniel Mizyrycki
e7df38dbd0
docker-ci 0.40. Migrate docker-ci to Digital Ocean.
2013-11-06 19:13:58 -08:00
Daniel Mizyrycki
efb4c800a7
docker-ci 0.37. Patch hack/dind with latest code for docker-test.
2013-11-06 19:13:58 -08:00
Daniel Mizyrycki
0cbeda7391
docker-ci 0.36. Patch hack/dind with latest code for nightly release to work.
2013-11-06 19:13:58 -08:00
Daniel Mizyrycki
1717227636
docker-ci 0.35. Push docker coverage and testing into docker-ci production. Update docker nightlyrelease
2013-11-06 19:13:58 -08:00
Daniel Mizyrycki
50dd9791f7
testing infrastructure, issue #1800 : Refactor docker testing using Docker in Docker
2013-11-06 19:13:58 -08:00
Andy Rothfusz
9990db2f5a
Fix bold
2013-11-06 18:07:55 -08:00
andy diller
2d1155407a
updated create, showing how to set expose port and bind to public port for ssh
2013-11-06 18:07:55 -08:00
Andy Rothfusz
37dcff0c13
Merge pull request #2557 from jamtur01/new_redis
...
Updated Redis service example to use links. Removed "Linking Redis" example as redundant.
2013-11-06 17:54:34 -08:00
Andy Rothfusz
38f1838e82
Merge pull request #2567 from mck-/patch-1
...
Add -p when running the container (node example)
2013-11-06 17:34:11 -08:00
Andy Rothfusz
807a305f36
Merge pull request #1794 from justone/add-images-tree
...
add -tree option to images
2013-11-06 16:12:36 -08:00
Victor Vieux
cb1c90975b
Merge pull request #2577 from dotcloud/bump_v0.6.6
...
Bump v0.6.6
2013-11-06 13:41:52 -08:00
Nate Jones
363738b8f2
updating cli help doc for images
2013-11-06 12:03:45 -08:00
Victor Vieux
6d420407ca
Merge pull request #2577 from dotcloud/bump_v0.6.6
...
Bump v0.6.6
2013-11-06 12:03:03 -08:00
Alexander Larsson
157d99a727
lxc: Work around lxc-start need for private mounts
...
lxc-start requires / to be mounted private, otherwise the changes
it does inside the container (both mounts and unmounts) will propagate
out to the host.
We work around this by starting up lxc-start in its own namespace where
we set / to rshared.
Unfortunately go can't really execute any code between clone and exec,
so we can't do this in a nice way. Instead we have a horrible hack that
use the unshare command, the shell and the mount command...
2013-11-06 20:43:06 +01:00
Victor Vieux
360a694c52
Bump version to v0.6.6
2013-11-06 11:43:02 -08:00
Alexander Larsson
c5bc7d5158
Utils: Add ShellQuoteArguments
2013-11-06 20:39:09 +01:00
Nate Jones
16eba6bbb5
fix /images/json doc for 1.7
2013-11-06 11:30:04 -08:00
Victor Vieux
0dd6c6645b
Merge pull request #2568 from mrallen1/fix/1965
...
See if a path exists before injecting Reader there
2013-11-06 10:57:06 -08:00
Michael Crosby
70f44d5531
Update documentation to reflect changes in Config and HostConfig
2013-11-06 10:01:58 -08:00
Guillaume J. Charmes
45aba3dc95
Merge pull request #2334 from SvenDowideit/2149-small-cli-usability-change
...
change ID to CONTAINER ID/IMAGE ID
2013-11-06 09:45:23 -08:00
Guillaume J. Charmes
c22ff0296e
Merge pull request #1577 from mrallen1/fix/1502
...
Prevent DNS server conflicts in CreateBridgeIface
2013-11-06 07:52:50 -08:00
Guillaume J. Charmes
00f1398f7a
Add debug to iptables
2013-11-06 07:37:43 -08:00
Mark Allen
74f853a2ae
See if a path exists before injecting Reader there
...
Closes #1965
2013-11-05 23:44:52 -06:00
Daniel Norberg
20881f1f78
gograph: allow Walk() reentrance
...
Hold the read lock while reading the child graph,
then walk over the children without any lock, in
order to avoid deadlock.
2013-11-06 00:18:45 -05:00
Marc Kuo
3108f0526e
Add -p when running the container
...
Without it, docker was not mapping/exposing the private port
Docker version 0.6.5, build 3ff8459
2013-11-05 20:48:16 -08:00
Nate Jones
22ef38ee79
fixup for rebase
2013-11-06 04:23:07 +00:00
Nate Jones
6d5b73c2a6
update "images" documentation
2013-11-06 04:23:07 +00:00
Nate Jones
b7d1d35c27
add image size to -tree
2013-11-06 04:23:07 +00:00
Nate Jones
f1aeac361a
adding test for "images -tree"
2013-11-06 04:23:02 +00:00
Nate Jones
d9fe0647cb
adding test for "images -viz"
2013-11-06 04:04:24 +00:00
Nate Jones
059bb7a262
make existing tests pass
2013-11-06 03:58:16 +00:00
Nate Jones
ec9a9a08b8
implement "images -tree"
2013-11-06 03:58:16 +00:00
Nate Jones
8f64759881
bring back /images/viz, but 404 for latest
2013-11-06 03:58:15 +00:00
Nate Jones
2a5998baf1
move "images -viz" to client
2013-11-06 03:58:15 +00:00
Nate Jones
dcf0279a50
fix "images -a"
2013-11-06 03:58:15 +00:00
Nate Jones
d7928b9a67
bump api version and ensure backward compat
2013-11-06 03:58:15 +00:00
Nate Jones
15867ff430
rework images JSON
2013-11-06 03:58:15 +00:00
Mark Allen
3560c922b1
Prevent DNS server conflicts in CreateBridgeIface
...
Retrieve /etc/resolv.conf data (if available)
Add checkNameserverOverlaps and call it to
make sure there are no conflicts
Add utils.GetNameserversAsCIDR and tests
Read /etc/resolv.conf and pull out nameservers,
formatting them as a CIDR block ("1.2.3.4/32")
2013-11-05 21:24:37 -06:00
Daniel Norberg
04aca7c9e3
gograph: Use RWMutex to allow concurrent readers
2013-11-05 22:07:14 -05:00
Guillaume J. Charmes
6113e1d62d
Merge pull request #2566 from unclejack/fix_commands_test
...
fix build for commands_test
2013-11-05 15:45:22 -08:00
unclejack
cdf0cf495d
fix build for commands_test
2013-11-06 01:41:54 +02:00
Daniel Norberg
1dc34e2b96
lock around read operations in graph
...
Writes and reads will fail with ErrBusy if there's
concurrent reads or writes, respectively. It is
not sufficient to only lock around writes.
2013-11-05 18:26:07 -05:00
Solomon Hykes
8d6df3a7e2
Remove debug messages
2013-11-05 23:00:20 +00:00
Solomon Hykes
e5f8ab6160
Engine: 'create' creates a container and prints its ID on stdout
2013-11-05 23:00:20 +00:00
Solomon Hykes
5c42b2b512
Fix main()
2013-11-05 23:00:20 +00:00
Solomon Hykes
d3f074494a
Better error reporting in engine logs and unit tests
2013-11-05 23:00:20 +00:00
Solomon Hykes
434f06d03d
Engine: fix a bug when encoding a job environment to json
2013-11-05 23:00:20 +00:00
Solomon Hykes
5a85456d48
Hack: simplify the creation of test directories
2013-11-05 23:00:16 +00:00
Andy Rothfusz
980eda4c25
Merge pull request #2562 from tchaudhri/patch-1
...
(doc) Update ubuntulinux.rst
2013-11-05 14:52:07 -08:00
Andy Rothfusz
bf05eb8ac0
Merge pull request #2423 from rogaha/volumes_doc
...
Added volumes documentation
2013-11-05 14:38:28 -08:00
Tianon Gravi
f3f9f652e1
Merge pull request #2563 from mzdaniel/desktop-integration
...
contrib: Desktop integration. Firefox usecase.
2013-11-05 14:02:13 -08:00
Victor Vieux
2205bb43ea
Merge pull request #2298 from unclejack/2070-validate_src_for_bind_mounts
...
validate source for bind mounts
2013-11-05 13:31:10 -08:00
Daniel Mizyrycki
5af87d1475
contrib: Desktop integration. Firefox usecase.
2013-11-05 13:21:52 -08:00
unclejack
35430e8920
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.
2013-11-05 22:54:24 +02:00
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
Solomon Hykes
02ddaad5d9
Engine: optional environment variable 'Logging' in 'serveapi'
2013-11-05 18:39:59 +00:00
Solomon Hykes
4e7cb37dcc
Engine: improved logging and identification of jobs
2013-11-05 18:39:59 +00:00
Solomon Hykes
ca6f0aa107
Engine: don't export private testing utilities
2013-11-05 18:39:59 +00:00
Solomon Hykes
847411a1ee
Engine: fix a bug which caused handlers to be shared between multiple engine instances
2013-11-05 18:39:59 +00:00
Solomon Hykes
7b17d55599
httpapi: don't create a pidfile if it isn't set in the configuration
2013-11-05 18:39:59 +00:00
Solomon Hykes
958b4a8757
Engine: 'start' starts the specified container
2013-11-05 18:39:59 +00: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
Solomon Hykes
433c8e9c7d
Separate a) initialization of the http api and b) actually serving the api into 2 distinct jobs
2013-11-05 17:41:37 +00: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
Andy Rothfusz
f6b4a1ec95
Merge pull request #2521 from jamtur01/porttypo
...
Fixed 127.0.0.0 typo in cli.rst
2013-11-01 14:08:27 -07:00
Victor Vieux
7ddd4fe66a
rebase
2013-11-01 14:01:32 -07:00
James Turnbull
dcf4633e95
Fixed 127.0.0.0 typo in cli.rst
2013-11-01 14:00:02 -07:00
Andy Rothfusz
b30dc8c3ea
Merge pull request #2510 from GrilloPress/patch-1
...
Update windows.rst
2013-11-01 13:56:23 -07:00
Andy Rothfusz
feef16bd88
Merge pull request #2512 from dudebout/correct-basics-doc
...
Corrects the TCP section of the basics use
2013-11-01 13:55:28 -07:00
Victor Vieux
f9901ead06
use a symlink instead of a copy
2013-11-01 13:55:19 -07:00
Jérôme Petazzoni
31638ab2ad
Refactor HostConfig and escape apparmor confinement
2013-11-01 13:55:19 -07:00
Andy Rothfusz
33d8c736fc
Merge pull request #2479 from dudebout/port-redirection-doc
...
Port redirection doc
2013-11-01 13:43:53 -07:00
Gurjeet Singh
9ebac49be0
Add myself as an author 7e09c633
...
One of my patches was incorporated into Docker, and at that time I didn't know that I was supposed to add myself into this list of contributors.
Commit ID: 7e09c6332d
And a few other patches are already in the pipeline.
2013-11-01 12:31:50 -05:00
Michael Crosby
65ba2868d7
Merge pull request #2492 from dotcloud/publish-all-flag
...
Add -P flag to publish all exposed ports
2013-11-01 10:21:02 -07:00
Dan Hirsch
a963ff5d8d
Added explicit Flush method to utils.WriteFlusher
2013-11-01 13:11:21 -04:00
Nicolas Dudebout
c0e51a8f27
Rework the port direction documentation
...
+ remove PUBLIC and PRIVATE keywords
+ add the <host_interface>
+ add the -expose flag through a simple link example
+ update the meaning of the EXPOSE command
2013-11-01 12:18:04 -04:00
Nicolas Dudebout
f2ebccb5aa
Corrects the TCP section of the basics use
2013-11-01 12:14:43 -04:00
Andrew Duckworth
db2e2e831b
Update windows.rst
...
Added further information regarding how to access BIOS menus on Windows machines (laptops). My laptop required restarting to find the options and this information will undoubtedly help other users.
2013-11-01 13:59:25 +00:00
Aanand Prasad
9ee9d2f995
Container memory limit can be specified in kilobytes, megabytes or gigabytes
...
-m 10 # 10 bytes
-m 10b # 10 bytes
-m 10k # 10240 bytes (10 * 1024)
-m 10m # 10485760 bytes (10 * 1024 * 1024)
-m 10g # 10737418240 bytes (10 * 1024 * 1024 * 1024)
Units are case-insensitive, and 'kb', 'mb' and 'gb' are equivalent to 'k', 'm' and 'g'.
2013-11-01 12:00:17 +00:00
Solomon Hykes
4dc156252b
Merge pull request #2498 from dotcloud/move-archive
...
Move archive.go to sub package
2013-10-31 20:33:53 -07:00
Victor Vieux
747967b4a4
rebase and add some filters
2013-10-31 19:25:55 -07:00
Victor Vieux
02b5202432
update docker search to reflect future changes of the api
2013-10-31 19:14:11 -07:00
Victor Vieux
7f07ae9e42
check port is valid
2013-10-31 19:00:14 -07:00
Victor Vieux
a89a98e594
fix inspect error message
2013-10-31 18:50:58 -07:00
Yang Bai
7848007c3a
rewrite protocol check with switch-case in Server.Daemon
2013-11-01 09:42:44 +08:00
Victor Vieux
40ed10cc32
fix inspect when it returns nothing valid
2013-10-31 18:39:44 -07:00
Michael Crosby
96d1e9bb5a
Move archive.go to sub package
2013-10-31 16:57:45 -07:00
Victor Vieux
e3c49843d7
Merge pull request #2494 from shykes/engine-links
...
Engine: Minimal, unintrusive implementation of a cleaner Job API.
2013-10-31 16:32:49 -07:00
Tianon Gravi
3e7b9763aa
Merge pull request #2496 from philips/patch-1
...
Update systemd service file with a better description
2013-10-31 14:55:30 -07:00
Brandon Philips
393562340c
fix(systemd): provide a better description
...
Fix-up the docker service file description to declare what the service is not what it does.
When a systemd machine starts up the Description of each unit scrolls by instead of the service's filename. Because the current description doesn't say what it is it isn't very friendly:
```
Oct 31 20:40:49 localhost systemd[1]: Started Update Engine.
Oct 31 20:40:49 localhost systemd[1]: Starting Multi-User System.
Oct 31 20:40:49 localhost systemd[1]: Reached target Multi-User System.
Oct 31 20:40:49 localhost systemd[1]: Starting Easily create lightweight, portable, self-sufficient containers from any application!...
Oct 31 20:40:49 localhost systemd[1]: Started Easily create lightweight, portable, self-sufficient containers from any application!.
```
2013-10-31 14:41:49 -07:00
Andy Rothfusz
d5891f9fb0
Merge pull request #2482 from elee/patch-1
...
correct assignment of $PORT from docker port output
2013-10-31 12:18:24 -07:00
Andy Rothfusz
09607bb8f6
Merge pull request #2475 from dudebout/patch-2
...
Fixes the password value in the redis/links example
2013-10-31 12:17:43 -07:00
Andy Rothfusz
35044efce5
Merge pull request #2477 from dudebout/patch-3
...
Fixes typo in the CLI documentation
2013-10-31 12:17:06 -07:00
Michael Crosby
652f07bb59
Add -P flag to publish all exposed ports
2013-10-31 11:28:30 -07:00
Andy Rothfusz
54024ddd8a
Merge pull request #2462 from tlunter/fix_remote_api_doc
...
Fix formatting on build-an-image-from-dockerfile-via-stdin
2013-10-31 10:56:38 -07:00
Zilin Du
b543516556
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
container.go
2013-10-31 10:53:40 -07:00
Michael Crosby
e37a7d4981
Merge pull request #2305 from mzdaniel/1800-testing-dind
...
Testing infrastructure, issue #1800 : Refactor docker testing using Docker in Docker
2013-10-31 09:42:19 -07:00
Nicolas Dudebout
7e7c931d2b
Fixes another instant of the password
2013-10-31 08:55:14 -04:00
Todd Lunter
3a14d4c923
Fixed the quoted text
2013-10-31 08:46:16 -04:00
Victor Vieux
15457febbb
Merge pull request #2481 from tmc/patch-1
...
Fix typo in redis doc
2013-10-31 01:24:04 -07:00
Eric Lee
df1621914b
correct assignment of $PORT from docker port output
...
in the example, PORT is assigned to "0.0.0.0:<port>" vs "<port>" as in previous versions of docker (I encountered this documentation discrepancy tonight after installing docker v0.6.5)
2013-10-31 01:08:16 -04:00
Travis Cline
f77bbfca56
Fix typo
2013-10-31 00:07:58 -05:00
Nicolas Dudebout
87a250b711
Fixes typo in the CLI documentation
2013-10-30 23:09:02 -04:00
Nicolas Dudebout
ccc1a5dcfb
Fixes the password value in the redis/links example
2013-10-30 22:52:47 -04:00
Victor Vieux
ca2bbe716c
add 0.6.5
2013-10-30 19:30:32 -07:00
Oguz Bilgic
13ab83a8a5
Reformat CHANGELOG.md
...
* Add line after headers
* Remove space before bullet points
* Fix ' character
* Create sub-headers
* Group add fix etc. Upper-case
* Use head to trac current progress
2013-10-30 19:30:32 -07:00
Victor Vieux
429c3108da
Merge pull request #2473 from dotcloud/remove-panic-from-name
...
Assign id as name when all else fails
2013-10-30 19:22:57 -07:00
Victor Vieux
bdbb0371a7
Merge pull request #1536 from griff/envfile
...
Runtime: Keep env variables out of the command line
2013-10-30 19:20:29 -07:00
Victor Vieux
c1c65f972a
Merge pull request #2470 from metalivedev/2369-docuncompress
...
Documenting decompression behavior.
2013-10-30 19:14:51 -07:00
Victor Vieux
4b8a176ee0
Merge pull request #2432 from SvenDowideit/doc-stop-kill-details
...
IRC: add SIGTERM and SIGKILL details to docker stop and kill docco
2013-10-30 18:57:07 -07:00
Victor Vieux
4dfa28fb95
Merge pull request #2299 from tmc/master
...
Client: Add -notrunc and -q flags to docker history
RemoteAPI: Add size to history
2013-10-30 18:52:18 -07:00
Michael Crosby
8227ea35cf
Assign id as name when all else fails
2013-10-30 18:31:18 -07:00
Travis Cline
1099d172a2
Add flags to history, add size flag
2013-10-30 19:41:20 -05:00
Brian Olsen
1c3a674444
Fixed problem with variables containing \n.
...
The /.dockerenv file is now a marshalled json array so that environment
variables with \n and other weird values are supported.
2013-10-31 01:19:32 +01:00
Brian Olsen
25c4c87c86
Support copying value from env with -e option.
2013-10-31 01:19:09 +01:00
Andy Rothfusz
26f4d6bf59
Fix #2369 by documenting decompression behavior.
2013-10-30 16:50:58 -07:00
Brian Olsen
be7eb4bfcb
Set environment variables using a file.
2013-10-31 00:48:12 +01:00
Michael Crosby
5eb472025a
Merge pull request #2456 from dotcloud/update_release_checklist.md
...
Update RELEASE-CHECKLIST.md to reflect new changes
2013-10-30 16:38:09 -07:00
Andy Rothfusz
bdd12bb703
Merge pull request #2274 from peterbraden/2137-docs
...
Re #2137 Note about vagrant dns in the test documentation
2013-10-30 16:32:35 -07:00
Michael Crosby
ef00317a70
Merge branch 'release' back to master
2013-10-30 16:09:02 -07:00
Victor Vieux
3ff845904d
set containers comm to true by default
2013-10-30 15:06:28 -07:00
Victor Vieux
ec488fa123
fix warning in build
2013-10-30 15:06:01 -07:00
Michael Crosby
d7fac67e0a
Merge pull request #2469 from dotcloud/hotfix_release2
...
Hotfix changes for default values in 0.6.5
2013-10-30 15:04:38 -07:00
Victor Vieux
f7c40a87f3
set containers comm to true by default
2013-10-30 14:48:19 -07:00
Victor Vieux
ee81405567
fix warning in build
2013-10-30 14:36:38 -07:00
Michael Crosby
23b3747945
Merge pull request #2467 from dotcloud/release_hotfix
...
0.6.5 hotfixes
2013-10-30 13:21:20 -07:00
Victor Vieux
1c7ca51f32
fix typos
2013-10-30 13:18:48 -07:00
Michael Crosby
1edde0e8a3
Update links and host integration documentation
2013-10-30 13:11:02 -07:00
Victor Vieux
596facd124
fix typos
2013-10-30 13:06:47 -07:00
Victor Vieux
4fd389eee5
fix remove root name and fix error messages
2013-10-30 13:06:43 -07:00
Victor Vieux
6a9fb81c57
improve error message
2013-10-30 13:06:39 -07:00
Victor Vieux
5fb6d6e47c
continue build on expose with :, but displays a warning
2013-10-30 13:06:34 -07:00
Michael Crosby
a4d97a4e80
Update links and host integration documentation
2013-10-30 11:59:05 -07:00
Victor Vieux
3362aaa4df
fix remove root name and fix error messages
2013-10-30 11:45:11 -07:00
Victor Vieux
8fa6e2b103
improve error message
2013-10-30 11:24:50 -07:00
Victor Vieux
b2503a72f1
continue build on expose with :, but displays a warning
2013-10-30 11:13:10 -07:00
Michael Crosby
bb662bc12c
Merge pull request #2466 from dotcloud/hot-fix-restart-public-mappings
...
Hotfix: Migrate public mappings after upgrade
2013-10-30 09:35:56 -07:00
Michael Crosby
79bf2c2b0e
Hotfix: Migrate public mappings after upgrade
2013-10-30 09:02:23 -07:00
Michael Crosby
746ba127bf
Hotfix: Migrate public mappings after upgrade
2013-10-30 08:15:12 -07:00
Todd Lunter
e7402ed9cc
Fix formatted on build
2013-10-30 08:50:21 -04:00
Victor Vieux
fb4672c52c
do not split last column docker top
2013-10-29 19:03:41 -07:00
Victor Vieux
9420e8def7
update RELEASE-CHECKLIST.md to reflect new changes
2013-10-29 15:34:33 -07:00
Michael Crosby
4f6ce1ba9e
Merge pull request #2428 from dotcloud/bump_0.6.5
...
Bump to version 0.6.5
2013-10-29 14:56:54 -07:00
Victor Vieux
2a9c18af52
Merge pull request #2453 from dotcloud/remove_logs_from_tests
...
Testing: remove some logs from tests
2013-10-29 14:43:37 -07:00
Victor Vieux
86970d00bb
remove some logs from tests
2013-10-29 14:42:34 -07:00
Michael Crosby
da054148dc
Bump to version 0.6.5
2013-10-29 14:42:20 -07:00
Michael Crosby
0174951195
Merge branch 'master' into bump_0.6.5
2013-10-29 14:41:47 -07:00
Michael Crosby
caa7cf14c0
Merge pull request #2426 from dotcloud/enable_sigproxy_default
...
Enable sig-proxy by default in run and attach
2013-10-29 14:39:17 -07:00
Victor Vieux
700a71e6b6
stop proxy at one point
2013-10-29 14:29:01 -07:00
Andy Rothfusz
02e0fdee57
Merge pull request #2429 from SvenDowideit/add-more-doc-pointers
...
tell potential doc updaters and contributors more details
2013-10-29 14:07:12 -07:00
Andy Rothfusz
baf23d3c3e
Merge pull request #2443 from tlunter/fix_remote_api_doc
...
Container commit doesn't use a query parameter, uses POST body
2013-10-29 14:04:22 -07:00
Michael Crosby
5b75aea704
Merge pull request #2449 from tianon/remove-stackbrew-remnants
...
Remove old remnants of stackbrew now that it's a separate project
2013-10-29 14:00:33 -07:00
Michael Crosby
d91e145332
Merge pull request #2448 from keeb/fix-dsfg-readme
...
Fix export clause in readme
2013-10-29 13:44:03 -07:00
Michael Crosby
1384db5e7f
Merge pull request #2451 from tianon/clarify-go-requirement
...
Clarify Go 1.2rc2 / Go 1.1.2 requirements in hack/PACKAGERS.md
2013-10-29 13:41:01 -07:00
Tianon Gravi
ff147707b2
Clarify Go 1.2rc2 / Go 1.1.2 requirements in hack/PACKAGERS.md
2013-10-29 13:41:26 -06:00
Tianon Gravi
05430c7170
Merge pull request #2433 from tianon/sqlite-dep
...
Add SQLite dep to hack/PACKAGERS.md
2013-10-29 12:27:26 -07:00
Tianon Gravi
eb79e8c5dd
Remove old remnants of stackbrew now that it's a separate project
2013-10-29 13:14:15 -06:00
Nick Stinemates
b48fc96579
Fix export clause
...
This makes our clause DSFG acceptable.
2013-10-29 12:06:48 -07:00
Victor Vieux
e0b59ab52b
Enable sig-proxy by default in run and attach
2013-10-29 11:18:34 -07:00
Michael Crosby
a6a274f312
Merge pull request #2431 from relateiq/2430-links-ip-env
...
Expose addr, port, proto env variables when linking, Closes #2430
2013-10-29 11:02:46 -07:00
Todd Lunter
4f5790d104
Update all older docs too
2013-10-29 13:57:42 -04:00
Todd Lunter
70c976de03
Doesn't use a query parameter, uses POST body
2013-10-29 10:17:12 -04:00
Julien Barbier
4947f61c20
Updated dotCloud,Inc. to Docker, Inc.
2013-10-29 06:11:36 -07:00
Scott Bessler
1de23f1b81
Expose IP, port, proto as sep. env vars when linking, Closes #2430
2013-10-28 23:02:28 -07:00
Tianon Gravi
b283900764
Add SQLite dep to hack/PACKAGERS.md and clean up a few other tiny inconsistencies
2013-10-28 21:57:20 -06:00
Sven Dowideit
82f1514895
docker stop sends SIGTERM and SIGKILL, docker kill sends SIGKILL
2013-10-29 13:37:43 +10:00
Sven Dowideit
e47f9984f8
add links to the Dockerfiles as canonical external requirements, add example of building and exposing the docs and simplify the Dockerfile for cacheability
2013-10-29 12:58:58 +10:00
Michael Crosby
b038b0cd44
Merge pull request #2162 from dotcloud/links
...
Links and Container Naming
2013-10-28 19:24:10 -07:00
Michael Crosby
7e8b2c3836
Make sure only links are removed and not names
2013-10-28 19:19:31 -07:00
Dan Hirsch
dd9f4524d1
Make /events API send headers immediately
...
Go's net/http API does not send headers until the first call to
ResponseWriter.Write(). Ordinarily, this is fine, because in most
cases, responses are returned immediately. However, for the events
API, nothing is written until some event is sent, which causes
timeouts and/or hangs in some HTTP client APIs, which wait for headers
before returning from the "make request" call.
2013-10-28 21:39:21 -04:00
Michael Crosby
a52e23c5e4
Merge pull request #2425 from dotcloud/links-allow-name
...
Add -name for docker run
2013-10-28 18:16:06 -07:00
Michael Crosby
0d2924408b
Add -name for docker run
...
Remove docker link
Do not add container id as default name
Create an auto generated container name if not
specified at runtime.
2013-10-28 18:09:08 -07:00
rogaha
91d721aaf4
- Added volumes documentation
2013-10-28 17:24:03 -07:00
Andy Rothfusz
76afb6e73d
Merge pull request #2421 from dudebout/patch-1
...
Fixes the flags for nc in example
2013-10-28 17:01:53 -07:00
Victor Vieux
c0662488c7
Merge pull request #2422 from dotcloud/links_names_generator
...
Add name generator for container without -name
2013-10-28 15:34:16 -07:00
Victor Vieux
971cf56d89
add name generator
2013-10-28 15:19:52 -07:00
Tianon Gravi
865649d7ac
Update sysvinit script to fix a few inconsistencies and be more useful/correct downstream
2013-10-28 14:08:21 -06:00
Nicolas Dudebout
50bb4a1636
Fixes the flags for nc
...
The `-p` flag for `nc` should not be used with `-l`.
2013-10-28 15:48:18 -04:00
Andy Rothfusz
3c0c75bbf9
Merge pull request #2413 from rutsky/patch-1
...
Fix typo
2013-10-28 12:08:04 -07:00
Andy Rothfusz
7f95c7aeec
Merge pull request #2417 from rutsky/patch-2
...
fix typo
2013-10-28 12:07:46 -07:00
Vladimir Rutsky
395a24ffd5
fix typo
2013-10-28 09:35:09 +03:00
Vladimir Rutsky
45d94944f3
Fix typo
2013-10-28 02:45:12 +03:00
Solomon Hykes
a13241d370
Engine: Engine.Job() never fails, to mimic the os/exec API (and make usage less verbose)
2013-10-26 17:49:16 -07:00
Solomon Hykes
e8491ae54c
Engine: cleanly log the start and end of each engine job
2013-10-26 17:17:45 -07:00
Solomon Hykes
464ded79fc
Close sqlite persistent connection on SIGINT, SITERM or SIGKILL
2013-10-26 14:28:53 -07:00
Solomon Hykes
c1ae1a0e1c
Setup daemon pidfile/cleanup in Server.Daemon() instead of main()
2013-10-26 14:26:07 -07:00
Solomon Hykes
c542b2f873
Rename ConfigGetenv to ConfigFromJob
2013-10-26 14:24:25 -07:00
Solomon Hykes
7e691e11b0
Rename 'GraphPath' to the more logical 'Root'. This does not affect users except for a slight text change in the usage messge
2013-10-26 14:24:13 -07:00
Solomon Hykes
1b8eef4efb
Engine: centralize checks for supported architectures and kernel versions
2013-10-26 14:21:04 -07:00
Solomon Hykes
2a29bf6245
Engine: basic testing harness
2013-10-26 14:18:28 -07:00
Solomon Hykes
0d1a825137
Minimal, unintrusive implementation of a cleaner Job API.
...
* Implement a new package: engine. It exposes a useful but minimalist job API.
* Refactor main() to instanciate an Engine instead of a Server directly.
* Refactor server.go to register an engine job.
This is the smallest possible refactor which can include the new Engine design
into master. More gradual refactoring will follow.
2013-10-26 14:18:13 -07:00
Solomon Hykes
60b97576cf
Fix build on darwin
2013-10-26 14:14:50 -07:00
Victor Vieux
54d3b4dd28
Merge pull request #2400 from dotcloud/remove_newline_debugf
...
Removes \n from debugf calls
2013-10-25 18:01:19 -07:00
Victor Vieux
8f39f0b57d
Removes \\n from debugf calls
2013-10-25 17:50:40 -07:00
Victor Vieux
d5c7e92a9a
fix docker ps display
2013-10-25 17:36:23 -07:00
Michael Crosby
110b944f45
Merge pull request #2399 from dotcloud/fix_race_stdin_cli
...
Only pass stdin to hijack when needed
2013-10-25 17:32:36 -07:00
Victor Vieux
13c521526d
only pass stdin to hijack when needed
2013-10-25 17:17:33 -07:00
Victor Vieux
516cf54843
prevent default name to be deleted and return an error on invalid link
2013-10-25 16:49:49 -07:00
Michael Crosby
356af1540f
Ensure child containers are started before parents
2013-10-25 15:13:26 -07:00
Michael Crosby
2e6b241dc7
Add default entity and edge to graph on runtime load
2013-10-25 15:13:26 -07:00
Michael Crosby
94e5081bac
Move iptable rules outside of create bridge
...
This allows the user to toggle enabling and
disabling intercontainer communication when
they run the daemon.
2013-10-25 15:13:26 -07:00
Michael Crosby
e179a24ad5
Update TestLinkEnv for default port
2013-10-25 15:13:25 -07:00
Victor Vieux
da864a845b
Remove proto frpm default port
2013-10-25 15:13:25 -07:00
Tianon Gravi
640682d56c
Fix "go test -i" to include the proper LDFLAGS and BUILDFLAGS
2013-10-25 15:13:25 -07:00
Victor Vieux
66a159342b
update docker port command
2013-10-25 15:13:25 -07:00
Michael Crosby
7c882a8003
Move name parsing logic to GetByName method
2013-10-25 15:13:25 -07:00
Michael Crosby
7d440f70fd
Add missing else when checking for linkgraph.db
2013-10-25 15:13:25 -07:00
Solomon Hykes
0c9b319dd0
Hack: fix test and dyntest to correctly use $TESTFLAGS
2013-10-25 15:13:25 -07:00
Michael Crosby
7c08aeeba4
Use persistent connection for links database
...
Add close method to Runtime and Server to make sure
that any underlying connections are cleaned up
2013-10-25 15:13:25 -07:00
Michael Crosby
7072d2aaca
Close connection in Get method
2013-10-25 15:13:25 -07:00
Tianon Gravi
21161dbd51
Add dynbinary and dyntest scripts for building/testing a separate static dockerinit binary
...
After a nice long brainstorming session with @shykes on IRC, we decided on using a SHA1 hash of dockerinit compiled into the dynamic docker binary to ensure that we always use the two in a perfect pair, and never mix and match.
2013-10-25 15:13:25 -07:00
Tianon Gravi
cf86e2bb22
Rename all cases of "docker-init" to "dockerinit" for consistency
2013-10-25 15:13:25 -07:00
Tianon Gravi
d789750851
Refactor the handling of static-related build flags
...
This is as discussed with @shykes on IRC
2013-10-25 15:13:25 -07:00
Tianon Gravi
fb8d488896
Add a few small consistency tweaks in hack
2013-10-25 15:13:25 -07:00
Victor Vieux
dbe7d67c18
fix tests
2013-10-25 15:13:25 -07:00
Victor Vieux
6c863b49ef
remove docker ls and add docker link in usage and switch to go1.2rc2
2013-10-25 15:13:25 -07:00
Victor Vieux
89fb51f606
fix merge issue and gofmt
2013-10-25 15:13:25 -07:00
Victor Vieux
256b7537e3
no more name encoding
2013-10-25 15:13:25 -07:00
Victor Vieux
c4923757f1
replace == by HasPrefix for names and improve error message
2013-10-25 15:13:25 -07:00
Victor Vieux
387aeb78fb
refactor notrunc in commands.go to add names support
2013-10-25 15:13:24 -07:00
Victor Vieux
99a9783abc
fix typo in docs
2013-10-25 15:13:24 -07:00
Michael Crosby
0e24db3a68
Updated fixes post rebase from master
...
Removed test cases that are no longer
applicable with links and the port changes.
Remove test case where a test was hitting an
external ip.
2013-10-25 15:13:24 -07:00
Alexander Larsson
db99966724
Move SysInit to a submodule
...
This allows docker-init to not import the main docker
module, which means it won't e.g. pick up any sqlite
dependencies.
2013-10-25 15:13:24 -07:00
Alexander Larsson
d063c8d941
Move ListOps to utils submodule
...
This will be needed for later use in docker-init without a docker
dependency
2013-10-25 15:13:24 -07:00
Alexander Larsson
249f5a65a5
Add a network test
...
This just tries pinging first 127.0.0.1 and then 8.8.8.8.
We can't ping via a dns name, because libresolv.so is missing
from the test image, so dns resolving doesn't work.
2013-10-25 15:13:24 -07:00
Alexander Larsson
494cd07f72
network: Stop shelling out to /sbin/ip
...
We have our own netlink version of all the required calls now, so
we can just skip the /sbin/ip dependency.
2013-10-25 15:13:24 -07:00
Alexander Larsson
607c1a520e
Use netlink directly instead of /bin/ip in Sysinit
...
The sysinit code only uses /bin/ip to set a default gateway. This
is pretty easy to do via netlink directly, so we can avoid
the ip dependency.
2013-10-25 15:13:24 -07:00
Alexander Larsson
bf61d41d6c
Add netlink submodule
...
This contains various operations that can replace the use of
shelling out to "ip".
2013-10-25 15:13:24 -07:00
Michael Crosby
ce965b8c43
Add flag for inter-container communication
2013-10-25 15:13:24 -07:00
Solomon Hykes
f7a2f0b937
Typos and FIXMEs
2013-10-25 15:13:24 -07:00
Solomon Hykes
4576d0f802
gograph: fix a bug which caused the unicity of (parent, name) to not be enforced
2013-10-25 15:13:24 -07:00
Michael Crosby
515070d513
Remove docker ls from docs and cli usage
2013-10-25 15:13:24 -07:00
Michael Crosby
1cbdaebaa1
Add links for container relationships and introspection
2013-10-25 15:13:24 -07:00
Michael Crosby
ff567f8729
Merge pull request #2385 from dotcloud/suppress_even_more_warnings_test
...
Improve tests again, remove warnings and prevent some mount issues
2013-10-25 15:04:56 -07:00
Jérôme Petazzoni
279791bc74
Merge pull request #2378 from tianon/linkify-github-ids
...
Linkify @github references in the infrastructure README.md
2013-10-25 11:30:25 -07:00
Mathieu Le Marec - Pasquet
b64ce8e33c
Do not drop sys_boot
...
This fixes #2391
2013-10-25 18:41:03 +02:00
Andy Rothfusz
1e704a4ddc
Merge pull request #2355 from xdissent/patch-1
...
Typo in host integration docs
2013-10-24 19:05:22 -07:00
Victor Vieux
31111f61e0
Merge pull request #1963 from rogpeppe/master
...
Client: Use less reflection in command-line method invocation
2013-10-24 18:03:20 -07:00
Michael Crosby
217b6070f0
Merge pull request #2383 from jpetazzo/cleanup-errclosedpipe-for-stdin
...
Ignore ErrClosedPipe for stdin in Container.Attach.
2013-10-24 17:18:28 -07:00
Michael Crosby
36c26a0f0f
Merge pull request #2384 from dotcloud/suppress_warning_tty_tests
...
Change logic for tty resize to avoid warning in tests
2013-10-24 16:59:13 -07:00
Victor Vieux
a675e249b1
fix workdir, hostname tests and a bunch on mount issue
2013-10-24 16:57:35 -07:00
Victor Vieux
acc2aec988
remove log
2013-10-24 15:13:47 -07:00
Victor Vieux
0e021ed470
swap cat by top to prevent 2 warnings
2013-10-24 15:06:10 -07:00
Jérôme Petazzoni
b9eb5e04ae
Ignore ErrClosedPipe for stdin in Container.Attach.
...
But pass `err` in the error channel anyway; don't ignore it anymore.
2013-10-24 15:04:58 -07:00
Victor Vieux
0e44864b66
change logic for tty resize to avoid warning in tests
2013-10-24 14:54:04 -07:00
Michael Crosby
e661473bcd
Merge pull request #2379 from dotcloud/2377-remove_resize_race-fix
...
Monitor the tty after starting the container
2013-10-24 12:31:31 -07:00
Tianon Gravi
98c94dd4db
Merge pull request #2364 from tianon/sudo-modprobe
...
Fix install.sh with $sh_c to get sudo/su for modprobe
2013-10-24 11:24:23 -07:00
Victor Vieux
656b66e51b
monitor the tty after starting the container
2013-10-24 11:19:06 -07:00
Tianon Gravi
c9375d14fc
Linkify @github references in the infrastructure README.md
2013-10-24 11:54:06 -06:00
Michael Crosby
489c370fcc
Merge pull request #2367 from dotcloud/remove_useless_exit
...
Remove useless os.Exit() after log.Fatalf
2013-10-24 09:18:45 -07:00
Tianon Gravi
aa6c99aff6
Merge pull request #2363 from tianon/mkimage-numeric-owner
...
Update all the mkimage scripts to use --numeric-owner as a tar argument
2013-10-24 06:42:52 -07:00
Victor Vieux
92384649cf
remove useless os.Exit() after log.Fatalf
2013-10-24 00:25:55 -07:00
Victor Vieux
c2413889bb
Merge pull request #2354 from hamo/refac_parsehost
...
refactor utils.ParseHost with switch-case, so we can add other proto support easily
2013-10-24 00:22:50 -07:00
Yang Bai
e81da876df
let utils.ParseHost return err when errors happen
2013-10-24 13:23:02 +08:00
Tianon Gravi
f0dbdba5c0
Merge pull request #2263 from tianon/hack-release
...
Update hack/release.sh process to automatically invoke hack/make.sh and bail on building/testing issues
2013-10-23 15:31:16 -07:00
Tianon Gravi
0324e567ad
Fix install.sh with $sh_c to get sudo/su for modprobe
2013-10-23 15:48:30 -06:00
Tianon Gravi
ef5cf6c1ec
Merge pull request #2226 from tianon/init
...
Add initial init scripts library and better/safer Ubuntu packaging that works for Debian, too
2013-10-23 14:29:41 -07:00
Tianon Gravi
afaddd04f7
Merge pull request #2306 from tianon/fix-ubuntu-install-aufs
...
Update hack/install.sh with some more Ubuntu-specific installation stuff...
2013-10-23 14:22:55 -07:00
Tianon Gravi
8e43db95f2
Update all the mkimage scripts to use --numeric-owner as a tar argument to properly preserve ownership
2013-10-23 14:08:16 -06:00
Victor Vieux
7a116220e7
Merge pull request #2327 from dotcloud/2325_fix_untag_rmi
...
fix wrong untag while docker rmi
2013-10-23 10:24:20 -07:00
Victor Vieux
894a68d2ee
Merge pull request #2349 from shykes/runtime-cleanup
...
Runtime: remove unused field kernelVersion
2013-10-23 09:54:00 -07:00
Tianon Gravi
dc57d4ca26
Merge pull request #2353 from wrouesnel/mkimage-debootstrap-improvements
...
mkimage-debootstrap.sh: Add -p option to invoke debootstrap with http_proxy
2013-10-23 09:26:45 -07:00
Will Rouesnel
bc8a1081b0
mkimage-debootstrap.sh: Add -p option to invoke debootstrap with http_proxy.
...
This patch allows debootstrap to be run with the http_proxy environment
variable. This is principally useful when you're using apt-cacher and
apt-cacher-ng locally.
2013-10-24 03:21:10 +11:00
Greg Thornton
33ccd29ae7
Typo in host integration docs
2013-10-23 10:19:12 -05:00
Tianon Gravi
2aaaf90320
Update hack/make/ubuntu to make less ubuntu-centric packages, to fix the issue of deleting the docker group on every upgrade, to use the new init library scripts for upstart and sysvinit, and to include the dependency on iptables
2013-10-23 07:38:12 -06:00
Yang Bai
99f1675566
refactor utils.ParseHost with switch-case, so we can add other proto support easily
2013-10-23 18:29:35 +08:00
Solomon Hykes
7e4d008403
Runtime: remove unused field kernelVersion
2013-10-23 00:44:57 -06:00
Victor Vieux
b0515a7016
Merge pull request #2279 from dotcloud/fix_docker_inspect
...
Client: improve docker inspect
2013-10-22 17:17:35 -07:00
Victor Vieux
8ff7b70c91
Merge pull request #2341 from dotcloud/1327-race_build_verbose-fix
...
fix race condition in docker build with verbose + cleanup hostIntegration debug
2013-10-22 16:46:36 -07:00
Victor Vieux
01284cbf73
fix status code
2013-10-22 15:39:51 -07:00
Victor Vieux
10e10c9573
fix race condition in docker build with verbose + cleanup hostIntegration debug
2013-10-22 15:01:06 -07:00
Michael Crosby
b73065ab33
Merge pull request #2338 from proppy/patch-1
...
Registry: Fix content-type for PushImageJSONIndex
2013-10-22 14:48:12 -07:00
Johan Euphrosine
d93023daa9
registry: fix content-type for PushImageJSONIndex
2013-10-22 11:56:48 -07:00
Andy Rothfusz
81866087fe
Merge pull request #2261 from edmund-wagner/master
...
make copy paste user friendly
2013-10-22 11:31:49 -07:00
Michael Crosby
e70030a0c3
Merge pull request #2150 from pnasrat/fix-mnt-subdir-volumes
...
Fixes issues with mounting subdirectories of /mnt in container.
2013-10-22 11:26:50 -07:00
Andy Rothfusz
3bd45824da
Merge pull request #2318 from Tranquility/master
...
Fix github link in docs
2013-10-22 09:55:33 -07:00
Victor Vieux
13c913d883
Merge pull request #2198 from hamo/hamo/chdir_error
...
check return value of syscall.Chdir when changing working directory
2013-10-22 09:54:25 -07:00
Tianon Gravi
92beaed066
Merge pull request #2326 from justinforce/commentstring
...
Set commentstring in Vim syntax plugin
2013-10-22 00:41:34 -07:00
Victor Vieux
6b04913e73
Merge pull request #2307 from gurjeet/sorted_commands_in_help
...
Place 'top' subcommand's help in proper order.
2013-10-21 18:07:39 -07:00
Victor Vieux
93810b289c
fix wrong untag while docker rmi
2013-10-21 17:03:32 -07:00
Justin Force
ea59ce60c5
Set commentstring in Vim syntax plugin
...
By setting the commentstring, you support commenting with plugins like tComment.
Now Vim won't default to incorrect `/* */` comments.
2013-10-21 16:15:10 -07:00
Andy Rothfusz
a1fc8e17a7
Clean up level 3 headers.
2013-10-21 14:03:09 -07:00
Ole Reifschneider
f903feee03
Fix github link in docs
2013-10-21 22:58:56 +02:00
Andy Rothfusz
26adda6c31
Merge pull request #2303 from metalivedev/2302-fixintro
...
Fix #2302
2013-10-21 09:39:34 -07:00
Gurjeet Singh
7e09c6332d
Place 'top' subcommand's help in proper order.
2013-10-20 02:15:36 -04:00
Tianon Gravi
3b0cbc59ea
Update hack/install.sh with some more Ubuntu-specific installation stuff while we're still on AUFS (installing linux-image-extra-$(uname -r) when we can't find AUFS to try to find AUFS)
2013-10-19 23:56:14 -06:00
Daniel Mizyrycki
95f3f77fc4
testing infrastructure, issue #1800 : Refactor docker testing using Docker in Docker
2013-10-18 22:33:16 -07:00
Andy Rothfusz
bba5fd4555
Fix #2302
2013-10-18 18:00:44 -07:00
Guillaume J. Charmes
9bceae2440
Add a chan to hijack() to block until the hijack is completed
2013-10-18 16:26:29 -07:00
Guillaume J. Charmes
e7269b9841
Fix issue with autoremove
2013-10-18 16:26:29 -07:00
Andy Rothfusz
8cf0f2dbe5
Update documentation
2013-10-18 16:26:29 -07:00
Guillaume J. Charmes
3e014aa662
Fix attach race condition, improve unit tests, make sure the container is started before unblocking Start
2013-10-18 16:26:16 -07:00
Guillaume J. Charmes
333bc23f21
Fix issue killing container while sending signal
...
Fix rebase issue
Update docs
2013-10-18 16:19:27 -07:00
Tianon Gravi
7cf1877098
Add POSIX shell version of host_integration/manager.go in the style of hack/make.sh
...
Rename host_integration to host-integration for consistency
2013-10-18 16:16:29 -07:00
Guillaume J. Charmes
4918769b1a
Add -nostdin and -proxy to docker attach, allow arbirary signal to be sent via docker kill api endpoint
...
Allow attach from `docker start`
Add host integration script generation
Update doc with host integration
2013-10-18 16:16:29 -07:00
Tianon Gravi
4b7c071e9c
Merge pull request #2222 from tianon/debootstrap
...
Renamed and refactored mkimage-debian to mkimage-debootstrap to more clearly reflect its true function
2013-10-18 14:46:14 -07:00
Andy Rothfusz
ad7c6bc950
Merge pull request #2281 from metalivedev/cleanupformat
...
Clean up build warnings. Remove redundant files.
2013-10-18 11:39:46 -07:00
Victor Vieux
2e4ee72201
Merge pull request #2282 from shykes/fix-tests
...
Tests: Cleanup the test suite
2013-10-18 11:31:13 -07:00
Tianon Gravi
4870265a9f
Add "vendor/pkg/" to .gitignore now that we "go test -i"
2013-10-18 12:18:13 -06:00
Roger Peppe
43fd85eb8f
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
commands.go
2013-10-18 09:22:20 +01:00
Solomon Hykes
b629810fe0
hack: encode the name of the current test in temporary directories, for easier tracking
...
Conflicts:
utils_test.go
2013-10-18 07:29:07 +00:00
Solomon Hykes
07d9e4353b
Increase readbility of unit tests by using mkRuntime everywhere
2013-10-18 07:20:39 +00:00
Tianon Gravi
ac5bc86771
Merge pull request #1 from jpetazzo/cherry-on-top-of-hack-release
...
Cherry on top of hack release
2013-10-17 23:21:41 -07:00
Jérôme Petazzoni
85956c70b5
Change bundle order, and fix shell array expansion.
...
I believe that it is helpful to build the binary first. That way,
if you interrupt the tests, you still get a binary to play with.
If you run the tests first and interrupt them, no binary for you!
Also, the second part of this commit is an undeniable proof that
Bash array syntax is nothing else than an elaborate troll by Bash
authors.
2013-10-17 23:20:18 -07:00
Jérôme Petazzoni
8c38c30985
Remove spurious messages, and use proper args expansion.
...
Also, display some (hopefully helpful) message when no command was given.
2013-10-17 23:19:36 -07:00
Tianon Gravi
89a2c8e2cd
Merge pull request #2283 from tmc/master
...
Make mkimage-arch.sh a little more clear
2013-10-17 23:05:01 -07:00
Travis Cline
f34a62ea19
Use heredoc to make expect script more clear
2013-10-18 00:35:12 -05:00
Jérôme Petazzoni
255b6aadfa
Work around an exotic bug affecting Docker-in-Docker + systemd.
2013-10-17 20:42:11 -07:00
Solomon Hykes
5c175357aa
Hack: fix tests which didn't cleanup properly
2013-10-18 02:13:36 +00:00
Solomon Hykes
240d5b3fa1
Hack: don't run integration tests in /var/lib/docker/unit-tests; add missing cleanups in a few tests
2013-10-18 02:13:36 +00:00
Andy Rothfusz
689bcd1dc3
Clean up build warnings. Remove redundant files.
2013-10-17 17:57:01 -07:00
Victor Vieux
8bce284496
clean split between errors and output. JSON output always valid
2013-10-17 23:40:43 +00:00
Jérôme Petazzoni
95ccb78aa7
Merge pull request #2253 from jpetazzo/infrastructure-docs
...
Try a different presentation of infrastructure documentation.
2013-10-17 16:17:32 -07:00
Tianon Gravi
83a2e92d47
Update hack/release.sh process to automatically invoke hack/make.sh and bail on building/testing issues
2013-10-17 16:49:35 -06:00
Jérôme Petazzoni
d401e9d3ac
Add Stackbrew.
2013-10-17 14:11:10 -07:00
Peter Braden
3db381bf08
Re #2137 Note about vagrant dns in the test documentation
2013-10-17 13:38:39 -07:00
Victor Vieux
f248a8e13c
Update CHANGELOG.md
2013-10-17 11:27:44 -07:00
Victor Vieux
47cc6c8081
Update CHANGELOG.md
2013-10-17 11:26:17 -07:00
Tianon Gravi
c405d53b6e
Add initial init scripts library, including systemd, sysvinit, upstart, and openrc
2013-10-17 12:03:49 -06:00
Edmund Wagner
bc39ac71e6
c&p improvement for 13.04
...
first line killed sources list
2013-10-17 10:07:12 +02:00
Edmund Wagner
2110b3cca8
make copy paste user friendly
...
copying only the first line killed my sources.list file
2013-10-17 09:31:35 +02:00
Michael Crosby
414795856a
Merge branch 'release'
2013-10-16 18:20:04 -07:00
Michael Crosby
2f74b1c84b
Merge pull request #2255 from dotcloud/bump_0.6.4
...
Bump to 0.6.4
2013-10-16 17:59:45 -07:00
Michael Crosby
e8da76605f
Bump version to 0.6.4
2013-10-16 17:50:08 -07:00
Michael Crosby
f16e60665b
Merge branch 'master' into bump_0.6.4
2013-10-16 17:48:17 -07:00
Michael Crosby
3ba9893786
Merge pull request #2242 from jpetazzo/remove-spurious-errors-and-errclosedpipe
...
Fix error/debug messages in Container.Attach and recover from ErrClosedPipe
2013-10-16 17:27:23 -07:00
Jérôme Petazzoni
7b1c6ccabd
Try a different presentation of infrastructure documentation.
2013-10-16 17:11:21 -07:00
Guillaume J. Charmes
6ee2964a4f
Merge pull request #2256 from dotcloud/discard_errno_0_errors
...
- Runtime: discard errno = 0 errors
2013-10-16 16:22:03 -07:00
Victor Vieux
49c62879b8
discard errno = 0 errors
2013-10-16 23:05:50 +00:00
Michael Crosby
34745ee0f4
Merge pull request #2246 from dotcloud/clean_when_start_fail
...
Add cleanup when container.Start fails
2013-10-16 15:06:08 -07:00
Victor Vieux
d21bd5b964
Merge pull request #2251 from dotcloud/skip_autoremove_test
...
skip auto-remove test for now
2013-10-16 14:59:08 -07:00
Michael Crosby
82220ea2ad
Merge pull request #2249 from jpetazzo/cleanup-errclosing-in-proxy
...
Catch errClosing error when TCP and UDP proxies are terminated.
2013-10-16 14:51:43 -07:00
Victor Vieux
655b16c712
skip auto-remove test for now
2013-10-16 21:47:20 +00:00
Michael Crosby
eb2d0d4bf5
Merge pull request #2250 from dotcloud/revert-07-doc-changes
...
Revert "Fix #2115 Clean AUFS references. Also fixes some links to client...
2013-10-16 14:44:53 -07:00
Jérôme Petazzoni
cc851dbb3f
Catch errClosing error when TCP and UDP proxies are terminated.
2013-10-16 14:43:20 -07:00
Victor Vieux
e40fd1e3e1
fix panic
2013-10-16 21:39:03 +00:00
Michael Crosby
dab84f7e8b
Revert "Fix #2115 Clean AUFS references. Also fixes some links to client libraries and mongo example."
...
This reverts commit f4c17a202b .
2013-10-16 14:38:24 -07:00
Daniel Mizyrycki
7df8ec2093
Merge pull request #2195 from mzdaniel/report
...
Add aggregated docker-ci email report
2013-10-16 14:29:24 -07:00
Daniel Mizyrycki
a2ffa637ce
testing infrastructure, PR #2195 : Add aggregated docker-ci email report
2013-10-16 13:30:15 -07:00
Guillaume J. Charmes
ed6ca109bf
Refactor container.Start()
2013-10-16 13:12:56 -07:00
Victor Vieux
6e48b73955
Merge pull request #2247 from dotcloud/improve_tests_error_messages
...
Tests: Remove a few errors
2013-10-16 12:50:15 -07:00
Victor Vieux
664acd2971
Add clean if start fail
2013-10-16 19:48:24 +00:00
Victor Vieux
3acfc60028
change an errorf to a debugf
2013-10-16 19:45:10 +00:00
Victor Vieux
0e64a4d7e7
remove false alarm error
2013-10-16 19:38:12 +00:00
Victor Vieux
104a86936a
api.go:108 Error parsing media type: error: mime: no media type
...
fix
2013-10-16 19:32:03 +00:00
Victor Vieux
df697b4318
use httpError in a separate test
2013-10-16 19:23:47 +00:00
Tianon Gravi
27fc01271e
Merge pull request #2219 from tianon/completion
...
Reorganize contributed completion scripts to add zsh completion
2013-10-16 11:40:56 -07:00
Tianon Gravi
97ab118fbb
Merge pull request #2220 from tianon/vim
...
Add vim syntax highlighting for Dockerfiles from @honza
2013-10-16 11:40:42 -07:00
Jérôme Petazzoni
fc659b68e4
Fix error/debug messages in Container.Attach and recover from ErrClosedPipe conditions.
2013-10-16 11:35:45 -07:00
Guillaume J. Charmes
99f6b43f4f
Merge pull request #2243 from jpetazzo/comments-stdcopy
...
Add better comments to utils/stdcopy.go.
2013-10-16 11:17:15 -07:00
Victor Vieux
2b92aa71f9
Merge pull request #2244 from dotcloud/add_cleanup_leftover_container_tests
...
Tests: add cleanup to remove leftover containers
2013-10-16 11:09:48 -07:00
Victor Vieux
f854529ae8
add cleanupin tests to remove leftover containers
2013-10-16 18:06:37 +00:00
Jérôme Petazzoni
e32debcf5f
Add better comments to utils/stdcopy.go.
2013-10-16 10:58:53 -07:00
Andy Rothfusz
0e08e1d695
Merge pull request #2236 from SvenDowideit/2209-comments-doc
...
#2209 - add the example @tianon gave to elaborate on the Comment docume...
2013-10-16 10:51:15 -07:00
Andy Rothfusz
65b62307c3
Merge pull request #2231 from metalivedev/1919-docreleaseinfo
...
Fix #1919 document how to edit and release docs.
2013-10-16 10:45:01 -07:00
Andy Rothfusz
03e5d94b12
Merge pull request #2090 from kencochrane/master
...
added initial draft of the Docker infrastructure doc
2013-10-16 10:44:22 -07:00
Tianon Gravi
0ca533ca35
Merge pull request #2233 from tmc/master
...
Add mkimage-arch.sh
2013-10-15 19:27:45 -07:00
Travis Cline
d94a027da6
Add mkimage-arch.sh
2013-10-16 02:26:15 +00:00
Sven Dowideit
7250f94874
#2209 - add the example @tianon gave to elaborate on the Comment documentation
2013-10-16 11:12:47 +10:00
Michael Crosby
4196c704f0
Merge pull request #1943 from dotcloud/1940-prevent_crash_parseNat_build-fix
...
Abort build if mergeConfig returns an error and fix duplicate error message
2013-10-15 17:40:48 -07:00
Victor Vieux
adb48ef319
Merge pull request #2235 from dotcloud/update_dockerfile
...
Update Dockerfile test comment
2013-10-15 17:32:48 -07:00
Victor Vieux
ee7d9b0bde
Update Dockerfile test comment
2013-10-16 00:31:34 +00:00
Victor Vieux
2f4526d5c4
Merge pull request #2221 from flavio/fix_broken_tests
...
Fixed broken tests
2013-10-15 17:26:19 -07:00
Victor Vieux
261285c2c2
Merge pull request #2232 from shykes/error-should-be-debug
...
Remove error messages which are not actually errors
2013-10-15 17:12:51 -07:00
Solomon Hykes
cbc49d7d76
Remove error messages which are not actually errors
2013-10-15 23:12:27 +00:00
Solomon Hykes
4dc90405e3
Merge pull request #2230 from shykes/hack-select-test
...
hack: only run certain tests with TESTFLAGS='-run TestName' make.sh
2013-10-15 15:58:54 -07:00
Solomon Hykes
b7abe9dab5
hack: only run certain tests with TESTFLAGS='-run TestName' make.sh
2013-10-15 22:57:40 +00:00
Andy Rothfusz
cd455ca6fa
Fix #1919 document how to edit and release docs.
2013-10-15 15:52:21 -07:00
Flavio Castelli
ca56b35e53
Fixed broken tests
...
Some tests failed because the `auplink` binary was not found inside of the
"docker" container.
2013-10-15 11:44:56 +02:00
Tianon Gravi
095aab9d97
Refactor mkimage-debootstrap.sh to be much more full-featured
...
This includes the following:
- options to control certain parameters
- an option specifically for creating tarballs directly, esp. for dockerbrew
- the addition of the updates and security repositories for Debian images
- the addition of the universe, updates, and security repositories for Ubuntu images
- more correct tagging of Debian images
- tagging of Ubuntu image versions (12.04, 12.10, etc) and latest tag for LTS
2013-10-15 03:44:03 -06:00
Tianon Gravi
ace059e409
Add vim syntax highlighting for Dockerfiles from @honza
...
See https://github.com/honza/dockerfile.vim
See also https://twitter.com/_honza/status/390046317579620352
2013-10-15 03:35:13 -06:00
Tianon Gravi
9da2b3590e
Add zsh completion from @felixr with permission
...
See https://github.com/felixr/docker-zsh-completion for the original.
See also https://github.com/dotcloud/docker/issues/2202#issuecomment-26313287
Fixes #2202
2013-10-15 03:04:06 -06:00
Tianon Gravi
e99ab1df97
Move contrib/docker.bash to contrib/completion/bash/docker for better organization
2013-10-15 03:02:31 -06:00
Tianon Gravi
4967f9f19c
Rename mkimage-debian.sh to mkimage-debootstrap.sh to more clearly reflect its true function
2013-10-15 02:26:10 -06:00
Solomon Hykes
fde157425c
Merge pull request #2218 from tianon/ksid
...
Remove @KSid from contrib maintainers for now
2013-10-15 00:13:58 -07:00
Tianon Gravi
a0e5657cb6
Remove @KSid from contrib maintainers for now
...
His availability has been very limited, so I'll take over completely for the short term until he can find more time to help out.
2013-10-15 00:58:34 -06:00
Daniel Mizyrycki
f4a98b4598
Merge pull request #2211 from mzdaniel/2190-docker-ci
...
Prevent docker-ci to test closing PRs
2013-10-14 14:12:23 -07:00
Daniel Mizyrycki
53a07d5475
Prevent docker-ci to test closing PRs
2013-10-14 14:00:06 -07:00
Andy Rothfusz
93b258413f
Merge pull request #2160 from iffy/patch-1
...
Minor updates to postgresql_service.rst
2013-10-14 11:59:57 -07:00
Andy Rothfusz
c0bfb75e5f
Merge pull request #2142 from SvenDowideit/patch-1
...
tell the new developer how they can replace the real docker binary with ...
2013-10-14 11:55:42 -07:00
Yang Bai
1043055b10
check return value of syscall.Chdir when changing working directory
2013-10-14 15:27:38 +08:00
Daniel Mizyrycki
620bc5b9e1
Merge pull request #1823 from dotcloud/1766-nightly-release
...
testing, issue #1766 : Add nightly release to docker-ci
2013-10-11 17:38:06 -07:00
Daniel Mizyrycki
6d6097cddf
Merge pull request #1813 from doubleyou/patch-1
...
Improve network performance for VirtualBox
2013-10-11 16:23:19 -07:00
Daniel Mizyrycki
42277d0329
Merge pull request #2178 from tianon/vagrant-docker-group
...
Add vagrant user to the docker group
2013-10-11 15:10:50 -07:00
Tianon Gravi
d62df6b2b5
Add vagrant user to the docker group
2013-10-11 11:00:04 -06:00
Michael Crosby
97779ff7cf
Merge pull request #2118 from karlgrz/936-enhance-logging
...
Add utils.Errorf for error logging
2013-10-11 08:51:37 -07:00
Michael Crosby
9afa48a92f
Merge pull request #2169 from dotcloud/remove-deprecated-packaging
...
Remove deprecated packaging directory
2013-10-11 08:44:34 -07:00
Karl Grzeszczak
ad723bbfe7
Initial steps to fix Issue #936
...
Use utils.Errorf instead of utils.Debugf
2013-10-11 08:04:40 -05:00
Solomon Hykes
f15cd71bb8
Merge pull request #2037 from tianon/install-script-revamp
...
Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.)
2013-10-10 23:56:13 -07:00
Tianon Gravi
94bf5b0011
Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.), thus making it an official script and moving it to hack/
2013-10-11 00:53:15 -06:00
Daniel Mizyrycki
d542318d63
testing infrastructure, issue #1766 : Dockerize deployment of docker-ci
2013-10-10 18:29:10 -07:00
Daniel Mizyrycki
6e3068700f
testing infrastructure, issue #1766 : Temporarily install docker with proper apparmor handling
2013-10-10 18:29:10 -07:00
Daniel Mizyrycki
fac190959f
testing, issue #1766 : Upgrade tooling for Docker nightly release
2013-10-10 18:29:10 -07:00
Daniel Mizyrycki
1dcdc3deb7
testing, issue #1766 : Add nightly release to docker-ci
2013-10-10 18:29:10 -07:00
Solomon Hykes
ee256ce6bf
Merge pull request #2038 from tianon/mkimage-debian-fixes
...
Fix contrib/mkimage-debian.sh apt caching prevention
2013-10-10 17:59:17 -07:00
Solomon Hykes
5fe699f813
Merge pull request #2166 from pnasrat/document-approval
...
Clarify LGTM process to contributors.
2013-10-10 17:55:32 -07:00
Solomon Hykes
7561e2570c
Merge pull request #2159 from nathankleyn/fix-references-to-param-names
...
Small fixes to parameter names in docs for ADD command.
2013-10-10 17:53:57 -07:00
Guillaume J. Charmes
640ca68e4f
Merge pull request #2128 from titanous/update-authors
...
Update AUTHORS
2013-10-10 16:40:33 -07:00
Guillaume J. Charmes
f9b9dfc82d
Merge pull request #2164 from pnasrat/add-finished-time
...
* Runtime: Record termination time in state.
2013-10-10 16:29:07 -07:00
Guillaume J. Charmes
c978f0fa5c
Merge pull request #2165 from jrydberg/master
...
- Registry: Use correct auth config when logging in.
2013-10-10 16:28:46 -07:00
Sven Dowideit
d91bf33df3
tell the new developer how they can replace the real docker binary with the one they've been hacking on ( #2142 )
2013-10-11 08:47:32 +10:00
Paul Nasrat
310a174260
Clarify LGTM process to contributors.
2013-10-10 18:32:33 -04:00
Paul Nasrat
2eb404ab14
Record termination time in state.
...
Supercedes pull #1946
2013-10-10 14:47:25 -04:00
Ken Cochrane
60e426938e
Merge pull request #2155 from jdubois/patch-1
...
- Documentation: Corrected error in the package name
2013-10-10 11:19:22 -07:00
Zilin Du
c2912c82aa
change 127.0.0.1 -> 127.0.1.1 & remove ::1 -> hostname mapping
2013-10-10 09:44:48 -07:00
Matt Haggard
9041d6a47b
Minor updates to postgresql_service.rst
...
I've added the steps that were missing/wrong for me when I went through this just now.
2013-10-10 10:23:24 -06:00
Nathan Kleyn
8abd328f53
Small fixes to parameter names in docs for ADD command.
2013-10-10 12:14:18 +01:00
Solomon Hykes
ae780fb5ea
Remove deprecated packaging directory (distro-specific packaging is now managed downstream by their respective package maintainers)
2013-10-10 03:54:10 -07:00
Julien Dubois
152037f011
Corrected error in the package name
2013-10-10 10:10:33 +02:00
Andy Rothfusz
0367032bd1
Merge pull request #2144 from shamrin/patch-5
...
document what `vagrant up` is actually doing
2013-10-09 17:42:37 -07:00
Andy Rothfusz
edca9f7e9c
Merge pull request #2139 from metalivedev/2115-AUFScleanup
...
Fix #2115 Clean AUFS references.
2013-10-09 17:35:05 -07:00
Guillaume J. Charmes
e19cc1e843
Merge pull request #2125 from dotcloud/2099_rm-v_fix
...
- Runtime: fix `docker rm` with volumes
2013-10-09 16:01:51 -07:00
Guillaume J. Charmes
feabce3bcc
Merge pull request #2119 from SvenDowideit/2117-hardcoded-tmp-dir
...
use empty string so TempDir uses the OS's temp dir automatically (Closes...
2013-10-09 16:00:40 -07:00
Michael Crosby
ded74b0bb3
Merge pull request #2133 from dotcloud/improve_tests
...
Make sure to close the network allocators
2013-10-09 15:45:16 -07:00
Guillaume J. Charmes
ffee5faae8
Merge pull request #2145 from dotcloud/remove-panic-test
...
* Runtime: replace panic by log.Fatal in tests
2013-10-09 15:37:08 -07:00
Paul Nasrat
aa3697520a
Fixes issues with mounting subdirectories of /mnt in container.
...
Tested with
mkdir /mnt/data
docker run -v /mnt/data:/mnt/data -t ubuntu:12.10 touch /mnt/data/bar
Expected /mnt/data/bar on host.
2013-10-09 16:40:46 -04:00
Andy Rothfusz
c1bb33ea4d
Merge pull request #2114 from metalivedev/2113-searchbump
...
Fix #2113 improve doc search results
2013-10-09 12:24:33 -07:00
Andy Rothfusz
6545e53803
Clean up javascript comment.
2013-10-09 12:22:14 -07:00
Victor Vieux
d30806590c
Merge pull request #2127 from titanous/close-body
...
Fix some error cases where a HTTP body might not be closed
2013-10-09 06:52:03 -07:00
Victor Vieux
823174de4d
replace panic by log.Fatal in tests
2013-10-09 13:47:49 +00:00
Tianon Gravi
d5f9160441
Merge pull request #1956 from tianon/bash-completion
...
Add proper bash completion for "docker push"
2013-10-09 05:47:55 -07:00
Alexey Shamrin
37df1d92d8
document what vagrant up is actually doing
...
* don't mention outdated PPA that Vagrantfile doesn't use
* point to official Ubuntu installation instructions that Vagrant appears to be following; should be future proof
2013-10-09 15:05:09 +04:00
Jonathan Rudenberg
dabac81824
Update AUTHORS
2013-10-08 23:51:38 -04:00
Guillaume J. Charmes
bb62c281f5
Merge pull request #2130 from tianon/swap-contrib-maintainers
...
Swap contrib MAINTAINERS
2013-10-08 17:57:52 -07:00
Andy Rothfusz
3565bf8d00
Merge pull request #2134 from tianon/contributing
...
Add devenvironment link to CONTRIBUTING.md
2013-10-08 17:36:56 -07:00
Andy Rothfusz
f4c17a202b
Fix #2115 Clean AUFS references. Also fixes some links to client libraries and mongo example.
2013-10-08 17:33:19 -07:00
Tianon Gravi
9a4b0b9823
Add devenvironment link to CONTRIBUTING.md
2013-10-08 16:48:19 -06:00
Guillaume J. Charmes
9107565d06
Make sure to close the network allocators
2013-10-08 15:42:02 -07:00
Zilin Du
7d95d300ab
replace 127.0.0.1 by the assigned IP address in the container's /etc/hosts file.
2013-10-08 14:29:22 -07:00
Tianon Gravi
4fda3314d8
Swap contrib MAINTAINERS
2013-10-08 15:15:58 -06:00
Jonathan Rudenberg
e906485b07
Fix some error cases where a HTTP body might not be closed
...
Refs #2126
2013-10-08 15:35:00 -04:00
Victor Vieux
1daf242c8b
fix rm -v
2013-10-08 16:35:47 +00:00
Johan Rydberg
967010ae8c
Use correct auth config when logging in.
2013-10-08 06:46:29 +02:00
Sven Dowideit
d03022b9ca
use empty string so TempDir uses the OS's temp dir automatically ( Closes #2117 )
2013-10-08 13:24:20 +10:00
Andy Rothfusz
6d67ac2a1b
Insert popularity and boost docs results.
2013-10-07 17:51:07 -07:00
Solomon Hykes
2d425af1b1
Merge pull request #2103 from tianon/clean-out-fixme
...
Clean out a few outdated FIXME items
2013-10-07 15:19:01 -07:00
Andy Rothfusz
ed19693f50
Merge pull request #2106 from mastahyeti/api_1.5_docs_whitespace
...
Cleanup whitespace in API 1.5 docs
2013-10-07 13:23:55 -07:00
Tianon Gravi
ee27444098
Fix contrib/mkimage-debian.sh apt caching prevention
2013-10-07 13:41:10 -06:00
Andy Rothfusz
194c1dbbd8
Merge pull request #2109 from shamrin/patch-4
...
[docs] use angle brackets in MAINTAINER example email
2013-10-07 12:18:44 -07:00
Alexey Shamrin
a9eac7eab4
[docs] use angle brackets in MAINTAINER example email
2013-10-07 20:29:54 +04:00
Ben Toews
7c28683f08
Cleanup whitespace in API 1.5 docs
...
remove whitespace on blank lines
2013-10-06 19:52:18 -06:00
Daniel Mizyrycki
c18e849451
Merge pull request #2061 from dotcloud/1948-test-detach
...
testing, issue #1948 : Increase TestRunDetach timeout
2013-10-06 13:26:44 -07:00
Tianon Gravi
a665517151
Clean out a few outdated FIXME items
2013-10-06 13:55:26 -06:00
Ken Cochrane
0d3c899528
added initial draft of the Docker infrastructure doc
2013-10-04 15:12:40 -04:00
Andy Rothfusz
863eebe7bd
Merge pull request #2084 from makeusabrew/patch-1
...
Fix help text for -v option
2013-10-04 09:29:56 -07:00
Nick Payne
3c5350ba92
Fix help text for -v option
2013-10-04 10:26:57 +01:00
Tianon Gravi
c52c95f97f
Merge pull request #1876 from asbjornenge/master
...
Added Dockerfile.tmLanguage to contrib
2013-10-03 23:52:37 -07:00
Asbjørn Enge
85a5139665
Added Dockerfile.tmLanguage to contrib
2013-10-04 08:45:15 +02:00
Michael Crosby
ad4b09cdb8
Merge pull request #1832 from dotcloud/26-default_r_flag
...
Autorestart containers by default
2013-10-03 15:59:58 -07:00
Victor Vieux
e594c788e4
keep -r, but default true
2013-10-03 22:42:35 +00:00
Victor Vieux
f84dc1e908
add missing error check
2013-10-03 22:33:00 +00:00
Michael Crosby
826aaa0e9b
Merge pull request #1990 from modcloth-labs/more-tests-for-auth-registry-resolution
...
Adding more tests around `auth.ResolveAuthConfig`
2013-10-03 14:45:02 -07:00
Victor Vieux
1328be7c29
Add test
2013-10-03 15:21:14 +00:00
Andy Rothfusz
ff4f32d58f
Fix #2017 Merge branch '2017-api-details'
2013-10-02 18:20:44 -07:00
Andy Rothfusz
462ac1efcf
Merge branch 'hint-api-details' of git://github.com/cdunklau/docker into 2017-api-details
...
Conflicts:
docs/sources/api/docker_remote_api.rst
2013-10-02 18:18:46 -07:00
Solomon Hykes
1332f400f7
Merge pull request #2015 from dsissitka/1927
...
Configured FPM to make /etc/init/docker.conf a config file.
2013-10-02 18:18:16 -07:00
Solomon Hykes
a292c04ddb
Merge pull request #2069 from philips/add-xz-to-runtime-dependencies
...
fix(hack/PACKAGERS): add xz utils as a runtime dep
2013-10-02 17:37:56 -07:00
Andy Rothfusz
37c4513cf9
Merge pull request #2060 from mastahyeti/patch-1
...
Add `apt-get install curl` to Ubuntu docs
2013-10-02 16:46:00 -07:00
Andy Rothfusz
b584c21ca4
Merge pull request #2063 from dhrp/doc-template-fix
...
Doc template fix
2013-10-02 16:31:47 -07:00
Andy Rothfusz
c92507341d
Merge pull request #2073 from tianon/gentoo-no-more-1422-hack
...
Remove Gentoo install notes about #1422 workaround
2013-10-02 16:24:11 -07:00
Andy Rothfusz
9f0feaa2e1
Merge pull request #2065 from kyleconroy/fix_ping_endpoint
...
Fix Ping endpoint documentation
2013-10-02 16:22:49 -07:00
Ben Toews
0f830aa431
Update ubuntu docs to use wget instead of curl
...
Ubuntu doesn't come with curl.
wget instead of curl
nicer wget syntax
remove /dev/null
2013-10-02 16:27:34 -06:00
Tianon Gravi
5f05cb4817
Remove Gentoo install notes about #1422 workaround
2013-10-02 16:06:22 -06:00
Michael Crosby
4778039dd2
Merge pull request #2066 from tianon/vendor-bump-kr-pty
...
Bump vendor kr/pty to commit 3b1f6487b (syscall.O_NOCTTY)
2013-10-02 14:44:07 -07:00
Guillaume J. Charmes
b180770b1d
Merge pull request #2014 from alexlarsson/allow_set_file_cap
...
* Runtime: lxc: Allow set_file_cap capability in container
2013-10-02 14:38:50 -07:00
Brandon Philips
4f5c2cbccc
fix(hack/PACKAGERS): add xz utils as a runtime dep
2013-10-02 12:06:19 -07:00
Andy Rothfusz
c3acd9bece
Merge pull request #2047 from Thermionix/patch-1
...
Update archlinux.rst
2013-10-02 10:57:48 -07:00
Tianon Gravi
cb21a40490
Bump vendor kr/pty to commit 3b1f6487b (syscall.O_NOCTTY)
2013-10-01 19:48:50 -06:00
Thatcher Peskens
5025b4d094
Cleanup
2013-10-01 16:32:56 -07:00
Thatcher Peskens
509e25cf04
Add/modified the canonical link to work with all /index/ links. Added style for "danger'
2013-10-01 16:26:14 -07:00
Daniel Mizyrycki
135c1fce90
testing, issue #1948 : Increase TestAttachDetach and TestRunDetach timeout
2013-10-01 15:59:52 -07:00
Kyle Conroy
d517fd3d77
Fix Ping endpoint documentation
2013-10-01 15:49:32 -07:00
Michael Crosby
b4e1b8d2e2
Merge pull request #2058 from marcusramberg/patch-1
...
Fix ironic typo in changelog
2013-10-01 09:58:32 -07:00
Marcus Ramberg
45bd52d472
Fix ironic typo in changelog
2013-10-01 18:16:10 +02:00
Andy Rothfusz
534a991cff
fix logo path
2013-09-30 16:54:04 -07:00
Solomon Hykes
23015fa14d
Merge pull request #1994 from metalivedev/1993-legalcontext
...
Fix #1993 : add explanation for export restrictions
2013-09-30 16:33:46 -07:00
Thermionix
fb46d911c2
Update archlinux.rst
2013-10-01 09:33:12 +10:00
Tianon Gravi
85b776995c
Merge pull request #2051 from tianon/hack-dockerfile-refactor
...
Add cleanup/refactor portion of #2010 for hack and Dockerfile updates
2013-09-30 16:29:32 -07:00
Thatcher
fa44555fb4
Merge pull request #2035 from dhrp/style-revamp
...
Changes to a new style for the docs. Includes version switcher.
2013-09-30 15:51:43 -07:00
Andy Rothfusz
3e7c50e8a1
Merge pull request #2033 from metalivedev/1969-cherrypick-fixcommitformat
...
Fix #1969 formatting, add information about multiline json
2013-09-30 14:55:11 -07:00
Tianon Gravi
ccefe47897
Add cleanup/refactor portion of #2010 for hack and Dockerfile updates
2013-09-30 13:57:30 -06:00
Tianon Gravi
ff85031980
Merge pull request #2039 from tianon/mkimage-centos
...
Add contrib/mkimage-centos.sh back (from #1621 ), and associated documentation link
2013-09-30 10:51:06 -07:00
Guillaume J. Charmes
017ecefd66
Merge pull request #2046 from dotcloud/2030-dockercfg_panic_err-fix
...
- Runtime: fix panic with wrong dockercfg file
2013-09-30 10:02:12 -07:00
Thermionix
88f710f0e7
Update archlinux.rst
...
The /etc/sysctl.conf file is deprecated
https://www.archlinux.org/news/deprecation-of-etcsysctlconf/
2013-09-30 22:44:09 +10:00
Victor Vieux
6496059154
fix panic with wrong dockercfg file
2013-09-30 11:07:32 +00:00
Victor Vieux
bcce3cbdd1
Merge pull request #1995 from dotcloud/fix_attach_2
...
Fix the attach behavior with -i
2013-09-30 03:29:19 -07:00
Victor Vieux
bbf644ed62
Merge pull request #2025 from dotcloud/2020_add_dockercfg_doc
...
add .dockercfg doc
2013-09-30 03:21:46 -07:00
Tianon Gravi
d89ce09a76
Add contrib/mkimage-centos.sh back (from #1621 ), and associated documentation link
2013-09-28 07:54:34 -06:00
Thatcher Peskens
e3e041b6bf
Changes to a new style for the docs. Includes version switcher.
...
* added link to edit on GitHub
* Changed image source on homepage
* Made some changes to the structure, added the ability to have l3 navigation. Added warning, note and other styles.
* Fixed an image link, removed the .. :content: links because they were quicky and didn't look good, added pagelinks to current page of other versions.
* Moved the remote client api's to their own doc
2013-09-27 19:54:52 -07:00
Andy Rothfusz
0a35b1fb36
Added more context.
2013-09-27 19:07:12 -07:00
Andy Rothfusz
3894add8a9
Merge pull request #2034 from metalivedev/1969-cherrypick-fixcommitformat
...
Fix #1969 formatting, add information about multiline json
2013-09-27 18:19:55 -07:00
Andy Rothfusz
74d54b9b2e
Fix #1969 formatting, add information about multiline json
2013-09-27 18:16:00 -07:00
Michael Crosby
31fd11860b
Merge pull request #2032 from dotcloud/move-rm-to-client
...
Move run -rm to the cli only
2013-09-27 17:19:01 -07:00
Daniel Mizyrycki
b081a740b3
Merge pull request #2006 from jo-m/master
...
Enable SSH Agent forwarding in Vagrant VM
2013-09-27 12:07:44 -07:00
Michael Crosby
db869ecce5
Merge pull request #1589 from unclejack/479-add_rm_support_to_docker_run
...
Add -rm to docker run for removing a container on exit
2013-09-27 11:45:32 -07:00
Guillaume J. Charmes
537149829a
Fix the attach behavior with -i
2013-09-27 11:10:55 -07:00
Andy Rothfusz
ba10e28927
Merge pull request #2009 from kyleconroy/master
...
Improve registry and index REST API documentation
2013-09-27 10:56:21 -07:00
Victor Vieux
f4855a7cf0
add .dockercfg doc
2013-09-27 18:19:17 +02:00
unclejack
22e7e107ad
automatically remove container via -rm
...
add AutoRemove to HostConfig
add -rm flag to docker run
add TestRunAutoRemove to test -rm
docs: add -rm to commandline/command/run
add hostConfig to container monitor
make monitor destroy the container via -rm
This adds support for automatically removing a container after it
exits. The removal of the container is handled on the server side.
2013-09-27 17:43:12 +03:00
Colin Dunklau
edd90d46c7
Clearly point at detailed docs
2013-09-27 08:32:55 -05:00
Guillaume J. Charmes
f435970695
Merge pull request #1842 from dotcloud/split_stdout_stderr
...
* Runtime: Split stdout stderr
2013-09-26 18:05:24 -07:00
Guillaume J. Charmes
cb18a6e1b9
Update docs + fix endian issue
2013-09-26 17:36:21 -07:00
Kyle Conroy
ce05083d4b
Fix copypasta errors
2013-09-26 14:57:02 -07:00
Michael Crosby
723de87681
Move run -rm to the cli only
2013-09-26 14:52:37 -07:00
David Sissitka
c22e377a6d
Used tabs for alignment when I should've used spaces. Fixed.
2013-09-26 13:56:59 -07:00
Colin Dunklau
3f0d0075f8
Hint for Remote API doc details in header links
2013-09-26 15:30:26 -05:00
David Sissitka
f8c9f11f06
Configured FPM to make /etc/init/docker.conf a config file.
2013-09-26 12:52:43 -07:00
Alexander Larsson
80319add55
lxc: Allow set_file_cap capability in container
...
This means you're able to set the bits for capabilities on files
inside the container. This is needed for e.g. many fedora packages
as they use finegrained capabilities rather than setuid binaries.
This is safe as we're not adding capabilities really, since the
container is already allowed to create setuid binaries. Setuid
binaries are strictly more powerful that any capabilities (as root implies
all capabilities).
This doesn't mean the container can *gain* capabilities that it
doesn't already have though. The actual set of caps are strictly
decreasing.
2013-09-26 21:41:45 +02:00
Kyle Conroy
818ec10da3
Fix Authorization headers
2013-09-26 01:19:49 -07:00
Kyle Conroy
34e28ccc88
Remove smart quotes. Add the X-Docker-Token header
...
Also fix the /layer endpoint, which had incorrect information
2013-09-26 01:15:36 -07:00
Kyle Conroy
792403f2dc
Add the X-Docker-Registry header and /v1/_ping endpoint
2013-09-26 00:16:15 -07:00
Jonathan Mueller
8f5c33dc1f
Enable SSH Agent forwarding in Vagrant VM, so one is able to clone repos from private git repos etc.
2013-09-25 22:57:04 +02:00
Andy Rothfusz
06c1f000e8
Merge pull request #2000 from tianon/deprecated-docker-latest-tgz
...
Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3
2013-09-25 13:47:48 -07:00
Andy Rothfusz
00b3acb8ab
Merge pull request #2001 from tianon/gentoo-tree
...
Update Gentoo installation documentation now that we're in the portage tree proper
2013-09-25 13:45:51 -07:00
Victor Vieux
420ba9c85a
Merge pull request #2004 from kencochrane/master
...
fix the error message so it is the same as the regex issue #1999
2013-09-25 09:46:15 -07:00
Ken Cochrane
0f829bf5cf
fix the error message so it is the same as the regex issue #1999
2013-09-25 11:33:09 -04:00
Victor Vieux
1363de0934
Merge pull request #1989 from alexlarsson/setsid
...
Container: Always create a new session for the container
2013-09-25 07:40:51 -07:00
Tianon Gravi
d06116d2e8
Update Gentoo installation documentation now that we're in the portage tree proper
...
We're officially a first-class Gentoo citizen now, which is very exciting. Many thanks to @gregkh for helping us get here.
I started just adapting sections of language in this document, and realized several bits needed to just be rewritten entirely to be more clear.
2013-09-24 23:26:36 -06:00
Tianon Gravi
595210a370
Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3
2013-09-24 21:25:45 -06:00
Michael Crosby
c9b916b293
Update VERSION to 0.6.3-dev
2013-09-24 19:54:13 -07:00
Michael Crosby
1e6370fd4b
Merge branch 'release'
2013-09-24 19:54:06 -07:00
Solomon Hykes
a59a66528b
Merge pull request #1968 from tianon/hack-build-instructions
...
* Hack: Add several of the small make.sh fixes from #1920 , and make the output more consistent and contributor-friendly
2013-09-24 17:38:39 -07:00
Andy Rothfusz
b048e9dffc
Merge pull request #1983 from blissdev/patch-1
...
various command fixes in postgres example
2013-09-24 14:03:48 -07:00
blissdev
c000e6a7fc
revert removal of slash betwixt user/repo
2013-09-24 15:51:21 -05:00
Tianon Gravi
aa3de0b849
Add several of the small make.sh fixes from #1920 , and make the output more consistent and contributor-friendly, since release instructions already exist in release.sh
2013-09-24 14:36:20 -06:00
Michael Crosby
648d759517
Merge pull request #1972 from dotcloud/bump_0.6.3
...
Bump to version v0.6.3
2013-09-24 11:20:27 -07:00
Andy Rothfusz
5c190fa926
Fix #1993 : add explanation for export restrictions
2013-09-24 11:04:08 -07:00
Solomon Hykes
03fe5632d0
Merge pull request #1970 from dotcloud/cleanup-hack
...
Cleanup and reorganize docs and tooling for contributors and maintainers
2013-09-24 10:38:21 -07:00
Dan Buch
edde4f55e0
Adding more tests around auth.ResolveAuthConfig
...
mostly because I've been failing at getting docker `0.6.2` working with
docker-registry `0.6.0` with regard to login and push. I suspect there
may be some mismatched expectations between `auth.ResolveAuthConfig` and
`registry.ResolveRepositoryName`, but I haven't done enough research or
experimentation to think it's anything more than user error. More tests
are good, no?
2013-09-24 12:36:50 -04:00
Victor Vieux
7447867edd
Merge pull request #1982 from modcloth-labs/spelling-fix-for-the-word-protocol
...
Minor spelling correction of protocoll -> protocol
2013-09-24 07:40:21 -07:00
Alexander Larsson
c1c74cb0b1
Container: Always create a new session for the container
...
We never want the container to be in the same process group as the
daemon, as then the container will receive signals sent to the
process group of the container.
2013-09-24 14:57:29 +02:00
blissdev
17b7194d91
use su instead of sudo
2013-09-24 02:25:16 -05:00
Jordan Arentsen
15ad2915b9
various command fixes
...
Indicating the repository and tag should be separated by a space and not a '/'. Also fixed a quote typo.
2013-09-24 02:12:24 -05:00
Tianon Gravi
d6887b769c
Merge pull request #1883 from tianon/mkimage-debian
...
Several small tweaks/fixes for contrib/mkimage-debian.sh
2013-09-23 22:44:16 -07:00
Tianon Gravi
10362870db
Add a few tweaks and fixes to contrib/mkimage-debian.sh
...
Add simple workaround for #1755 to contrib/mkimage-debian.sh
Add simple echo patch in contrib/mkimage-debian.sh to prevent init scripts from running during apt-get installs/updates
Add `apt-get clean` to mkimage-debian.sh for slightly smaller images
Add more small apt tweaks to mkimage-debian.sh thanks to @jpetazzo and @spahl
2013-09-23 22:39:57 -06:00
Dan Buch
a7db125480
Minor spelling correction of protocoll -> protocol
2013-09-23 23:14:42 -04:00
Solomon Hykes
f6c64827c8
Hack: correct typo in release checklist
2013-09-23 18:43:08 -07:00
Andy Rothfusz
30b759ffa9
Merge pull request #1973 from metalivedev/1969-formatfix
...
Fix #1969 formatting, add information about multiline json
2013-09-23 13:17:55 -07:00
Michael Crosby
35ca35ffb6
Merge pull request #1975 from tianon/patch-1
...
Add @tianon to hack/MAINTAINERS
2013-09-23 12:21:36 -07:00
Tianon Gravi
a4067b1b44
Add @tianon to hack/MAINTAINERS
2013-09-23 12:39:14 -06:00
Michael Crosby
b0a49a30c7
Bump to version v0.6.3
2013-09-23 11:29:11 -07:00
Andy Rothfusz
6097644e4b
Fix #1969 formatting, add information about multiline json
2013-09-23 11:29:08 -07:00
Solomon Hykes
fa3837abf1
Hack: update README
2013-09-23 11:26:05 -07:00
Solomon Hykes
baff72bc82
Update maintainer's manual: every change should be done in a pull request.
2013-09-23 11:26:05 -07:00
Solomon Hykes
99377de7d2
Hack: update release checklist and reference it in REAMDE
2013-09-23 11:26:04 -07:00
Solomon Hykes
0ef5bcb17d
hack/MAINTAINERS.md: a maintainer's manual.
2013-09-23 11:26:04 -07:00
Solomon Hykes
fd1c43f0e0
Hack: remove deprecated files
2013-09-23 11:26:03 -07:00
Michael Crosby
dc06496dc8
Merge pull request #1967 from dotcloud/vendor-update-tar
...
Update tar dependency to newest version
2013-09-23 10:44:42 -07:00
Michael Crosby
cfbe76e559
Update tar dependency to newest version
2013-09-23 09:59:04 -07:00
Victor Vieux
2fafe1efce
Merge pull request #1948 from dotcloud/fix_attach
...
Fix attach issue
2013-09-23 02:15:51 -07:00
Roger Peppe
181b9baddd
use less reflection in command line method invocation
2013-09-23 01:06:31 +01:00
Daniel Mizyrycki
8240e37b87
Merge pull request #1820 from dotcloud/1647-api-group
...
packaging, issue #1647 : Add docker groupname on the package release
2013-09-22 14:21:26 -07:00
Michael Crosby
23cf3c7a33
Merge pull request #1934 from dotcloud/host-permissions
...
Only copy files and change permissions with non bindmount
2013-09-22 09:40:52 -07:00
Tianon Gravi
e37bb50628
Add proper bash completion for "docker push"
2013-09-20 21:22:51 -06:00
Andy Rothfusz
2819cfb3f3
Merge pull request #1954 from metalivedev/1901-cherrypick-builddocker
...
1901 1929 1932 cherrypick to release and docs
2013-09-20 18:13:11 -07:00
Andy Rothfusz
a479f7659d
Merge pull request #1929 from tianon/gentoo-docs
...
Simplified Gentoo install instructions now that our overlay is in the official layman repositories.xml list
2013-09-20 18:06:27 -07:00
Andy Rothfusz
b02a591f57
Merge pull request #1932 from jcassee/patch-1
...
Download Ubuntu 13.04 repository key over HTTPS
2013-09-20 18:02:40 -07:00
Andy Rothfusz
c654075654
Merge pull request #1901 from jalateras/update-contributring-docs
...
Fix #1664
2013-09-20 17:55:15 -07:00
Andy Rothfusz
5a3dcbb3f6
Merge pull request #1952 from metalivedev/1909-cherrypick
...
Fix minor typo
2013-09-20 16:56:07 -07:00
Nick Stinemates
cce6f00c0c
Fix minor typo
...
Changed to
2013-09-20 16:31:57 -07:00
Michael Crosby
4db64111bd
Merge pull request #1949 from dotcloud/1895-registry-regex
...
Modify repository name regex to match index
2013-09-20 14:03:50 -07:00
Guillaume J. Charmes
e97364ecd7
Improve detach unit tests
2013-09-20 13:36:19 -07:00
Guillaume J. Charmes
2bd089dadb
Fix attach issue
2013-09-20 11:31:00 -07:00
Victor Vieux
5bd0437eed
abord build if mergeConfig returns an error and fix duplicate error message
2013-09-20 12:46:24 +00:00
Victor Vieux
a81393787f
Merge pull request #1889 from dsissitka/fixhttpimport
...
Fixed HTTP imports.
2013-09-20 03:06:04 -07:00
Michael Crosby
b45e280ee8
Only copy files and change permissions with non bindmount
2013-09-19 20:35:05 -07:00
Michael Crosby
5867f9e761
Modify repository name regex to match index
2013-09-19 20:25:00 -07:00
Andy Rothfusz
6132f378e0
Merge pull request #1901 from jalateras/update-contributring-docs
...
Fix #1664
2013-09-19 18:00:23 -07:00
Jim Alateras
3cf4b2c7c1
Updated the section about extracting the binary
2013-09-20 10:00:30 +10:00
Jim Alateras
d70cbbf1fc
Updated the section about extracting the binary
2013-09-20 09:58:12 +10:00
Jim Alateras
b7e7104e92
Updated the section about extracting the binary
2013-09-20 09:49:20 +10:00
Andy Rothfusz
7e60a6b1ea
Merge pull request #1932 from jcassee/patch-1
...
Download Ubuntu 13.04 repository key over HTTPS
2013-09-19 13:41:51 -07:00
Andy Rothfusz
45979a7ef7
Merge pull request #1929 from tianon/gentoo-docs
...
Simplified Gentoo install instructions now that our overlay is in the official layman repositories.xml list
2013-09-19 13:41:29 -07:00
Joost Cassee
5c9213258a
Download Ubuntu 13.04 repository key over HTTPS
2013-09-19 21:14:39 +02:00
Guillaume J. Charmes
68074fce68
Merge pull request #1886 from dotcloud/multi-volumes-from
...
* Runtime: Allow multiple volumes-from
2013-09-19 12:01:12 -07:00
Andy Rothfusz
c42056b969
Merge pull request #1914 from tianon/base-repository-is-deprecated
...
Removing the deprecated `base` repository from more docs
2013-09-19 11:04:11 -07:00
Tianon Gravi
341addeccd
Simplify install instructions now that our overlay is in the official repositories.xml list, and add note about hacky #1422 workaround
2013-09-19 11:49:43 -06:00
Tianon Gravi
47904290a5
Remove many remaining docs references to the deprecated base repository and several other minor doc cleanups
2013-09-19 10:27:08 -06:00
Solomon Hykes
a18c26392f
Docs: remove reference to deprecated 'base' image
2013-09-19 10:25:30 -06:00
Andy Rothfusz
77ad95d372
Merge pull request #1913 from metalivedev/1654-registryexamples
...
Fix #1654 Improve the introduction to repositories flow.
2013-09-18 17:53:13 -07:00
Guillaume J. Charmes
fee61895f2
Update VERSION
2013-09-18 12:06:29 -07:00
Guillaume J. Charmes
f6a78f89ba
Merge remote-tracking branch 'origin/release'
2013-09-18 12:06:10 -07:00
Daniel Mizyrycki
081543c49a
Merge pull request #1908 from dotcloud/bump_v0.6.2
...
Bump v0.6.2
2013-09-18 11:21:51 -07:00
Jim Alateras
4054f31471
Updated the dev environment document
2013-09-18 14:18:05 +10:00
Jim Alateras
76a07371c5
Further updates to the dev environment document
2013-09-18 14:18:05 +10:00
Jim Alateras
5d364fda3c
Further updates to the dev environment document
2013-09-18 14:18:05 +10:00
Jim Alateras
28311f61be
Update the devenvironment document
2013-09-18 14:18:05 +10:00
Jim Alateras
70b731735c
Updated the dev environment document
2013-09-18 12:41:12 +10:00
Andy Rothfusz
67453d6b48
Fix #1654 Improve the introduction to repositories flow.
2013-09-17 19:01:11 -07:00
Andy Rothfusz
c14450ae5c
Merge pull request #1909 from dotcloud/fix-typo-docs
...
Fix minor typo
2013-09-17 18:25:59 -07:00
Nick Stinemates
593566438d
Fix minor typo
...
Changed to
2013-09-17 18:49:47 +00:00
Guillaume J. Charmes
ca5913ff3e
Bump version to 0.6.2
2013-09-17 11:11:39 -07:00
Solomon Hykes
85f3ec88a6
Merge pull request #1893 from dotcloud/add-tianon-maintainer
...
Add Tianon to contrib/ maintainers
2013-09-17 11:00:48 -07:00
Michael Crosby
b2707dccc1
Merge pull request #1898 from dotcloud/smallfix_registry
...
Prevent panic upon error pulling registry
2013-09-17 10:27:19 -07:00
Michael Crosby
b826351337
Merge pull request #1897 from dotcloud/update_doc
...
Update the commit documentation with better example
2013-09-17 10:21:45 -07:00
Jim Alateras
5797e7e34e
Further updates to the dev environment document
2013-09-17 21:05:55 +10:00
Jim Alateras
089a60c2cf
Further updates to the dev environment document
2013-09-17 21:02:57 +10:00
Jim Alateras
a99a8386fd
Update the devenvironment document
2013-09-17 19:29:13 +10:00
Daniel Mizyrycki
dfd0deefbb
packaging, issue #1647 : Add docker groupname on the package release
2013-09-16 23:00:54 -07:00
Andy Rothfusz
2183644578
Information about data persistence
2013-09-16 16:44:54 -07:00
Guillaume J. Charmes
e836b0064b
Prevent panic upon error pulling registry
2013-09-16 16:18:25 -07:00
Michael Crosby
986906cd7b
Merge pull request #1892 from dotcloud/fix-maintainers-files
...
Add MAINTAINERS
2013-09-16 14:41:36 -07:00
Michael Crosby
8d48119340
Merge pull request #1894 from dotcloud/1891-remove_useless_warnings
...
Don't show network related warnings when networking is disabled
2013-09-16 13:48:17 -07:00
Michael Crosby
cdce873ea0
Merge pull request #1896 from dotcloud/1885-missing-hostfile
...
Only mount hostname files if config exists
2013-09-16 11:29:52 -07:00
Michael Crosby
5a01f7485c
Only mount hostname files if config exists
2013-09-16 17:53:24 +00:00
Michael Crosby
45b50730e3
Merge pull request #1849 from dotcloud/better_handle_hostConfig
...
Improved hostConfig reload
2013-09-16 10:48:53 -07:00
Victor Vieux
40eaa82fc6
Don't show network related warnings when networking is disabled
2013-09-16 15:58:44 +00:00
Nick Stinemates
9946981c61
Add Tianon to contrib/ maintainers
...
He's awesome and always contributing to this area.
2013-09-16 04:50:53 +00:00
Nick Stinemates
d6cf41cbe6
Add MAINTAINERS
...
Making sure we're consistent across our project.
2013-09-16 04:45:01 +00:00
David Sissitka
c6b4076125
Fixed HTTP imports.
2013-09-15 18:40:29 -07:00
Michael Crosby
b79bd4e864
Allow multiple volumes-from
2013-09-14 20:09:15 +00:00
Solomon Hykes
2f24b9e05c
Merge pull request #1884 from dotcloud/update-vendored-deps
...
* Hack: Update vendored dependendies
2013-09-13 20:55:06 -07:00
Solomon Hykes
a63cfe7153
Merge pull request #1847 from dotcloud/test-docker-in-docker
...
* Hack: make the build tool more dev-friendly and packager-friendly
2013-09-13 20:19:37 -07:00
Andy Rothfusz
cd289cc10c
clarify "use"
2013-09-13 17:22:53 -07:00
Andy Rothfusz
894eff64b4
Merge pull request #1880 from getvictor/patch-api
...
Fixed LxcConf example in Remote API v1.4 and v1.5
2013-09-13 13:28:26 -07:00
Andy Rothfusz
71e15d1c3c
Merge pull request #1881 from dotcloud/ubuntu-install-instructions
...
Change apt source to http
2013-09-13 13:27:58 -07:00
Michael Crosby
74daeccec5
Change apt source to http
2013-09-13 19:21:43 +00:00
getvictor
102522bcd1
Fixing LxcConf example in docker_remote_api_v1.4.rst
2013-09-13 14:10:05 -05:00
getvictor
b3cbf424ec
Fixed LxcConf example for docker_remote_api_v1.5.rst
...
Based on how command line docker sends the request.
2013-09-13 14:09:05 -05:00
Michael Crosby
33972627b7
Merge pull request #1848 from dotcloud/build-clean
...
Add rm option to docker build to remove intermediate containers
2013-09-13 10:58:59 -07:00
Michael Crosby
4234fc699f
Merge pull request #1716 from eliasp/fixme
...
Added FIXME for iproute → netlink as advised in issue #925 .
2013-09-13 10:58:28 -07:00
Solomon Hykes
4a707a8800
Add go.net to vendored dependencies
2013-09-13 10:24:38 -07:00
Michael Crosby
b986fd00e0
Merge pull request #1846 from dotcloud/fix_return_error
...
Fix wrong return error
2013-09-13 09:44:38 -07:00
Daniel Mizyrycki
f368fd9f9f
Merge pull request #1862 from dotcloud/dockerfile-multiline-space
...
Replace multiline with empty string not space
2013-09-13 08:52:57 -07:00
Solomon Hykes
6c1c404501
Updated vendored dependencies
2013-09-12 20:42:26 -07:00
Guillaume J. Charmes
796d7a49f0
Update the commit documentation with better example
2013-09-12 13:26:31 -07:00
Michael Crosby
ffc850244f
Merge pull request #1741 from griff/1737_fix_volume_uid_gid
...
Transfer uid and gid from image to volume
2013-09-12 10:38:37 -07:00
Andy Rothfusz
83623675ce
Merge pull request #1593 from kyleconroy/master
...
Enable mobile view for website.
2013-09-12 10:30:16 -07:00
Andy Rothfusz
46f644c074
Merge pull request #1865 from lgp171188/patch-1
...
Fixed a minor typo
2013-09-12 10:11:18 -07:00
Andy Rothfusz
1bc2ab05ec
Merge pull request #1859 from Bachmann1234/patch-1
...
Fix typo in hello_world.rst
2013-09-12 10:10:49 -07:00
Michael Crosby
1d935c6307
Update docker.bash script for build -rm
2013-09-12 16:57:10 +00:00
Michael Crosby
b7a3fc687e
Add rm option to docker build to remove intermediate containers
2013-09-12 16:55:36 +00:00
Guruprasad
718b1f9fe7
Fixed a minor typo
...
Changed "You need to enable namespaces and cgroups, to the extend of what is needed to run LXC containers" to "You need to enable namespaces and cgroups, to the extent of what is needed to run LXC containers"
2013-09-12 13:25:05 +05:30
Solomon Hykes
45cedefadb
hack/vendor.sh: overwrite existing dependencies and remove .git so they can be checked in
2013-09-11 18:38:09 -07:00
Michael Crosby
1e723bc95a
Replace multiline with empty string not space
2013-09-11 23:43:55 +00:00
Guillaume J. Charmes
082d142024
Add documentation
2013-09-11 15:41:44 -07:00
Kyle Conroy
9dd98df1a3
Merge branch 'master' of https://github.com/dotcloud/docker
2013-09-11 15:38:52 -07:00
Guillaume J. Charmes
e854b7b2e6
Make StdCopy works with huge amount of data
2013-09-11 14:49:33 -07:00
Guillaume J. Charmes
289350e633
Add stderr unit test
2013-09-11 14:48:22 -07:00
Guillaume J. Charmes
8ae5348a51
Split stdout stderr for non-tty commands
2013-09-11 14:48:22 -07:00
Andy Rothfusz
557e3ec88e
Merge pull request #1851 from metalivedev/1601-ec2install
...
Fix #1601 and #1845
2013-09-11 14:41:43 -07:00
Matt Bachmann
dfe45e1ad5
Update hello_world.rst
...
Small typo
2013-09-11 15:35:05 -04:00
Victor Vieux
d5480fb78d
Merge pull request #1857 from shin-/master
...
Fixed push bug
2013-09-11 10:52:05 -07:00
shin-
c6dc90ccb9
Fixed push bug
2013-09-11 19:39:33 +02:00
Michael Crosby
02037a9b53
Merge pull request #1726 from dsissitka/1615-2
...
Updated "POST /containers/create" to return the right Content-Type. Fixes #1615 .
2013-09-11 09:09:48 -07:00
David Sissitka
71d46eaf02
Fixed a bug I created when rebasing.
2013-09-11 01:39:55 -07:00
David Sissitka
f4ba0d4267
Replaced leading spaces with tabs. Again.
2013-09-11 01:28:20 -07:00
David Sissitka
d48ea32186
Updated postContainersCreate to use writeJSON.
2013-09-11 01:26:26 -07:00
David Sissitka
33e4d73629
Replaced leading spaces with tabs.
2013-09-11 01:07:05 -07:00
David Sissitka
07324a37eb
Rebased.
2013-09-11 01:03:17 -07:00
David Sissitka
dd49cc45c8
Added a status code argument to writeJSON.
2013-09-11 00:23:53 -07:00
Andy Rothfusz
21be3b76e9
Fix #1601 with vagrantless installation instructions.
2013-09-10 18:54:13 -07:00
Brian Olsen
9cfbaecfe5
Transfer uid and gid to volume. Fixes #1737 .
2013-09-11 03:17:42 +02:00
Solomon Hykes
ebee8f28ac
hack/make.sh print a warning but don't exit if called outside a correct build environment.
2013-09-10 18:08:02 -07:00
Solomon Hykes
03e36caeb1
Fix typo and add dependency details in hack/PACKAGERS.md
2013-09-10 18:02:33 -07:00
Victor Vieux
f482432a76
improved hostConfig reload
2013-09-10 22:13:15 +00:00
Andy Rothfusz
c75926be4f
Fix #1845 lxc typo in images
2013-09-10 14:54:35 -07:00
Michael Crosby
bd0e4fde9a
Merge pull request #1838 from jmcvetta/multiline_dockerfile
...
Implementation of multiline syntax for Dockerfile
2013-09-10 14:22:34 -07:00
Andy Rothfusz
de75241b62
Merge pull request #1835 from metalivedev/1821-exampleslanding
...
fix #1821 landing page for examples
2013-09-10 14:14:00 -07:00
Solomon Hykes
228b7af516
Remove fixed FIXMEs
2013-09-10 11:33:37 -07:00
Solomon Hykes
d14058bc29
Update usage comments in hack/make.sh
2013-09-10 11:33:26 -07:00
Solomon Hykes
5b361f31f7
Packager's manual: official build vs distro build
2013-09-10 11:30:14 -07:00
Kyle Conroy
c24c5c3b60
Merge branch 'master' of https://github.com/dotcloud/docker
2013-09-10 10:57:33 -07:00
Victor Vieux
44d0f941f2
fix wrong return error
2013-09-10 17:16:59 +00:00
Victor Vieux
b7826f5666
add Brian Olsen to AUTHORS
2013-09-10 16:55:27 +00:00
Victor Vieux
27ca0c225a
Merge branch '1582_fix_volume_content' of https://github.com/griff/docker into griff-1582_fix_volume_content
2013-09-10 16:52:46 +00:00
Michael Crosby
ad152efbed
Merge pull request #1759 from bdon/graph-map
...
Minor refactor of Graph; replace uses of Graph.All (slice) with Graph.Map (map)
2013-09-10 08:49:11 -07:00
Solomon Hykes
14bbbcd571
PACKAGERS.md: a guide to packaging Docker for your favorite distro
2013-09-09 23:39:55 -07:00
Solomon Hykes
3d39336a46
Break down hack/make.sh into small scripts, one per 'bundle': test, binary, ubuntu etc.
2013-09-09 18:45:40 -07:00
Jason McVetta
6a4afb7f8e
stricter regexp for Dockerfile line continuations
2013-09-09 18:23:57 -07:00
Jason McVetta
c01f6df43e
Test dockerfile with line containing literal "\n"
2013-09-09 18:23:17 -07:00
Michael Crosby
e89396809f
Merge pull request #1735 from dotcloud/1301-support-domainname
...
Add domain name support
2013-09-09 17:21:11 -07:00
Jason McVetta
4f3b8033f2
cruft removal
2013-09-09 17:17:09 -07:00
Jason McVetta
ebb934c1b0
line continuation regex
2013-09-09 17:02:45 -07:00
Victor Vieux
2801624462
Merge pull request #1796 from shin-/api_1_5
...
*Remote API: Bumped API version to 1.5
*Registry: Implement login with private registry
*Remote API: Improve port mapping information
2013-09-09 16:58:54 -07:00
Jason McVetta
6921ca4813
read Dockerfile into memory before parsing, to facilitate regexp preprocessing
2013-09-09 16:42:04 -07:00
Solomon Hykes
59856a20bf
Add the output of the tests to each release
2013-09-09 16:30:24 -07:00
Solomon Hykes
b187cc40cd
Integrate unit tests into hack/make.sh
2013-09-09 16:20:30 -07:00
Victor Vieux
58281b4f18
Merge pull request #1793 from reds/master
...
From FIXME: local path for ADD
2013-09-09 16:14:59 -07:00
Jason McVetta
672f1e0683
failing test case for multiline command in dockerfile
2013-09-09 15:21:04 -07:00
Victor Vieux
dd806b4ecd
add Martin Redmond to AUTHORS
2013-09-09 22:19:28 +00:00
Victor Vieux
843f9091f2
Merge branch 'filter' of https://github.com/reds/docker into reds-filter
2013-09-09 22:16:16 +00:00
Victor Vieux
53da0507e4
Merge pull request #1837 from dotcloud/fix-tests-1812
...
only os.Exits on error
2013-09-09 15:12:32 -07:00
Victor Vieux
bd847f66c6
rebase master
2013-09-09 22:11:53 +00:00
Solomon Hykes
e503f6a878
Merge pull request #1825 from dotcloud/merge-builder-runtime
...
Refactor to merge builder.go into runtime.go
2013-09-09 15:11:41 -07:00
Jason McVetta
6678a26d1c
gofmt
2013-09-09 15:11:30 -07:00
Solomon Hykes
e37dcd726f
Hack: use vendored dependencies in-place, for less moving parts when developing
2013-09-09 15:05:25 -07:00
Andy Rothfusz
8ddfb4d6aa
Merge pull request #1828 from mmikulicic/patch-1
...
Please add go-dockerclient to docker API clients doc
2013-09-09 14:51:28 -07:00
Andy Rothfusz
28f2fe9167
Merge pull request #1836 from srid/patch-2
...
remove docker-ruby from docs
2013-09-09 14:50:36 -07:00
Sridhar Ratnakumar
3c90e96b6d
remove docker-ruby from docs
...
we don't maintain it anymore as we now recommend proper HTTP api based clients instead.
2013-09-09 14:42:45 -07:00
Victor Vieux
46a1cd69a9
only os.Exits on error
2013-09-09 21:26:35 +00:00
Victor Vieux
9b088ada7e
Merge pull request #1812 from dotcloud/return-run-exit-code
...
*Client: Return the process exit code for run commands
2013-09-09 14:10:46 -07:00
Andy Rothfusz
0508bd8da7
Merge pull request #1773 from hectcastro/hc-riak-example
...
Add a Docker example for running Riak
2013-09-09 13:31:41 -07:00
Victor Vieux
446ca4b57b
fix init layer
2013-09-09 20:29:57 +00:00
Victor Vieux
4f2e59f94a
bind mount /etc/hosts and /etc/hostname
2013-09-09 20:29:57 +00:00
Victor Vieux
0a436e03b8
add domainname support
2013-09-09 20:29:06 +00:00
Andy Rothfusz
c66a827c98
Merge pull request #1807 from tianon/gentoo-docs
...
Update Gentoo docs to reflect the package name change from app-emulation/lxc-docker to app-emulation/docker
2013-09-09 13:27:48 -07:00
Andy Rothfusz
fe99e51634
Created a little landing page for the examples, combined first two.
2013-09-09 13:19:07 -07:00
Joffrey F
49b5c44ee9
Merge pull request #1833 from shin-/1815-always-push-tags
...
Push tags to registry even if images are already uploaded
2013-09-09 13:10:40 -07:00
shin-
64bc08f1c4
Push tags to registry even if images are already uploaded
2013-09-09 21:02:37 +02:00
Andy Rothfusz
2d4ac06426
Merge pull request #1831 from brianshumate/jbs-docs-edits
...
Hello World Daemon edits
2013-09-09 11:48:12 -07:00
Brian Shumate
9749d94fb0
note about exiting from attachment prior to running
2013-09-09 10:30:06 -04:00
Brian Shumate
630ae43e7d
improve sentence readabilty
2013-09-09 10:19:45 -04:00
Marko Mikulicic
268928ab35
Please add go-dockerclient to docker API clients doc
2013-09-09 11:01:15 +01:00
Solomon Hykes
4cd59b96ed
Hack: we no longer need to generate test binaries.
2013-09-08 18:45:23 -07:00
Solomon Hykes
055bbb79c1
vendor.sh can cleanly update vendored dependencies
2013-09-07 17:48:52 -07:00
Brandon Philips
19dc3b0792
gitignore: ignore bundles directory
2013-09-07 17:35:49 -07:00
Wes Morgan
20d24a450c
move deps installation to vendor.sh script
2013-09-07 17:35:48 -07:00
Solomon Hykes
eca861a99d
Add missing package import
2013-09-07 17:03:40 -07:00
Solomon Hykes
d757bd0904
Document using the Dockerfile for interactive dev/test cycles
2013-09-06 20:16:13 -07:00
Solomon Hykes
47838051be
Hack: improve the Dockerfile for an easier development workflow. Build dev container once, run a shell with source mount-binded, run tests as you edit. LIKE A BOSS.
2013-09-06 20:14:03 -07:00
Solomon Hykes
fa806f26af
Add usage instructions to the Dockerfile. Build, test and release docker using docker.
2013-09-06 19:58:05 -07:00
Solomon Hykes
34eab42833
Adapt Dockerfile to run docker tests inside docker
2013-09-06 19:27:49 -07:00
Solomon Hykes
3c80bd76cf
Adapt the original dind script and add a description
2013-09-06 19:27:48 -07:00
Solomon Hykes
c983023661
Copy dind wrapper script from github.com/jpetazzo/dind
2013-09-06 19:27:48 -07:00
Solomon Hykes
6a9f4ecf9b
Add missing comments to runtime.go
2013-09-06 17:43:34 -07:00
Solomon Hykes
24e02043a2
Merge builder.go into runtime.go
2013-09-06 17:33:05 -07:00
Guillaume J. Charmes
c8f885a4d0
Merge pull request #1822 from dotcloud/remove_os_user
...
Remove os user
2013-09-06 16:30:54 -07:00
Guillaume J. Charmes
b07314e2e0
Remove import os/user
2013-09-06 23:00:21 +00:00
Solomon Hykes
eed00a4afd
README: remove original shipping containers 'manifesto'. It's a little long to stay here.
2013-09-06 15:09:40 -07:00
Solomon Hykes
6679f3b053
README: replace 'install instructions' and 'usage examples' with references to the website and docs
2013-09-06 15:09:04 -07:00
Solomon Hykes
70ab25a5db
README: harmonize intro with website
2013-09-06 15:08:01 -07:00
Solomon Hykes
bcb8d3fd86
README: refer to the docs for install instructions to remove duplication.
2013-09-06 14:52:14 -07:00
Solomon Hykes
b9ca311008
Update roadmap
2013-09-06 14:48:06 -07:00
Thatcher
37186d9ef4
Merge pull request #1818 from metalivedev/655-searchswiftype
...
Add Swiftype search to docs
2013-09-06 13:46:50 -07:00
Andy Rothfusz
03a28da5f7
Add Swiftype search to docs
2013-09-06 13:34:24 -07:00
Martin Redmond
b44d113120
filter image listing using path.Match
2013-09-06 16:16:10 -04:00
Martin Redmond
35bcba8011
improve image listing
2013-09-06 15:51:49 -04:00
Daniel Mizyrycki
f2bc7ebf1e
Merge pull request #1777 from dotcloud/1620-index-test
...
testing, issue #1620 : Add index functional test on docker-ci
2013-09-06 09:21:05 -07:00
Dmitry Demeshchuk
e5239b9859
Improve network performance for VirtualBox
...
Without those lines, VitrualBox machines are being very slow with all network operations (tested only in OS X Lion, but they are supposed to work everywhere). See https://github.com/mitchellh/vagrant/issues/1807
2013-09-05 21:05:23 -07:00
Joffrey F
8a2fd914b2
Merge pull request #1780 from shin-/1218-push-dependencies
...
Respect dependency graph when pushing a repository
2013-09-05 17:32:45 -07:00
Michael Crosby
f3d51bb3d5
Merge pull request #1810 from dotcloud/1798-inspect-fix
...
Detect images/containers conflicts in docker inspect
2013-09-05 17:17:09 -07:00
Michael Crosby
d06a0ba1a7
Merge pull request #1811 from dotcloud/672-remove_getcache
...
Remove unused getCache endpoint
2013-09-05 17:07:49 -07:00
Martin Redmond
8374dac021
From FIXME: local path for ADD
2013-09-05 20:05:36 -04:00
Michael Crosby
3bc73fa21e
Return the process exit code for run commands
2013-09-05 23:54:03 +00:00
Victor Vieux
0d7044955a
remove unused getCache endpoint
2013-09-05 23:00:52 +00:00
Victor Vieux
20a763e519
fix indent in doc
2013-09-05 22:33:04 +00:00
Victor Vieux
5ec2fea6dd
Detect images/containers conflicts in docker inspect
2013-09-05 22:31:17 +00:00
Victor Vieux
908bb65dcf
Merge pull request #1803 from dotcloud/1802-skip-TestGetContainersTop
...
testing, issue #1802 : Temporarily skip TestGetContainersTop
2013-09-05 14:44:47 -07:00
Tianon Gravi
d368c2dee9
Update Gentoo docs to reflect the package name change from app-emulation/lxc-docker to app-emulation/docker as discussed in today's #docker-meeting
2013-09-05 13:36:56 -06:00
Tianon Gravi
82dd417ef6
Reformat Gentoo install instructions to 80 columns
2013-09-05 13:36:16 -06:00
Andy Rothfusz
b57d7dca9d
Merge pull request #1804 from Bouke/patch-1
...
Fix memory recommendations (Byte, not bit)
2013-09-05 11:52:00 -07:00
Michael Crosby
8e41181591
Merge pull request #1772 from dotcloud/update-tar-revision
...
Update tar pkg revision number
2013-09-05 10:32:53 -07:00
Bouke Haarsma
fdf1fccd3e
Fix memory recommendations (Byte, not bit)
2013-09-05 10:40:11 +02:00
Daniel Mizyrycki
bf6e241d97
testing, issue #1802 : Temporarily skip TestGetContainersTop
2013-09-04 18:20:49 -07:00
Andy Rothfusz
f0cdbaa6c8
Merge pull request #1801 from vcoisne/master
...
Add step to docker installation using vagrant (Mac, Linux)
2013-09-04 18:15:22 -07:00
Andy Rothfusz
e0d6bae1eb
Merge pull request #1789 from tommyblue/patch-1
...
Adds instruction about UDP port redirection
2013-09-04 18:14:34 -07:00
Andy Rothfusz
d6ff912917
Merge pull request #1797 from denibertovic/docs
...
fixed docs for installing binary
2013-09-04 18:13:25 -07:00
Victor Coisne
ad04cacd28
Add step to docker installation using vagrant (Mac, Linux)
2013-09-04 17:47:18 -07:00
Deni Bertovic
62823cfb97
fixed docs for installing binary
2013-09-05 00:06:41 +02:00
shin-
9ae5054c34
Bumped API version in api.go ; added <1.5 behavior to getContainersJSON
2013-09-04 23:41:44 +02:00
Daniel Mizyrycki
8878943ac9
deployment, issue #1578 : Avoid pinning kernel headers. Add Vagrantfile assumptions
2013-09-04 14:41:09 -07:00
Daniel Mizyrycki
8e3844cd34
Merge pull request #1578 from jimmycuadra/vagrant-provider-detection
...
Better VirtualBox detection in Vagrantfile
2013-09-04 14:40:32 -07:00
Andy Rothfusz
1a32c4a1df
Merge pull request #1795 from eliasp/patch-1
...
Typo
2013-09-04 14:13:52 -07:00
shin-
98edd0e751
Updated docs for API v1.5
2013-09-04 22:58:58 +02:00
shin-
98a1314251
Merge branch 'mhennings-1357-implement-login-with-private-registry' into api_1_5
2013-09-04 22:27:04 +02:00
shin-
34edbd4f7e
Merge branch '1357-implement-login-with-private-registry' of git://github.com/mhennings/docker into mhennings-1357-implement-login-with-private-registry
2013-09-04 22:26:55 +02:00
shin-
2ea52dddec
Merge branch 'better_api_ports' of git://github.com/shin-/docker into shin--better_api_ports
2013-09-04 22:25:01 +02:00
Elias Probst
396274fa6d
Typo
2013-09-04 21:56:51 +02:00
Jimmy Cuadra
28e75b23b3
Don't install VirtualBox Guest Additions if VAGRANT_DEFAULT_PROVIDER is set.
2013-09-04 11:21:24 -07:00
Tommaso Visconti
ad5796de9f
Adds instruction about UDP port redirection
2013-09-04 19:17:10 +02:00
Daniel Mizyrycki
3a6868bc2f
Merge pull request #1788 from dotcloud/1787-deprecate-port-forwarding
...
deployment, issue #1787 : Remove deprecated port forwarding from /Vagrantfile
2013-09-04 10:11:12 -07:00
Daniel Mizyrycki
34145f9840
deployment, issue #1787 : Remove deprecated port forwarding from /Vagrantfile
2013-09-04 10:05:54 -07:00
Andy Rothfusz
58ea690b41
Merge pull request #1784 from proger/patch-1
...
add new docker api client for erlang, erldocker
2013-09-04 10:01:29 -07:00
Andy Rothfusz
3b92ab3465
Merge pull request #1783 from briehanlombaard/typos
...
Fixed typos
2013-09-04 10:00:10 -07:00
Andy Rothfusz
76f97a64fa
Merge pull request #1785 from thijsterlouw/update_commandline_cli
...
Fix documentation index for cli
2013-09-04 09:59:30 -07:00
Andy Rothfusz
5974794942
Merge pull request #1782 from tianon/gentoo-docs
...
Added Gentoo Documentation
2013-09-04 09:58:36 -07:00
Thijs Terlouw
368d0385e1
Fix documentation index for cli
2013-09-04 13:21:44 +02:00
Vladimir Kirillov
58ffd03bf1
add new docker api client for erlang, erldocker
2013-09-04 12:53:38 +03:00
Tianon Gravi
9ce1d02ef6
Add Gentoo documentation
2013-09-04 02:59:18 -06:00
Briehan Lombaard
251d1261b0
Fixed typos
2013-09-04 10:52:53 +02:00
Daniel Mizyrycki
a0a5170991
Merge pull request #1449 from spkane/honor-ENV-VAGRANT_DEFAULT_PROVIDER
...
Assume that if VAGRANT_DEFAULT_PROVIDER is set we shouldn't install vbox tools
2013-09-03 17:38:03 -07:00
shin-
b3a70d767d
Compute dependency graph and upload layers in the right order when pushing
2013-09-04 02:21:40 +02:00
Daniel Mizyrycki
91ee679549
pr #1718 : Fetch docker gpg over https
2013-09-03 17:14:49 -07:00
Markus Fix
52fe452497
Changed docker apt repo URI from https to http because the http driver for apt is not installed by default
2013-09-03 17:10:03 -07:00
Daniel Mizyrycki
846524115b
testing, issue #1620 : Add index functional test on docker-ci
2013-09-03 15:38:06 -07:00
Hector Castro
fac4cedcc1
Add a Docker example for running Riak.
2013-09-03 16:30:40 -04:00
Marco Hennings
ded973219e
Move auth header on run cmd
2013-09-03 20:59:48 +02:00
shin-
dd4aab8411
Use base64 encoding
2013-09-03 20:59:48 +02:00
shin-
d04beb7f43
Pass auth config through headers rather than as URL param
2013-09-03 20:59:48 +02:00
Marco Hennings
a2603477dd
Merge on current master
2013-09-03 20:59:48 +02:00
Marco Hennings
ad322d7cca
Send corrent endpoint authentication when an image is pulled during the run
...
cmd.
2013-09-03 20:59:48 +02:00
Marco Hennings
da3bb9a7c6
Move authConfig to a Parameter on postImagePush, too
2013-09-03 20:59:48 +02:00
Daniel Mizyrycki
0e6ee9632c
Merge pull request #1603 from dotcloud/773-docker-ci-pr
...
773 docker-ci github pull request
2013-09-03 11:46:34 -07:00
Marco Hennings
fcee6056dc
Login against private registry
...
To improve the use of docker with a private registry the login
command is extended with a parameter for the server address.
While implementing i noticed that two problems hindered authentication to a
private registry:
1. the resolve of the authentication did not match during push
because the looked up key was for example localhost:8080 but
the stored one would have been https://localhost:8080
Besides The lookup needs to still work if the https->http fallback
is used
2. During pull of an image no authentication is sent, which
means all repositories are expected to be private.
These points are fixed now. The changes are implemented in
a way to be compatible to existing behavior both in the
API as also with the private registry.
Update:
- login does not require the full url any more, you can login
to the repository prefix:
example:
docker logon localhost:8080
Fixed corner corner cases:
- When login is done during pull and push the registry endpoint is used and
not the central index
- When Remote sends a 401 during pull, it is now correctly delegating to
CmdLogin
- After a Login is done pull and push are using the newly entered login data,
and not the previous ones. This one seems to be also broken in master, too.
- Auth config is now transfered in a parameter instead of the body when
/images/create is called.
2013-09-03 20:45:49 +02:00
Michael Crosby
ea813d8593
Update tar pkg revision number
2013-09-03 18:30:32 +00:00
Michael Crosby
d13c2ed24e
Merge pull request #1317 from calavera/login_signal
...
Exit from `docker login` on SIGTERM and SIGINT.
2013-09-03 11:16:05 -07:00
Andy Rothfusz
75df4953f4
Merge pull request #1758 from mattapperson/patch-1
...
Added NodeJS library
2013-09-03 11:02:34 -07:00
Andy Rothfusz
f703b8b839
Merge pull request #1771 from thijsterlouw/missing_cli_docs
...
Add 2 missing cli commands to docs (events + insert)
2013-09-03 10:41:05 -07:00
Thijs Terlouw
6380b42edb
Add 2 missing cli commands to docs (events + insert) and alphabetically order docker output
2013-09-03 16:35:22 +02:00
David Calavera
ce53e21ea6
Read the stdin line properly.
...
Load the auth config before it's used.
2013-09-01 16:12:07 -07:00
David Calavera
35fef275b3
Merge branch 'login_signal' of https://github.com/calavera/docker into login_signal
...
* 'login_signal' of https://github.com/calavera/docker :
Use flag.StringVar to capture the command line flags.
Fix syscall name.
Remove unused imports.
Simplify term signal handler.
Add the ISIG syscall back to not kill the client withing a shell with ctrl+c.
Print a new line after getting the password from stdin.
Exit if there is any error reading from stdin.
Stop making a raw terminal to ask for registry login credentials.
Allow to generate signals when termios is in raw mode.
Use a more idiomatic syntax to capture the exit.
Exit from `docker login` on SIGTERM and SIGINT.
2013-09-01 16:10:53 -07:00
David Calavera
fa3266efa5
Merge branch 'master' into login_signal
...
* master: (23 commits)
Made calling changelog before run return empty. Fixes #1705 .
fix error in docker build when param is not a directory
Document FROM <image>:<tag> Dockerfile instruction.
Install Ubuntu raring backported kernel from official archives directly.
Updated "Use -> The Basics" to use ubuntu:12.10.
hide version when not available
added a Dockerfile which installs all deps and builds the docs.
Unable to find image error should print to stderr
remove message during tests
use init function
add TEST env var during tests and silenced parserun during tests
Update python_web_app.rst
Update remaining upstart scripts to wait for lxc-net
Fixed a minor syntax error.
Add privileged flag in documentation for container creation
Fix #1685 : Notes on production use. General installation cleanup.
Fix bash completion, remove have
added apt-key finger tip and fingerprint in ubuntu installation page
Improve formatting with 'go fmt' as stated in CONTRIBUTING.md
Start docker after lxc-net to prevent ip forwarding race
...
2013-09-01 15:56:59 -07:00
Brandon Liu
113bb396cd
Don't export Graph.walkAll.
2013-08-31 20:44:49 -07:00
Brandon Liu
1fca99ad90
Replace Graph.All with Graph.Map
2013-08-31 20:44:42 -07:00
Matt Apperson
e42d3a1bfa
Added NodeJS library
2013-08-31 22:13:15 -04:00
Victor Vieux
3528990c73
Merge pull request #1665 from dotcloud/ksid-contrib-maintainer
...
Make Kawsar Saiyeed @KSid the maintainer for contributed tools
2013-08-30 17:07:03 -07:00
Andy Rothfusz
8ee4473d92
Merge pull request #1704 from dhrp/ubuntu-install-finger-fingerprint
...
added apt-key finger tip and fingerprint in ubuntu installation page
2013-08-30 16:15:19 -07:00
Daniel Mizyrycki
212b582362
Merge pull request #1673 from xdissent/1659-upstart-order
...
Start docker after lxc-net to prevent ip forwarding race
2013-08-30 16:05:40 -07:00
Guillaume J. Charmes
969e48dd5a
Merge pull request #1752 from dotcloud/1750-build_error-fix
...
fix error in docker build when param is not a directory
2013-08-30 16:05:23 -07:00
Guillaume J. Charmes
d9b7ec6458
Merge pull request #1754 from griff/1705_changelog_fails_before_run
...
- Runtime: Made calling change log before run return empty list.
2013-08-30 16:02:46 -07:00
Brian Olsen
46c9c5c843
Made calling changelog before run return empty. Fixes #1705 .
2013-08-30 22:46:07 +02:00
Brian Olsen
7a9c711832
Copies content from image to volumne if non-empty. Fixes #1582 .
2013-08-30 22:02:05 +02:00
Brian Olsen
6756e786ac
Just fixing gofmt issues in other people's code.
2013-08-30 22:02:05 +02:00
Michael Crosby
84431ec03c
Merge pull request #1613 from thijsterlouw/proper_resolvconf_parsing
...
Proper resolv.conf parsing
2013-08-30 12:10:45 -07:00
Victor Vieux
d605e82bad
fix error in docker build when param is not a directory
2013-08-30 18:08:29 +00:00
Andy Rothfusz
2ea19238ff
Merge pull request #1744 from dsissitka/patch-7
...
Updated "Use -> The Basics" to use ubuntu:12.10.
2013-08-30 10:44:54 -07:00
Andy Rothfusz
df36f9db05
Merge pull request #1749 from msiebuhr/doc-from-tags
...
Document FROM <image>:<tag> Dockerfile instruction.
2013-08-30 10:44:36 -07:00
Michael Crosby
74982bda32
Merge pull request #1738 from jonasi/error-to-stderr
...
Unable to find image error should print to stderr
2013-08-30 10:43:45 -07:00
Michael Crosby
6d769f4b9b
Merge pull request #1743 from dotcloud/fix_version
...
Hide version when not available
2013-08-30 10:39:48 -07:00
Morten Siebuhr
1a8a540209
Document FROM <image>:<tag> Dockerfile instruction.
2013-08-30 15:23:32 +02:00
Shih-Yuan Lee (FourDollars)
6c206f7d78
Install Ubuntu raring backported kernel from official archives directly.
2013-08-30 14:12:13 +08:00
Andy Rothfusz
110d3b7794
Merge pull request #1736 from ramonvanalteren/patch-1
...
Update python_web_app.rst
2013-08-29 18:36:53 -07:00
dsissitka
c0e95fa68a
Updated "Use -> The Basics" to use ubuntu:12.10.
...
ubuntu:latest doesn't have nc. ubuntu:12.10 does.
2013-08-29 21:05:18 -04:00
Victor Vieux
e3b58d3027
hide version when not available
2013-08-30 00:46:43 +00:00
Andy Rothfusz
9b029a0854
Merge pull request #1739 from dotcloud/add-docs-dockerfile
...
Added a Dockerfile which installs all deps and builds the Docs
2013-08-29 17:42:17 -07:00
Victor Vieux
49d35cc0ae
Merge pull request #1690 from jbbarth/code-formatting
...
go fmt
2013-08-29 17:13:37 -07:00
Nick Stinemates
c6702bebe1
added a Dockerfile which installs all deps and builds the docs.
2013-08-30 00:13:32 +00:00
Michael Crosby
690c3839fd
Merge pull request #1710 from thomasf/master
...
Fix bash completion.
2013-08-29 17:08:14 -07:00
Victor Vieux
050cf70136
Merge pull request #1721 from andrewmunsell/patch-2
...
Add privileged flag in documentation for container creation
2013-08-29 17:05:40 -07:00
Guillaume J. Charmes
df8f95ac74
Merge pull request #1591 from dotcloud/1557_fix_docker_run_useage
...
add TEST env var during tests and silenced parserun during tests
2013-08-29 16:51:34 -07:00
Andy Rothfusz
0f91418b26
Merge pull request #1729 from dsissitka/patch-6
...
Fixed a minor syntax error.
2013-08-29 16:27:22 -07:00
Isao Jonas
4ff649ce85
Unable to find image error should print to stderr
2013-08-29 18:25:11 -05:00
Andy Rothfusz
c4394decf8
Merge pull request #1717 from metalivedev/1685-updateinstallation
...
Fix #1685 : Notes on production use. General installation cleanup.
2013-08-29 16:06:00 -07:00
Victor Vieux
f159f4710b
remove message during tests
2013-08-29 22:59:34 +00:00
Victor Vieux
740a97f1a8
use init function
2013-08-29 22:55:29 +00:00
Victor Vieux
eee6d3dae9
add TEST env var during tests and silenced parserun during tests
2013-08-29 22:55:29 +00:00
Ramon van Alteren
559724ac35
Update python_web_app.rst
...
Fixed typo in the WEB_PORT command, missing sudo in front of docker command
2013-08-30 00:37:47 +02:00
Greg Thornton
3f141e1fd3
Update remaining upstart scripts to wait for lxc-net
2013-08-29 14:06:24 -05:00
David Calavera
9f8e5a93b4
Use flag.StringVar to capture the command line flags.
2013-08-29 11:46:42 -07:00
David Calavera
78d995bbd6
Fix syscall name.
2013-08-29 11:46:42 -07:00
David Calavera
e7ee2f443a
Remove unused imports.
2013-08-29 11:46:42 -07:00
David Calavera
b8a8962833
Simplify term signal handler.
2013-08-29 11:46:42 -07:00
David Calavera
b54ba5095b
Add the ISIG syscall back to not kill the client withing a shell with ctrl+c.
2013-08-29 11:46:41 -07:00
David Calavera
f18889bf67
Print a new line after getting the password from stdin.
2013-08-29 11:46:41 -07:00
David Calavera
6e4a818ee6
Exit if there is any error reading from stdin.
2013-08-29 11:46:41 -07:00
David Calavera
2357fecc92
Stop making a raw terminal to ask for registry login credentials.
...
It only disables echo asking for the password and lets the terminal to handle everything else.
It fixes #1392 since blank spaces are not discarded as they did before.
It also cleans the login code a little bit to improve readability.
2013-08-29 11:46:41 -07:00
David Calavera
23dc52f528
Allow to generate signals when termios is in raw mode.
2013-08-29 11:45:04 -07:00
David Calavera
c3154fdf4d
Use a more idiomatic syntax to capture the exit.
2013-08-29 11:45:03 -07:00
David Calavera
f1d0625cf8
Exit from docker login on SIGTERM and SIGINT.
...
Fixes #1299 .
2013-08-29 11:45:03 -07:00
Andy Rothfusz
230dc07d37
fix logo path
2013-08-29 11:24:59 -07:00
Andy Rothfusz
c46d9933ec
Merge pull request #1727 from dsissitka/patch-5
...
Fixed a minor syntax error.
2013-08-29 11:05:22 -07:00
Andy Rothfusz
bcb081a269
Merge pull request #1708 from nexxy/patch-1
...
Update docker_remote_api_v1.4.rst
2013-08-29 10:22:05 -07:00
dsissitka
57892365ef
Fixed a minor syntax error.
2013-08-29 12:35:37 -04:00
dsissitka
075253238d
Fixed a minor syntax error.
2013-08-29 12:27:35 -04:00
David Sissitka
f6b56e996d
Updated "POST /containers/create" to return the right Content-Type.
2013-08-29 09:14:14 -07:00
Emily Rose
18d572abb4
Added Emily Rose to AUTHORS.
2013-08-28 22:28:31 -07:00
Andrew Munsell
37a236947e
Add privileged flag in documentation for container creation
2013-08-28 22:18:47 -07:00
Emily Rose
c1f6914e43
Correct number of asterisks.
2013-08-28 20:01:18 -07:00
Andy Rothfusz
b1eae313ad
Fix #1685 : Notes on production use. General installation cleanup.
2013-08-28 17:26:10 -07:00
Elias Probst
a359e52f29
Added FIXME for iproute → netlink as advised in issue #925 .
2013-08-29 01:50:37 +02:00
Andy Rothfusz
bf98fff925
Merge pull request #1674 from jbbarth/docs
...
Add mercurial to the list of packages needed in a dev environment
2013-08-28 11:10:45 -07:00
Michael Crosby
e6c3da42e7
Merge pull request #1696 from daniel-garcia/1448-add_newline_every_logmessage
...
Write newline after every log message
2013-08-28 10:00:38 -07:00
Victor Vieux
d5220bc081
Merge pull request #1711 from dotcloud/1709-start_doc-fix
...
fix start documentation
2013-08-28 09:51:20 -07:00
Victor Vieux
66ef6c0f6e
fix start doc
2013-08-28 16:40:00 +00:00
Thomas Frössman
20772f90ff
Fix bash completion, remove have
...
Should solve #1639 .
2013-08-28 18:38:06 +02:00
Kyle Conroy
9a60f36ccc
Merge branch 'master' of https://github.com/dotcloud/docker
2013-08-28 06:44:21 -07:00
Emily Rose
69a93b36d5
Update docker_remote_api_v1.4.rst
...
Fixed a (very serious) typo.
2013-08-28 04:12:37 -07:00
Thatcher Peskens
466a88b9a8
added apt-key finger tip and fingerprint in ubuntu installation page
2013-08-27 19:59:36 -07:00
Andy Rothfusz
f0620da74a
Merge pull request #1703 from metalivedev/621-usebaseimages
...
Fix #621 : add new use/base images section. Include examples.
2013-08-27 18:53:40 -07:00
Andy Rothfusz
dffb72ca89
Fix #621 : add new use/base images section. Include examples.
2013-08-27 18:49:43 -07:00
Andy Rothfusz
128893062b
Merge pull request #1698 from metalivedev/1684-Cleanup
...
Fix #1684 : Cleanup introduction, working with repos, "use" index.
2013-08-27 18:15:06 -07:00
shin-
98018df078
More descriptive, easier to process container portmappings information in the API
2013-08-28 00:20:35 +02:00
Andy Rothfusz
4a3b039c2a
Merge pull request #1694 from dotcloud/troubleshoot_windows_installation
...
Troubleshooting windows installation section
2013-08-27 14:48:15 -07:00
Andy Rothfusz
c627ff6e20
Fix #1684 : Old Welcome is now Introduction. Working with Repos now follows Builder.
...
Clean up some doc build errors. Removed old Manifesto. Tweaked layout javascript
to allow direct link from first and last index elements.
2013-08-27 14:29:49 -07:00
daniel-garcia
d593f57952
write newline after every log message.
2013-08-27 14:09:26 -05:00
Michael Crosby
c2b273df5d
Merge pull request #1611 from pysqz/master
...
Make sure 'Ghost' container is available with allocated IP
2013-08-27 11:30:00 -07:00
pysqz
cc18a9c650
Also reuse forwarding ports
2013-08-28 03:14:21 +08:00
Daniel Mizyrycki
f861c493bf
Troubleshooting windows installation section
2013-08-27 11:19:32 -07:00
jbbarth
d80b50d4b4
Improve formatting with 'go fmt' as stated in CONTRIBUTING.md
...
As 'go fmt' doesn't support verifying files in multiple directories,
it's probably a good idea to run it on all '*.go' files from time to
time with something like this:
find . -name "*.go" | xargs dirname | sort -u | xargs -n 1 echo go fmt
2013-08-27 10:05:25 +02:00
Andy Rothfusz
5b84252c73
Merge pull request #1622 from TylerBrock/patch-2
...
Some fixes for MongoDB example
2013-08-26 17:28:38 -07:00
Tyler Brock
f352ec945f
ENTRYPOINT fixups
2013-08-26 19:17:26 -04:00
Daniel Mizyrycki
714e424d74
Merge pull request #1656 from KSid/vagrantfile-0.6
...
Update Vagrantfile to use docker apt repository
2013-08-26 14:59:40 -07:00
Andy Rothfusz
f7fa6c2b0b
Merge pull request #1671 from kim0/patch-3
...
Don't force a non-existent npm version, use latest from epel
2013-08-26 14:33:07 -07:00
Michael Crosby
b866254a19
Merge pull request #1636 from unclejack/1594-return_non_zero_when_encountering_error
...
1594 - return non-zero exit code if at least one container has failed to start
2013-08-26 13:20:31 -07:00
Michael Crosby
108b6c644b
Merge pull request #1678 from dotcloud/remove-incorrect-build-instructions
...
Remove incorrect build instructions
2013-08-26 12:56:08 -07:00
Guillaume J. Charmes
9ce7b1c009
Merge pull request #1663 from KSid/1661-cp-parsing-error
...
- Runtime: Display error if docker cp resource not specified
2013-08-26 12:51:43 -07:00
Solomon Hykes
076434ef10
Remove incorrect build instructions
2013-08-26 12:06:56 -07:00
Andy Rothfusz
f2807042c2
Merge pull request #1670 from tobstarr/patch-1
...
Change fetching of gpg key from http to https
2013-08-26 12:00:54 -07:00
Guillaume J. Charmes
d4c7340131
Merge pull request #1646 from mohitsoni/master
...
- Runtime: Fix uname -r kernel version parsing
2013-08-26 11:49:00 -07:00
Greg Thornton
331f983593
Start docker after lxc-net to prevent ip forwarding race
2013-08-26 09:43:49 -05:00
jbbarth
1adbadde80
Add mercurial to the list of packages needed in a dev environment
...
The dev environment setup procedure fails if mercurial is not installed
on the machine, it cannot download stuff from
http://code.google.com/p/go.net for instance.
2013-08-26 16:39:38 +02:00
kim0
843ef645d2
Don't force a non-existent npm version, use latest from epel
...
Not the smartest thing to do
2013-08-26 12:54:15 +03:00
Tobias Schwab
4440bde0eb
Change fetching of gpg key from http to https
...
Or was there any reason to fetch using http?
2013-08-26 11:45:15 +02:00
Solomon Hykes
f83d556bc0
Make Kawsar Saiyeed @KSid the maintainer for contributed tools
2013-08-24 17:16:52 -07:00
Kawsar Saiyeed
d8a18ea3ae
Display error if resource not specified
...
Display an error message if a container resource is not supplied to
'docker cp'.
Fixes error in #1661
2013-08-25 00:28:36 +01:00
Nick Stinemates
c864647721
Merge pull request #1658 from jamescarr/patch-1
...
Update for new mailing list
2013-08-24 10:28:26 -07:00
Nick Stinemates
2891e828bd
Merge pull request #1657 from KSid/bash-completion-0.6
...
Add latest docker options to docker.bash
2013-08-24 10:27:25 -07:00
James Carr
465d5313c5
Update for new mailing list
2013-08-24 10:26:54 -07:00
Kawsar Saiyeed
02d1d238cd
Add latest docker options to docker.bash
...
Adds bash completion options for the latest docker release (0.6.1)
2013-08-24 18:04:40 +01:00
Kawsar Saiyeed
1f85ed6825
Update Vagrantfile to use docker apt repository
2013-08-24 16:49:55 +01:00
Mohit Soni
ef82690144
Merge remote-tracking branch 'upstream/master'
2013-08-24 00:33:01 -07:00
Mohit Soni
f4432d50c3
Refactored code and added unit tests
...
- Extracted ParseRelease method from GetKernelVersion to make code
more testable
- Added tests for ParseRelease method
2013-08-24 00:24:40 -07:00
Andy Rothfusz
820a3b962a
Merge pull request #1634 from songgao/patch-1
...
Added utils/utils.go : CopyEscapable escale sequence to tutorial.
2013-08-23 18:52:17 -07:00
Michael Crosby
99a8306898
Merge release 0.6.1 back to master
...
Conflicts:
VERSION
2013-08-23 22:59:29 +00:00
Michael Crosby
bd16107e97
Merge pull request #1648 from dotcloud/bump_0.6.1
...
Bump to 0.6.1
2013-08-23 15:49:28 -07:00
Michael Crosby
5105263dac
Bump to v0.6.1
2013-08-23 22:23:30 +00:00
Michael Crosby
7b5c579b77
Use correct upstart script with new build tool
2013-08-23 22:20:36 +00:00
Michael Crosby
dcfb993ac7
Merge pull request #1642 from dotcloud/upstart-exec
...
Use correct upstart script with new build tool
2013-08-23 15:18:58 -07:00
Andy Rothfusz
dd9ee039a6
Merge pull request #1633 from abhirajbutala/patch-1
...
Update docker_remote_api.rst
2013-08-23 15:17:21 -07:00
Kawsar Saiyeed
15d658d36b
Removed duplicate mercurial install command
2013-08-23 22:16:49 +00:00
unclejack
59281d6f80
use libffi-dev, don't build it from sources
2013-08-23 22:16:23 +00:00
shin-
29be20f987
Fixed: ImagePull in runtime test
2013-08-23 22:16:11 +00:00
shin-
5a8c32dc8e
Use additional decorator in RequestFactory to pass meta headers to registry
2013-08-23 22:16:03 +00:00
Michael Crosby
3d9b4379a5
Use correct upstart script with new build tool
2013-08-23 22:10:18 +00:00
Mohit Soni
ab882da03b
Fixes #1643
...
Changed the split statement, from SplitN to Split. Doing so takes
care of cases, when a minor version is followed by a suffix, that
starts with '.'.
2013-08-23 14:37:37 -07:00
Thatcher
e2594d162e
Merge pull request #1641 from dotcloud/docs-0.6-gpg-key
...
Docs 0.6 gpg key
2013-08-23 13:14:21 -07:00
Thatcher Peskens
ebb9b5e85b
Added adding the gpg key
2013-08-23 12:56:03 -07:00
Michael Crosby
98f9d3e81c
Merge pull request #1562 from AnSavvides/contributing-link
...
Adding direct reference to contribution guidelines
2013-08-23 12:18:24 -07:00
Thatcher Peskens
091fb89294
Added line on top of ubuntulinux announcing change in 0.6
...
Added lines on top of vagrant installs
2013-08-23 11:45:52 -07:00
Michael Crosby
db91cac44f
Merge pull request #1635 from unclejack/fix_main_dockerfile
...
Fix libffi build failure for the main Dockerfile
2013-08-23 11:31:19 -07:00
Guillaume J. Charmes
8dd3607bd1
Merge pull request #1563 from dotcloud/1073_add_loading_message
...
* Runtime: Add loading containers message in no debug
2013-08-23 11:20:22 -07:00
Solomon Hykes
3ebda17f0f
Merge pull request #1637 from dhrp/change-docs-ubuntu-sources
...
Updated the docs to reflect we no longer use Launchpad and host our own
2013-08-23 11:05:59 -07:00
Michael Crosby
9149c45745
Merge pull request #1627 from shin-/registry_metaheaders
...
Pass "meta" headers in API calls to the registry
2013-08-23 11:05:41 -07:00
Michael Crosby
969ab9c450
Merged 0.6.0 release back to master
2013-08-23 17:50:24 +00:00
Michael Crosby
588f8e1cec
Merge pull request #1628 from dotcloud/bump_0.6.0
...
Bump to 0.6.0
2013-08-23 10:45:14 -07:00
Thatcher Peskens
f753dfe6b3
Updated the docs to reflect we no longer use Launchpad and host our own repository.
2013-08-23 10:41:53 -07:00
unclejack
d1ad0e278d
return error if at least one container fails to start
...
This makes docker start exit with exit code 1 if at least one container
didn't start. This also prints an error at the end.
2013-08-23 20:14:06 +03:00
unclejack
72cfa3de35
use libffi-dev, don't build it from sources
2013-08-23 19:13:30 +03:00
Abhiraj Butala
3396a183c6
Update docker_remote_api.rst
2013-08-23 01:28:58 -07:00
shin-
1c6af604e8
Fixed: ImagePull in runtime test
2013-08-23 04:32:09 +02:00
Guillaume J. Charmes
ccc2276469
Merge pull request #1630 from KSid/docker-build-dockerfile
...
Removed duplicate mercurial install command from Dockerfile
2013-08-22 17:31:35 -07:00
Guillaume J. Charmes
78a71b1273
Merge pull request #1587 from dotcloud/1559_improve_version
...
Improve version
2013-08-22 17:28:18 -07:00
Kawsar Saiyeed
2191419f4c
Removed duplicate mercurial install command
2013-08-22 23:12:28 +01:00
Michael Crosby
f4a4f1ca87
Bump to 0.6.0
2013-08-22 21:09:50 +00:00
Guillaume J. Charmes
f925edd12d
Merge pull request #1525 from griff/1503-fix
...
Don't read from stdout when only attached to stdin
2013-08-22 13:43:05 -07:00
Michael Crosby
12715c8ddc
Merge pull request #1609 from jpetazzo/release-docker-with-docker
...
Release docker with docker
2013-08-22 13:13:06 -07:00
shin-
093b85b72f
Use additional decorator in RequestFactory to pass meta headers to registry
2013-08-22 21:15:31 +02:00
Michael Crosby
326dadd224
Merge pull request #1565 from dotcloud/only_load_authconfig_when_needed
...
Load authConfig only when needed and fix useless WARNING
2013-08-22 11:10:16 -07:00
Michael Crosby
a3510c99f1
Merge pull request #1560 from dotcloud/439-allow-lxc-args
...
Add lxc-conf flag to allow custom lxc options
2013-08-22 09:34:27 -07:00
Michael Crosby
262d57e387
Merge pull request #1623 from mhennings/1592-fix-race-conditions-in-parallel-pull
...
Fix race conditions in parallel pull
2013-08-22 09:30:21 -07:00
Michael Crosby
551092f9c0
Add lxc-conf flag to allow custom lxc options
2013-08-22 16:05:21 +00:00
Marco Hennings
3f802f4a13
Fix race conditions in parallel pull
...
During parallel pull of a repostiory it can happen that the same layer
is pulled more than once.
To fix this I have extended the locking code to
- avoid multiple pulls of the same image
- avoid multiple pulls of the same layer
If an error occurs the other layers are awaited before returning as leaving
the scope before the go routines leave causes crashes of the server sometimes
if the download status is updated while the http stream is already closed
Beside this I have extended status display.
2013-08-22 13:23:43 +02:00
Tyler Brock
d6f53049c4
Some fixes for MongoDB example
2013-08-21 23:48:32 -04:00
Daniel Mizyrycki
5e3386473a
testing, issue #773 : Add infrastructure docker-ci PR documentation
2013-08-21 17:39:45 -07:00
Andy Rothfusz
0b9c8e2860
Merge pull request #1596 from metalivedev/1149-easyfixes
...
Fix #1330 and #1149 . Improve CMD, ENTRYPOINT, and attach docs.
2013-08-21 14:06:41 -07:00
Andy Rothfusz
42fe550c9e
Merge pull request #1614 from denibertovic/docs
...
Small fix to docs regarding adding docker groups
2013-08-21 12:26:56 -07:00
Andy Rothfusz
f5bd137216
Add mongodb example
2013-08-21 12:09:40 -07:00
Andy Rothfusz
348696f3fe
Merge pull request #1607 from TylerBrock/mongodb
...
Add MongoDB image example
2013-08-21 12:07:50 -07:00
Michael Crosby
6da071985f
Merge pull request #1513 from dotcloud/add_user_dockerfile
...
Add USER instruction do Dockerfile
2013-08-21 09:19:31 -07:00
Michael Crosby
56e02dd0c7
Merge pull request #1588 from dotcloud/1561_fix_warning_in_tests
...
assume ip_forwarding = 1 by default
2013-08-21 09:15:23 -07:00
Michael Crosby
e0a7013836
Merge pull request #1576 from MatthewMueller/patch-1
...
updated default -H docs
2013-08-21 09:09:43 -07:00
Deni Bertovic
467dbb75f1
small fix to docs regarding adding docker groups
2013-08-21 17:28:13 +02:00
pysqz
2f6ce27fde
Make sure 'Ghost' container is available with allocated IP
2013-08-21 22:37:58 +08:00
Thijs Terlouw
c349b4d56c
Keep linebreaks and generalize code
2013-08-21 15:48:39 +02:00
Thijs Terlouw
62e84785b6
proper resolv.conf parsing
2013-08-21 15:23:12 +02:00
Matt Mueller
215094903a
update help
2013-08-21 02:08:32 -07:00
Jérôme Petazzoni
8a7c0495e0
Remove -x flag — we do not want to be *that* verbose.
2013-08-20 20:50:42 -07:00
Jérôme Petazzoni
885afebe07
Bump up VERSION file to 0.5.3-dev
2013-08-20 19:36:42 -07:00
Jérôme Petazzoni
e06372d6f4
Update packaging/README to point to hack/release
2013-08-20 19:36:06 -07:00
Jérôme Petazzoni
b5a48eaed3
Moved release scripts to hack/release and updated instructions.
2013-08-20 19:36:06 -07:00
Jérôme Petazzoni
a8059059c6
+CHANGES is now -dirty (works better in URLs), and we have postinstall and prerm jobs.
2013-08-20 19:36:06 -07:00
Jérôme Petazzoni
c8c69a1499
Bump to 0.5.3 (VERSION file)
2013-08-20 19:36:06 -07:00
Jérôme Petazzoni
0469e47674
Release script also takes care of index file (if the S3 bucket is WS-enabled)
2013-08-20 19:36:06 -07:00
Jérôme Petazzoni
5b630d436d
If there are changes, add the timestamp to the package version.
2013-08-20 19:35:31 -07:00
Jérôme Petazzoni
9c06420b18
Implement apt-secure repository signing.
2013-08-20 19:35:31 -07:00
Jérôme Petazzoni
87872006ce
Repository should also have i386 index, since Ubuntu is multi-arch by default
2013-08-20 19:35:31 -07:00
Jérôme Petazzoni
abfa7a204d
Update to go 1.1.2.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
5b0eaef602
Run reprepro from release, incrementally (it needs S3 credentials). Add virtual package.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
9694fb85d7
Install python-magic (it helps s3cmd) and a convenience /src symlink
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
bfee2c726e
Polish instructions a little bit.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
ab4fb9bbfa
Add a check for S3 bucket access.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
fbd5b20c38
Running the build image will now execute release.sh automatically.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
ff30eb96b6
Protect the release.sh script against accidental use. Infer VERSION automatically.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
749a7d0e4f
Add a check to make sure that make.sh only runs within a container.
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
d9f769930b
Cosmetic changes: rewrapping, `` → $()… before starting the real work
2013-08-20 19:35:30 -07:00
Jérôme Petazzoni
d750060f0c
add "|| true" otherwise "set -e" kills us if the repo is clean
2013-08-20 19:35:30 -07:00
Guillaume J. Charmes
bdbac9f7a1
Upgrade Dockerfile with new dependency
2013-08-20 19:35:30 -07:00
Solomon Hykes
13201775de
Update release checklist. Still needs work.
2013-08-20 19:34:10 -07:00
Solomon Hykes
ccc3969536
release.sh: publish a full release of docker to a S3 bucket, including static binary and a full APT repository with install instructions
2013-08-20 19:34:10 -07:00
Solomon Hykes
89ee524229
Good-bye, ugly mega-Makefile. Docker can now be built with docker, with the help of a simple very simple shell script.
2013-08-20 19:34:10 -07:00
Solomon Hykes
9fce6f662a
docker -v: show version and build information without making remote connections
2013-08-20 19:32:37 -07:00
Solomon Hykes
9087ef9a77
Move VERSION to a dedicated file to facilitate automated builds and releases
2013-08-20 19:32:37 -07:00
Solomon Hykes
aa2ab5143b
Deprecate dockerbuilder in favor of a standard Dockerfile
2013-08-20 19:31:30 -07:00
Tyler Brock
2c147dd721
add mongodb image example
2013-08-20 18:08:15 -04:00
Daniel Mizyrycki
ee64e099e0
testing, issue #773 : Automatically test pull requests on docker-ci
2013-08-20 12:32:32 -07:00
Daniel Mizyrycki
30726c3785
Improve docker-ci deployment and tests
2013-08-20 12:18:29 -07:00
Victor Vieux
41973d41e9
fix typo
2013-08-20 11:52:37 +00:00
Victor Vieux
f69c465231
rebase docs
2013-08-20 11:42:53 +00:00
Andy Rothfusz
75f4fd978d
Fix #1330 and #1149 . Improve CMD, ENTRYPOINT, and attach docs.
2013-08-19 19:13:26 -07:00
Kyle Conroy
e9a1246527
Enable mobile view for website.
...
The documentation currently uses responsive Bootstrap, but didn't
include the correct meta tag for proper display on mobile devices.
2013-08-19 11:54:51 -07:00
Andy Rothfusz
d627ff9697
Merge pull request #1590 from elmendalerenda/patch-3
...
fixed postgresql conf setting
2013-08-19 10:27:43 -07:00
Michael Crosby
04c16f347b
Merge pull request #1396 from calavera/985-ordered-api-images
...
Sort APIImages by most recent creation date.
2013-08-19 09:41:39 -07:00
Michael Crosby
9c829cb5b4
Merge pull request #1581 from mhennings/workdirsupport-buildfile
...
Add workdir support for the Buildfile
2013-08-19 09:18:22 -07:00
elmendalerenda
83acd37161
fixed postgresql conf setting
...
small typo, changed listen_address to listen_addresses
2013-08-19 14:20:25 +01:00
Victor Vieux
b21f898620
assume ip_forwarding = 1 by default
2013-08-19 12:34:30 +00:00
Victor Vieux
646afab28d
improve version
2013-08-19 12:07:49 +00:00
Victor Vieux
f6653c3fa5
Merge pull request #1553 from dotcloud/1540_fix_error_message
...
fix can't connect message with socket
2013-08-19 05:06:21 -07:00
Victor Vieux
18962d0ff3
load authConfig only when needed and fix useless WARNING
2013-08-19 11:42:38 +00:00
Song Gao
b22c973110
Added escape sequence to tutorial
2013-08-18 21:44:46 -05:00
Marco Hennings
319988336c
Add workdir support for the Buildfile
...
For consistency the Buildfile should have the option to
set the working directory.
Of course that is one option more to the buildfile,
so please tell me if we really want this to happen.
2013-08-18 20:30:19 +02:00
Michael Crosby
67c9ce6dd1
Merge pull request #1459 from mhennings/set-working-directory
...
Add an option to set the working directory
2013-08-18 11:23:34 -07:00
Marco Hennings
687d27ab57
Add an option to set the working directory.
...
This makes it possible to simply wrap a command inside a container. This makes
it easier to use a container as an unified build environment.
Examples:
~/workspace/docker
$ docker run -v `pwd`:`pwd` -w `pwd` -i -t ubuntu ls
AUTHORS Makefile archive.go changes.go docker
[...]
docker run -v `pwd`:`pwd` -w `pwd` -i -t ubuntu pwd
/home/marco/workspace/docker
2013-08-18 19:34:01 +02:00
David Calavera
6aff117164
Use flag.StringVar to capture the command line flags.
2013-08-17 22:28:05 -07:00
David Calavera
e69f714219
Fix syscall name.
2013-08-17 22:22:49 -07:00
David Calavera
276d2bbf1d
Remove unused imports.
2013-08-17 22:22:11 -07:00
David Calavera
e6affb1b1a
Sort images by tag name when the creation date is the same.
...
This establishes a strict alphabetical order for tags with the same creation date.
2013-08-17 22:11:34 -07:00
Matt Mueller
f409c11916
add to cli
2013-08-17 22:10:06 -07:00
Michael Crosby
3885ee00c5
Merge pull request #1575 from evanphx/tags
...
Show tag used when image is missing
2013-08-17 22:05:58 -07:00
Matthew Mueller
5325703c27
updated default
2013-08-17 21:54:10 -07:00
David Calavera
45543d012e
Simplify term signal handler.
2013-08-17 21:29:37 -07:00
David Calavera
8a18999d23
Add the ISIG syscall back to not kill the client withing a shell with ctrl+c.
2013-08-17 21:08:00 -07:00
Evan Phoenix
07a887032a
Show tag used when image is missing
2013-08-17 20:03:54 -07:00
Andy Rothfusz
1843a71911
Merge pull request #1550 from dotcloud/update-dependencies-in-readme
...
Update readme with dependencies for building
2013-08-16 17:46:25 -07:00
Guillaume J. Charmes
9ce577782c
Merge pull request #1572 from dotcloud/1431-disable-TestContainerTop
...
Tests: testing, issue #1431 : Temporarely disable TestContainerTop from the testsuite
2013-08-16 14:49:02 -07:00
Daniel Mizyrycki
422d4afdd5
testing, issue #1431 : Temporarely disable TestContainerTop from the testsuite
2013-08-16 14:47:39 -07:00
Andy Rothfusz
09a08e0a9f
Merge pull request #1569 from TylerBrock/patch-1
...
Add instructions for creating and using the docker group
2013-08-16 14:30:00 -07:00
Michael Crosby
5142e83d93
Merge pull request #1473 from shin-/978-opaque-v2
...
Reworking opaque requests in registry module
2013-08-16 12:24:51 -07:00
shin-
0418702cfc
registry: removing opaqueRequest
2013-08-16 19:33:59 +02:00
Tyler Brock
674e5c8503
remove extraneous step and stupid whitespace
2013-08-16 13:30:54 -04:00
Tyler Brock
2ec141da54
Add instructions for creating and using the docker group
2013-08-16 13:19:59 -04:00
Victor Vieux
20b1e19641
add loading message
2013-08-16 13:43:09 +00:00
Andreas Savvides
f11fb706f6
Adding direct reference to contribution guidelines
2013-08-16 12:07:37 +01:00
Michael Crosby
bca19a22c5
Update readme with dependencies for building
...
Closes #915
2013-08-15 17:26:07 +00:00
Victor Vieux
62b45f0827
fix can't connect message
...
with socket
2013-08-15 13:48:08 +00:00
Victor Vieux
92a2b635a3
Merge pull request #1551 from dotcloud/hotfix_parallel_pull_display
...
hot fix display in parallel pull and gofmt
2013-08-15 04:43:26 -07:00
Victor Vieux
d7979ef2d0
hot fix display in parallel pull and go fmt
2013-08-15 11:42:40 +00:00
Michael Crosby
c5d8844d80
Merge pull request #1495 from bdon/master
...
Fix Graph ByParent() to generate list of child images per parent image.
2013-08-14 20:42:34 -07:00
Brian Olsen
c7cda86e84
Don't read from stdout in hijack unless attached. Fixes #1503
2013-08-15 02:54:06 +02:00
Guillaume J. Charmes
4caa604793
Merge pull request #1549 from dotcloud/fix-logevent-tests
...
Add imagename to LogEvent tests
2013-08-14 17:02:53 -07:00
Michael Crosby
7f9ba14b18
Add imagename to LogEvent tests
2013-08-14 23:43:43 +00:00
Andy Rothfusz
72660a1a2f
Merge pull request #1537 from metalivedev/1517-sudodocker
...
Fix #1517 , #1521 by adding sudo to examples and installation.
2013-08-14 16:34:00 -07:00
Andy Rothfusz
d4eab77f0c
Fix #1517 , #1521 by adding sudo to examples and installation.
2013-08-14 16:21:36 -07:00
Michael Crosby
9708597b0b
Merge pull request #1538 from KSid/bash-completion-limit-containers
...
Bash Completion: Limit commands to containers of a relevant state
2013-08-14 16:16:25 -07:00
Michael Crosby
15bc2240ac
Merge pull request #1505 from dotcloud/improve_events
...
Add image name in /events
2013-08-14 15:40:36 -07:00
Guillaume J. Charmes
631c449183
Merge pull request #1496 from xdissent/1351-volumes-from-before-volumes
...
* Runtime: Apply volumes-from before creating volumes
2013-08-14 15:10:41 -07:00
Michael Crosby
84a0274885
Merge pull request #1249 from unclejack/507-add_sigterm_sigint_handling_to_docker_run
...
#507 - make docker run handle SIGINT/SIGTERM
2013-08-14 15:00:19 -07:00
Guillaume J. Charmes
5ad8840024
Merge pull request #1541 from dotcloud/1528-fix_panic
...
prevent crash when .dockercfg not readable
2013-08-14 14:51:01 -07:00
Guillaume J. Charmes
8dfc47307d
Merge pull request #1543 from dotcloud/fix_rmi_parse_repo_tag
...
add missing ParseRepositoryTag
2013-08-14 14:42:41 -07:00
shin-
aae04def7b
Merge branch 'master' of https://github.com/dotcloud/docker
2013-08-14 23:32:56 +02:00
Daniel Mizyrycki
f51eb0e4b3
Merge pull request #1546 from dotcloud/1542-coverage-dependencies
...
testing, issue #1542 : Add docker dependencies coverage testing into docker-ci
2013-08-14 14:32:15 -07:00
shin-
8b6b187a8d
Merge branch 'master' of https://github.com/dotcloud/docker
2013-08-14 23:31:58 +02:00
shin-
8b26e4ea3c
brew: docker-py requirement points to git repository
2013-08-14 23:31:18 +02:00
Daniel Mizyrycki
1d8562b290
testing, issue #1542 : Add docker dependencies coverage testing into docker-ci
2013-08-14 14:27:46 -07:00
Michael Crosby
9662f9e56a
Merge pull request #1478 from jpetazzo/929-insecure-flag
...
add -privileged flag and relevant tests, docs, and examples
2013-08-14 13:55:18 -07:00
Michael Crosby
25d71fb01b
Merge pull request #1509 from dotcloud/1359-tar-pkg-ref
...
Add import for dotcloud/tar to replace std tar pkg
2013-08-14 11:26:49 -07:00
Joffrey F
12ffb522a6
Merge pull request #1519 from shin-/brew-more
...
Docker-brew 0.5.2 support and memory footprint reduction
2013-08-14 10:40:05 -07:00
Michael Crosby
0077678844
Merge pull request #1539 from fkautz/https-install-script
...
Install script should be fetched over https, not http.
2013-08-14 10:32:29 -07:00
Daniel Mizyrycki
53f2c5d6e8
Merge pull request #1545 from dotcloud/1544-docker-ci-dependencies
...
testing, issue #1544 : Add new docker dependencies into docker-ci
2013-08-14 10:23:08 -07:00
Daniel Mizyrycki
49597f0f52
testing, issue #1544 : Add new docker dependencies into docker-ci
2013-08-14 10:12:08 -07:00
Victor Vieux
c84d74df8c
add missing ParseRepositoryTag
2013-08-14 16:59:21 +00:00
Victor Vieux
3c9f9945c9
prevent crash when .dockercfg not readable
2013-08-14 10:26:18 +00:00
Frederick F. Kautz IV
80ebff0fa4
Install script should be fetched over https, not http.
2013-08-13 22:28:41 -07:00
Joffrey F
62c0f433fa
brew: Fixed a bug with remote repository builds
2013-08-14 05:05:44 +02:00
Kawsar Saiyeed
44eb1b3892
Limit commands to containers of a relevant state
2013-08-14 02:45:03 +01:00
Andy Rothfusz
4cb57a5438
Merge pull request #1533 from dhrp/docs-ux-changes
...
Docs ux changes
2013-08-13 18:03:49 -07:00
Andy Rothfusz
2e5642452b
Merge pull request #1523 from dotcloud/docker-group-docs
...
Update docs for docker group
2013-08-13 18:02:30 -07:00
Michael Crosby
4947e32acb
Merged 0.5.3 hotfix release back to master
...
Conflicts:
api.go
commands.go
network.go
2013-08-13 23:47:29 +00:00
Thatcher Peskens
6c87db97a6
Resolved conflict in conf.py
...
ps. also changed navigation (swapped community and getting started)
2013-08-13 16:28:24 -07:00
Thatcher Peskens
f127c471a1
Merge remote-tracking branch 'dotcloud/master' into docs-smart-changes
...
Conflicts:
docs/sources/conf.py
2013-08-13 16:25:58 -07:00
Jérôme Petazzoni
280901e5fb
add -insecure flag and relevant tests
2013-08-13 16:20:22 -07:00
Thatcher Peskens
f14db49346
[docs] Some user-friendly changes to the documentation.
...
- Added parmalinks (closes #1527 )
- Changed the 'fork us on github' button to 'Edit this page on github', so people can edit quickly (closes #1532 )
- Changed the favicon
2013-08-13 16:18:32 -07:00
Michael Crosby
f1cdba2937
Merge pull request #1516 from unclejack/up_hack_dockerfile_go_version_to_1.1.2
...
use Go 1.1.2 for dockerbuilder
2013-08-13 14:50:12 -07:00
Andy Rothfusz
0794f0b518
Merge pull request #1526 from metalivedev/1522-faqupdate
...
Added information about Docker's high level tools over LXC.
2013-08-13 13:57:47 -07:00
Andy Rothfusz
e2409ad337
Added information about Docker's high level tools over LXC. Formatting cleanup. Mailing list cleanup.
2013-08-13 13:45:07 -07:00
Guillaume J. Charmes
ca92bc7798
Merge pull request #1501 from KSid/vagrant-dev-dockerfile
...
Install websocket library before building docker
2013-08-13 12:16:30 -07:00
Michael Crosby
e4f35dd4cf
Update docs for docker group
2013-08-13 12:05:27 -07:00
shin-
2cebe09924
brew: Display a clear error message when the path is invalid
2013-08-13 20:28:15 +02:00
shin-
e5f1b6b9a4
brew: Updated requirements
2013-08-13 20:13:39 +02:00
shin-
79fc90b646
brew: Don't build if docker daemon can't be reached
2013-08-13 20:13:39 +02:00
shin-
fb7c4214ce
brew: Reuse repositories when possible
2013-08-13 20:13:39 +02:00
Michael Crosby
06a092bdb5
Merge pull request #1510 from dotcloud/bump_0.5.3
...
Bump to 0.5.3
2013-08-13 10:41:57 -07:00
Guillaume J. Charmes
9cc3d7a18b
Merge pull request #1515 from dotcloud/rework_auth_push
...
* Registry: Improve auth push
2013-08-13 10:15:59 -07:00
unclejack
e09863fedb
use Go 1.1.2 for dockerbuilder
2013-08-13 19:48:30 +03:00
Victor Vieux
2ba1300773
remove checkIfLogged
2013-08-13 14:02:49 +00:00
Victor Vieux
6cb908bb82
fix merge issue
2013-08-13 13:35:34 +00:00
Victor Vieux
5ee3c58d25
Add USER instruction
2013-08-13 12:02:17 +00:00
Guillaume J. Charmes
f6760fca88
Merge pull request #1485 from dotcloud/1471-unixsocket-group
...
* Runtime: API, issue 1471: Use groups for socket permissions
2013-08-12 16:21:53 -07:00
Michael Crosby
ec61c46bf7
Add import for dotcloud/tar to replace std tar pkg
2013-08-12 22:42:29 +00:00
Andy Rothfusz
90cb66f08d
Merge pull request #1508 from pborreli/typos
...
Fixed typos
2013-08-12 15:17:02 -07:00
Daniel Mizyrycki
999a8d7249
API, issue 1471: Allow users belonging to the docker group to use the docker client
2013-08-12 15:16:49 -07:00
Andy Rothfusz
13acf72a3e
Merge pull request #1504 from zaiste/docs/postgresql-service
...
docs/postgresql: PostgreSQL service on Docker example
2013-08-12 14:47:19 -07:00
Solomon Hykes
aa213b48a4
Merge pull request #1488 from KSid/336-bash-completion
...
* Contrib: bash completion script
2013-08-12 11:50:25 -07:00
Pascal Borreli
9b2a5964fc
Fixed typos
2013-08-12 18:53:06 +01:00
Guillaume J. Charmes
1110bb8e98
Merge pull request #1476 from dotcloud/improve_TestKillDifferentUser
...
* Tests: Improve TestKillDifferentUser to prevent timeout on buildbot
2013-08-12 10:23:08 -07:00
Victor Vieux
168e2f8c49
Merge pull request #1491 from titanous/gitignore-test
...
gitignore all test files
2013-08-12 09:18:31 -07:00
Michael Crosby
86ef6422f3
Merge pull request #1487 from titanous/maintainer-usernames
...
Add GitHub usernames to MAINTAINERS
2013-08-12 09:07:10 -07:00
Zaiste!
3af60bf375
fix/docs: ubuntu instead of base, note about root-only
2013-08-12 15:30:52 +02:00
Victor Vieux
123c80467b
Added docs
2013-08-12 11:55:23 +00:00
Ken Cochrane
edba1af304
Merge pull request #1494 from KSid/typo-docs-run-command
...
* Documentation: Fix typo in docs for docker run -dns
2013-08-12 04:51:56 -07:00
Ken Cochrane
875e16c11b
Merge pull request #1499 from seldo/master
...
* Documentation: Adding a reference to ps -a
2013-08-12 04:51:17 -07:00
Victor Vieux
703905d7ec
ensure the use oh IDs and add image's name in /events
2013-08-12 11:50:03 +00:00
Zaiste!
d52c149075
docs/postgresql: PostgreSQL service on Docker example
2013-08-12 12:03:43 +02:00
Victor Vieux
3f95d1b9bf
Merge pull request #1497 from vincentbernat/fix/ipv4-forwarding-detection
...
runtime: correctly detect IPv4 forwarding
2013-08-12 02:07:03 -07:00
Kawsar Saiyeed
def9598ed9
Install websocket library before building docker
2013-08-12 05:22:33 +01:00
Laurie Voss
529ee848da
Adding a reference to ps -a
...
It was confusing to me as a first-time user that my docker attach command failed; I was expecting the container to run continuously, and when I couldn't attach to it, I assumed something was wrong. ps -a shows that the container still exists, which gives the user confidence to go to the next step.
2013-08-11 17:27:47 -07:00
Vincent Bernat
64b817a5c1
runtime: correctly detect IPv4 forwarding
...
When memory cgroup is absent, there was not attempt to detect if IPv4
forwarding was enabled and therefore, docker was printing a warning
for each command spawning a new container. The test for IPv4
forwarding was guarded by the test for memory cgroup.
2013-08-11 11:52:16 +02:00
Brandon Liu
02b8d14bdd
Add test case for Graph ByParent().
2013-08-11 01:24:21 -07:00
Brandon Liu
025c759e44
Fix Graph ByParent() to generate list of child images per parent image.
2013-08-11 00:37:16 -07:00
Michael Crosby
940d58806c
Merge pull request #1483 from titanous/update-authors
...
Update AUTHORS
2013-08-10 21:16:34 -07:00
Kawsar Saiyeed
a2fb870ce3
Fix typo in docs for docker run -dns
2013-08-11 02:04:04 +01:00
Kawsar Saiyeed
e737856a7f
Still missed -entrypoint from 'docker run'
2013-08-11 01:29:22 +01:00
Kawsar Saiyeed
ae1909b482
Clarified bash completion limitations
2013-08-11 01:08:47 +01:00
Kawsar Saiyeed
d75282eb14
Missed -entrypoint from 'docker run' options
2013-08-11 00:57:18 +01:00
Daniel Mizyrycki
cd9886f0a8
Merge pull request #1489 from dotcloud/1422-revert-upstart
...
Revert "docker.upstart: avoid spawning a `sh` process"
2013-08-10 11:07:21 -07:00
Jonathan Rudenberg
a43bae4c0b
gitignore all test files
2013-08-10 13:48:24 -04:00
Kawsar Saiyeed
91ae135896
Add description and usage information
2013-08-10 13:05:31 +01:00
Greg Thornton
57b49efc98
Skip existing volumes in volumes-from
...
Removes the error when a container already has a volume that would otherwise
be created by `Config.VolumesFrom`. Allows restarting containers with a
`Config.VolumesFrom` set.
2013-08-10 06:37:57 +00:00
Greg Thornton
3bd73a9633
Apply volumes-from before creating volumes
...
Copies the volumes from the container specified in `Config.VolumesFrom` before
creating volumes from `Config.Volumes`. Skips any preexisting volumes when
processing `Config.Volumes`. Fixes #1351
2013-08-10 04:55:23 +00:00
Michael Crosby
e3acbff2ed
Revert "docker.upstart: avoid spawning a sh process"
...
This reverts commit 24dd50490a .
2013-08-10 03:06:08 +00:00
Kawsar Saiyeed
d6e5c2c276
Add initial bash completion script
...
The script can be used to auto-complete commands, image names and
container ids from within a bash prompt.
This partially resolves #336 .
2013-08-10 02:38:11 +01:00
Jonathan Rudenberg
4dc04d7690
Add GitHub usernames to MAINTAINERS
2013-08-09 21:16:44 -04:00
Michael Crosby
3e12349831
Merge pull request #1484 from titanous/use-range
...
Use ranged for loop on channels
2013-08-09 18:06:12 -07:00
Jonathan Rudenberg
7c50221de5
Use ranged for loop on channels
2013-08-09 20:42:20 -04:00
Michael Crosby
3d63087f78
Merge pull request #1481 from titanous/fix-sprint
...
Fix typo: fmt.Sprint -> fmt.Sprintf
2013-08-09 17:28:59 -07:00
Jonathan Rudenberg
1408f08c40
Update AUTHORS
2013-08-09 20:09:42 -04:00
Jonathan Rudenberg
3b23f02229
Fix typo: fmt.Sprint -> fmt.Sprintf
2013-08-09 19:52:05 -04:00
Guillaume J. Charmes
fd5099c9fe
Merge pull request #1479 from jpetazzo/fix-testbindmounts-typo
...
- Tests: fix typo in TestBindMounts (runContainer called without image)
2013-08-09 16:20:24 -07:00
Jérôme Petazzoni
68b09cbe3d
fix typo in TestBindMounts (runContainer called without image)
2013-08-09 16:03:05 -07:00
Guillaume J. Charmes
92cd2f5bad
Merge pull request #1146 from benoitc/feature/attach_ws
...
* Runtime: add websocket support to /container/<name>/attach/ws
2013-08-09 15:38:24 -07:00
Guillaume J. Charmes
8d1cd63dfa
Merge pull request #1460 from dotcloud/patch1
...
* Runtime: Mount /dev/shm as a tmpfs
2013-08-09 15:18:22 -07:00
Michael Crosby
2c4c10fb4a
Merge pull request #1477 from kevinclark/builder-fixme
...
Only count known instructions as build steps
2013-08-09 14:45:06 -07:00
Kevin Clark
722d4e916a
Add myself to AUTHORS
2013-08-09 14:39:03 -07:00
Kevin Clark
4ff649a4ea
Only count known instructions as build steps
...
stepN is only used in the log line, so if we only produce the log line
when there's a message, it should do the right thing.
If it's *not* a valid instruction, it gets a line as well, so there's no
reason to double up.
2013-08-09 14:38:29 -07:00
unclejack
641ddaeb03
add formatting directive to failure to stop container error
2013-08-09 23:27:34 +03:00
unclejack
2ba5c91547
minor cleanup for signal handling
2013-08-09 23:23:27 +03:00
Michael Crosby
25e7227c81
Merge pull request #1462 from dotcloud/fix_build_events_output
...
Fix docker build and docker events output
2013-08-09 12:41:18 -07:00
Jérôme Petazzoni
04cd0a392b
Merge pull request #1463 from jpetazzo/https-get-docker-io
...
switch from http to https for get.docker.io
2013-08-09 11:26:56 -07:00
Guillaume J. Charmes
db9d68c3e4
Improve TestKillDifferentUser to prevent timeout on buildbot
2013-08-09 10:50:58 -07:00
unclejack
88cb9f3116
keep processing signals after the first one
2013-08-09 20:33:17 +03:00
Guillaume J. Charmes
55f9610cde
Merge pull request #1452 from dotcloud/improve_TestGetContainersTop
...
* Tests: Improve TestGetContainersTop so it does not rely on sleep
2013-08-09 10:28:34 -07:00
shin-
6178dc7f1b
brew: added safeguards in script and changed default branch to 'master'
2013-08-09 16:40:28 +02:00
Solomon Hykes
b8f8f9d07e
Merged 0.5.2 hotfix release back to master
2013-08-08 19:45:57 -07:00
Michael Crosby
28d38620f0
Merge pull request #1417 from crosbymichael/root-socket
...
Change daemon to listen on unix socket by default
2013-08-08 17:06:49 -07:00
Jérôme Petazzoni
1ce9b3ca9c
switch from http to https
2013-08-08 17:02:59 -07:00
Victor Vieux
213365c2d2
fix docker build and docker events output
2013-08-08 22:51:39 +00:00
Sam Alba
7f02bd3b7a
Merge pull request #1361 from dotcloud/library
...
Docker-brew and Docker standard library
2013-08-08 14:22:20 -07:00
Guillaume J. Charmes
ceb33818cd
Improve TestGetContainersTop so it does not rely on sleep
2013-08-08 11:51:31 -07:00
Guillaume J. Charmes
18fc707fdf
Make sure all needed mountpoint are present
2013-08-08 11:25:02 -07:00
Michael Crosby
c3027fa9ac
Merge pull request #1216 from dotcloud/add_some_tests
...
Add some tests in server and utils
2013-08-08 09:57:18 -07:00
Victor Vieux
4249867e5b
rebase
2013-08-08 14:58:52 +00:00
Victor Vieux
c804a5f827
rebase master
2013-08-08 14:56:37 +00:00
Victor Vieux
be77ee33bc
Merge branch 'master' into add_some_tests
2013-08-08 14:44:56 +00:00
Victor Vieux
5928ed5d45
Merge pull request #1456 from dotcloud/1455-force_commit_build_env
...
Make sure ENV instruction within build perform a commit each time
2013-08-08 07:37:51 -07:00
Karan Lyons
075d30dbce
Mount /dev/shm as a tmpfs
...
Fixes #1122 .
2013-08-07 17:44:33 -07:00
Guillaume J. Charmes
6a6a2ad8a4
Make sure ENV instruction within build perform a commit each time
2013-08-07 17:23:49 -07:00
Guillaume J. Charmes
279fe144e1
Merge pull request #1420 from jpetazzo/fix-get-docker-io-upstart-script
...
* Packaging: Fix the upstart script generated by get.docker.io
2013-08-07 17:13:54 -07:00
Daniel Mizyrycki
cc80bd41c4
Merge pull request #1423 from krautcomputing/fix_indentation_in_vagrantfile
...
Fix indentation in Vagrantfile
2013-08-07 17:10:40 -07:00
Andy Rothfusz
06183e6cdc
Merge pull request #1447 from kermit666/image-tag-doc
...
doc: syntax to run a specific image tag
2013-08-07 16:23:45 -07:00
Guillaume J. Charmes
6249cc3373
Merge pull request #1425 from dotcloud/simplify_ProgressReader
...
- Runtime: fix small \n error un docker build
2013-08-07 16:19:42 -07:00
Solomon Hykes
80f34c6aeb
Merge pull request #1451 from dotcloud/michael-maintainer
...
Add Michael Crosby to core maintainers
2013-08-07 15:53:29 -07:00
Guillaume J. Charmes
a2f526dadc
Merge pull request #1435 from jpetazzo/userland-proxy-should-listen-on-inaddr-any
...
* Runtime: Let userland proxy handle container-bound traffic
2013-08-07 15:48:17 -07:00
Guillaume J. Charmes
429d2f85cb
Merge pull request #1445 from dsissitka/host
...
* Runtime: Updated the Docker CLI to specify a value for the "Host" header.
2013-08-07 15:38:50 -07:00
Guillaume J. Charmes
2ca018b2eb
Merge pull request #1395 from c00w/490-warn-ipv4forwarding-disabled
...
* Runtime: Add warning when net.ipv4.ip_forwarding = 0
2013-08-07 15:31:12 -07:00
Guillaume J. Charmes
3e6e08ce00
Merge pull request #1362 from dotcloud/registry_test
...
* Registry: Registry unit tests + mock registry
2013-08-07 15:30:07 -07:00
Colin Rice
3e491f8698
Fix reversed IPv4Forwarding check in api.go
2013-08-07 18:28:40 -04:00
Colin Rice
ccffa69766
Add Colin Rice to AUTHORS file
2013-08-07 18:28:39 -04:00
Colin Rice
10190be5d7
Add warning when net.ipv4.ip_forwarding = 0
...
Added warnings to api.go, container.go, commands.go, and runtime.go
Also updated APIInfo to return whether IPv4Forwarding is enabled
2013-08-07 18:28:39 -04:00
Guillaume J. Charmes
65a4e30825
Merge pull request #1093 from monnand/910-login-info
...
* Runtime: fixed #910 . print user name to docker info output
2013-08-07 15:09:55 -07:00
Guillaume J. Charmes
e63960caae
Merge pull request #1450 from dotcloud/add-sandbox
...
- Builder: Forbid certain paths within docker build ADD
2013-08-07 15:04:36 -07:00
benoitc
e2ca600fd8
Merge branch 'feature/attach_ws' into feature/attach_ws2
...
Conflicts:
api.go
2013-08-07 23:30:28 +02:00
Solomon Hykes
4860df1689
Add Michael Crosby to core maintainers
2013-08-07 21:24:41 +00:00
Michael Crosby
ced93bcabd
Modify test to accept error from mkContainer
2013-08-07 19:07:39 +00:00
Sean P. Kane
0e21de9a25
Assume that if VAGRANT_DEFAULT_PROVIDER is set we shouldn't install vbox tools
2013-08-07 09:38:49 -07:00
Michael Crosby
3104fc8d33
Forbid certain paths within docker build ADD
2013-08-07 16:05:30 +00:00
Victor Vieux
2409df9285
Merge pull request #1434 from jpetazzo/fix-ec2-dns-conflict
...
change network range to avoid conflict with EC2 DNS
2013-08-07 08:43:53 -07:00
Victor Vieux
2e37be973f
Merge pull request #1436 from jpetazzo/fix-loopback-interface-test-index
...
relax the lo interface test to allow iface index != 1
2013-08-07 08:40:55 -07:00
Dražen Lučanin
6115348dd9
doc: syntax to run a specific image tag
2013-08-07 13:57:31 +02:00
David Sissitka
416d098688
Updated my last commit to use tabs instead of spaces.
2013-08-07 05:35:38 -04:00
David Sissitka
6bbe66d2e6
Updated the Docker CLI to specify a value for the "Host" header.
2013-08-07 05:33:03 -04:00
Andy Rothfusz
3782e34e67
Merge pull request #1430 from metalivedev/1031-linuxheaders
...
Suggest installing linux-headers by default. Address #1187 and #1031
2013-08-06 18:56:34 -07:00
Jérôme Petazzoni
84790aafd8
relax the lo interface test to allow iface index != 1
2013-08-06 18:31:05 -07:00
Jérôme Petazzoni
fea2d5f2fe
Let userland proxy handle container-bound traffic
2013-08-06 17:44:39 -07:00
Jérôme Petazzoni
9f1c9686e0
change network range to avoid conflict with EC2 DNS
2013-08-06 17:24:10 -07:00
Andy Rothfusz
e0a6f27d1b
Suggest installing linux-headers by default. Address #1187 and #1031
2013-08-06 13:56:29 -07:00
Andy Rothfusz
9130ee7513
Merge pull request #1428 from dhrp/twitterhandle
...
changed the twitter handle
2013-08-06 13:38:22 -07:00
shin-
65c8e9242c
brew: added support for push on private registries.
2013-08-06 21:08:27 +02:00
Thatcher Peskens
1d654f6156
changed the twitter handle
2013-08-06 11:40:16 -07:00
Victor Vieux
4af24e11a4
Merge pull request #1221 from crosbymichael/cmd-cp
...
*Client: Add docker cp command and copy api endpoint to copy container files/folders to the host
2013-08-06 09:15:39 -07:00
Michael Crosby
583f5868c9
Move copy command docs to api 1.4 document
2013-08-06 16:09:54 +00:00
Michael Crosby
d94b186080
Strip leading forward slash from resource
2013-08-06 16:09:54 +00:00
Michael Crosby
5b8cfbe15c
Add cp command and copy api endpoint
...
The cp command and copy api endpoint allows users
to copy files and or folders from a containers filesystem.
Closes #382
2013-08-06 16:09:54 +00:00
Victor Vieux
0dbc51f4d2
Merge pull request #1394 from crosbymichael/1391-json-requests
...
Use mime pkg to parse Content-Type
2013-08-06 08:59:10 -07:00
Michael Crosby
754ed9043d
Use mime types to parse Content-Type
2013-08-06 15:57:13 +00:00
Victor Vieux
ba17f4a06a
fix small \n error un docker build
2013-08-06 14:31:51 +00:00
Manuel Meurer
b9149f45bf
Fix indentation in Vagrantfile
2013-08-06 15:21:26 +02:00
Victor Vieux
b6c4b325a4
Merge pull request #1406 from dotcloud/1363-reduce_timeout-fix
...
Reduce connect and read timeout when pinging the registry (fixes issue #1363 )
2013-08-06 04:22:44 -07:00
Nan Monnand Deng
965de6ef50
fixing #910
2013-08-05 23:37:53 -04:00
Nan Monnand Deng
303490168f
Added index address into APIInfo.
2013-08-05 23:36:55 -04:00
Michael Crosby
c7c2399be9
Merge pull request #1421 from dotcloud/fix_makefile
...
Make sure all sources have the wanted revision
2013-08-05 20:25:32 -07:00
Guillaume J. Charmes
120a520a22
Make sure all sources have the wanted revision
2013-08-05 19:58:48 -07:00
Andy Rothfusz
7c03bd1e7a
Merge branch 'docs-example-fix' of git://github.com/faizkhan00/docker
...
merges #1402
2013-08-05 18:21:19 -07:00
Jérôme Petazzoni
049d28868e
fix the upstart script generated by get.docker.io (it was not starting dockerd on boot)
2013-08-05 18:11:13 -07:00
Michael Crosby
8934f13615
Change daemon to listen on unix socket by default
2013-08-06 00:12:56 +00:00
Guillaume J. Charmes
dcf9dfb129
Update utils_test.go
2013-08-05 16:32:25 -07:00
Andy Rothfusz
7c9604e32b
Merge pull request #1387 from joevandyk/patch-1
...
Update amazon.rst to explain that Vagrant is not necessary for running Docker on ec2
2013-08-05 16:14:57 -07:00
Andy Rothfusz
b302ae329c
Merge pull request #1418 from dhrp/remote_api_doc_improvements
...
Fixed some typo's and formatting issues in remote api documentation.
2013-08-05 16:13:55 -07:00
Thatcher Peskens
ff6b6f2ce1
Fixed some typo's and formatting issues in remote api documentation.
2013-08-05 15:55:40 -07:00
Thatcher
d49f141fb3
Merge pull request #1303 from dhrp/update-spinx-for-man
...
Enabled the docs to generate manpages.
2013-08-05 15:31:51 -07:00
Guillaume J. Charmes
590fc58de7
Update version.
2013-08-05 14:49:37 -07:00
Guillaume J. Charmes
c03561eea8
Update CHANGELOG.md
2013-08-05 14:32:54 -07:00
Nan Monnand Deng
4179f25286
fixed #910 . print user name to docker info output
2013-08-05 17:25:29 -04:00
Guillaume J. Charmes
e54e8fa920
Merge pull request #1290 from dotcloud/parallel_pull
...
* Runtime: Parallel pull
2013-08-05 14:17:29 -07:00
Guillaume J. Charmes
2f1c05d997
Merge pull request #1374 from dotcloud/steeve-patch-1
...
- Runtime: Handle ip route showing mask-less IP addresses
2013-08-05 14:13:20 -07:00
Andy Rothfusz
baa4618e57
Merge pull request #1390 from grobie/clarify-amazon-documentation
...
Clarify Amazon EC2 installation type
2013-08-05 13:26:28 -07:00
Andy Rothfusz
dcc1e3562f
Merge pull request #1404 from dnordberg/fix-base-refs
...
'Base' image is depreciated and should no longer be referenced in the docs.
2013-08-05 13:24:05 -07:00
Guillaume J. Charmes
f6fa353dd8
Merge pull request #1267 from sridatta/new-clean-init
...
* Runtime: Fix to "Inject dockerinit at /.dockerinit"
2013-08-05 13:23:22 -07:00
Andy Rothfusz
d4fa619ed1
Merge pull request #1411 from andrewmacgregor/doc-typos
...
Minor typos found while reading docs
2013-08-05 13:22:53 -07:00
shin-
8aa9985ad0
Adapted tests to latest registry changes
2013-08-05 20:28:05 +02:00
shin-
2c85b964e3
Cleanup
2013-08-05 19:07:23 +02:00
shin-
9159c819c3
Mock access logs don't show up in non-debug mode
2013-08-05 19:06:00 +02:00
shin-
484ba4a8c5
gofmt
2013-08-05 19:06:00 +02:00
shin-
97b7b173b9
New registry unit tests remade from scratch, using the mock registry
2013-08-05 19:06:00 +02:00
shin-
29f69211c9
Mock registry: Fixed a bug where the index validation path would return a 200 status code instead of the expected 204
2013-08-05 19:06:00 +02:00
shin-
553ce165c1
registry: Fixed a bug where token and cookie info wouldn't be sent when using LookupRemoteImage(). Fixed a bug where no error would be reported when getting a non-200 status code in GetRemoteImageLayer()
2013-08-05 19:05:14 +02:00
Sam Alba
310ddec823
Disabled test server in the tests
2013-08-05 19:02:57 +02:00
Sam Alba
6926ba558f
Mocked registry: Added X-Docker-Size when fetching the layer
2013-08-05 19:02:57 +02:00
Sam Alba
97d1d6f5d2
Fixed mocked registry
2013-08-05 19:02:57 +02:00
Sam Alba
5f7abd5347
Implemented a Mocked version of the Registry server
2013-08-05 19:02:57 +02:00
Victor Vieux
946bbee39a
rebase master
2013-08-05 16:25:42 +00:00
Victor Vieux
bdc0e8f825
Merge pull request #1405 from jonasi/entrypoint-noargs
...
*Runtime: Allow ENTRYPOINT without CMD
2013-08-05 09:00:39 -07:00
Victor Vieux
1b08ab92d1
Merge pull request #1408 from dotcloud/1407-localhost_is_a_domain-fix
...
Always consider localhost as a domain name when parsing the FQN repos name
2013-08-05 08:50:12 -07:00
Victor Vieux
feda3db1dd
Merge pull request #1382 from monnand/650-http-utils
...
650 http utils and user agent field
2013-08-05 08:49:12 -07:00
Andrew Macgregor
ce97a71adf
Minor typos found while reading docs
2013-08-05 22:47:16 +08:00
Isao Jonas
d00fb40967
added tests for 1405
2013-08-05 09:30:27 -05:00
Isao Jonas
0f249c85ea
fix entrypoint without cmd
2013-08-05 09:07:03 -05:00
Ken Cochrane
a37b42b57c
Merge pull request #1400 from gorsuch/doc-typo
...
* Documentation: fix a typo in the ubuntu installation guide
2013-08-05 07:05:27 -07:00
Victor Vieux
dd8c59892c
Merge pull request #1182 from dotcloud/change_build_usage
...
change tag -> repository name (and optionally a tag) in build usage
2013-08-05 04:08:33 -07:00
Victor Vieux
a97cf23355
add docs
2013-08-05 11:07:27 +00:00
Victor Vieux
030cc8d5cc
Merge pull request #1389 from dotcloud/1373-improve_checklocaldns
...
Consider empty /etc/resolv.conf as local dns + add unit test
2013-08-05 02:29:36 -07:00
Sam Alba
c22f2617ad
Always consider localhost as a domain name when parsing the FQN repos name
2013-08-04 17:59:12 -07:00
Sam Alba
c860945be2
Reduce connect and read timeout when pinging the registry (fixes issue #1363 )
2013-08-04 17:42:24 -07:00
Daniel Nordberg
51d0c9238b
'Base' is depreciated and should no longer be referenced in the docs.
...
https://groups.google.com/forum/\#!topic/docker-club/pEjqMgcrnqA
2013-08-05 01:34:32 +03:00
Faiz K
22df1249b5
bash commands while in the container aren't in the transcript! Added.
2013-08-04 08:26:56 -05:00
David Calavera
bdaa87ff21
Print a new line after getting the password from stdin.
2013-08-03 21:30:07 -07:00
Michael Gorsuch
db0ccaac9b
typo: s/connexions/connections
2013-08-03 22:11:59 -05:00
David Calavera
4089a20cf4
Exit if there is any error reading from stdin.
2013-08-03 17:27:15 -07:00
David Calavera
75ac50a9a0
Stop making a raw terminal to ask for registry login credentials.
...
It only disables echo asking for the password and lets the terminal to handle everything else.
It fixes #1392 since blank spaces are not discarded as they did before.
It also cleans the login code a little bit to improve readability.
2013-08-03 16:43:20 -07:00
David Calavera
58e0c68132
Merge branch 'master' into login_signal
...
* master: (54 commits)
Return JSONError for HTTPResponse error
Fix TestEnv
Revert "Bind daemon to 0.0.0.0 in Vagrant. Fixes #1304 "
Add unit tests for build no cache
Add no cache for docker build
Move note about officially supported kernel
Solved the logo being squished in Safari
Add hostname to the container environment.
fix same issue in api.go
improve tests
Return registy status code in error
update http://get.docker.io/latest
Add check that the request is good
fix tests about refactor checksums
add ufw doc
Fixed a couple of minor syntax errors.
Updated the description of run -d
Make sure the index also receives the checksums
Switch json/payload order
Remove unused parameter
...
2013-08-03 15:43:43 -07:00
David Calavera
cd6aeaf979
Sort APIImages by most recent creation date.
...
Fixes #985 .
2013-08-03 15:35:36 -07:00
Tobias Schmidt
708cd34586
Clarify Amazon EC2 installation type
...
Make clear this documentation is about installing docker on EC2 with the
help of vagrant, which doesn't make it easy to start multiple instances,
instead of plain vanilla EC2 installation.
2013-08-03 17:31:20 +07:00
Guillaume J. Charmes
4dcc0f316c
Merge pull request #1298 from crosbymichael/1246-auth-request
...
* Registry: Do not require login unless 401 is received on push
2013-08-02 17:39:54 -07:00
Michael Crosby
dae585c6e4
Return JSONError for HTTPResponse error
2013-08-03 00:27:58 +00:00
Andy Rothfusz
b1d994e3b9
Merge pull request #1375 from grobie/patch-1
...
Move note about officially supported kernel
2013-08-02 17:24:15 -07:00
Guillaume J. Charmes
dde8f74cea
Fix TestEnv
2013-08-02 15:58:10 -07:00
Daniel Mizyrycki
9e3d18e606
Merge pull request #1388 from titanous/revert-vagrant-bind
...
Revert "Bind daemon to 0.0.0.0 in Vagrant. Fixes #1304 "
2013-08-02 15:26:05 -07:00
Guillaume J. Charmes
3e9575e275
Consider empty /etc/resolv.conf as local dns + add unit test
2013-08-02 15:23:36 -07:00
Jonathan Rudenberg
07fee44559
Revert "Bind daemon to 0.0.0.0 in Vagrant. Fixes #1304 "
...
This reverts commit bdc79ac8b2 .
2013-08-02 19:18:02 -03:00
Joe Van Dyk
b6bff0cbb1
Update amazon.rst to explain that Vagrant is not necessary for running Docker on ec2
2013-08-02 15:10:57 -07:00
Guillaume J. Charmes
ead7eb619e
Merge pull request #1384 from crosbymichael/1326-build-without-cache
...
* Builder: Add no cache for docker build
2013-08-02 14:38:34 -07:00
Guillaume J. Charmes
29de2432ea
Merge pull request #1350 from ndarilek/1348-add-hostname-to-environment
...
Runtime: add hostname to environment
2013-08-02 13:58:43 -07:00
Guillaume J. Charmes
ffcba1236c
Merge pull request #1117 from dotcloud/add_last_version-feature
...
Add last stable version in `docker version`
2013-08-02 13:53:33 -07:00
Guillaume J. Charmes
0f088d28c5
Merge pull request #1336 from dotcloud/fix_ADD_permissions
...
Builder: Make sure ADD will create everything in 0755
2013-08-02 13:52:19 -07:00
Daniel Mizyrycki
16917275ee
Merge pull request #1346 from dotcloud/1117-update_latest_in_dockerbuilder
...
update http://get.docker.io/latest
2013-08-02 13:51:23 -07:00
Andy Rothfusz
09ab2bfa1d
Merge pull request #1343 from dotcloud/ufw_doc
...
Add ufw doc
2013-08-02 13:33:26 -07:00
Michael Crosby
b9f0695924
Add unit tests for build no cache
2013-08-02 19:12:38 +00:00
Nan Monnand Deng
7bade49d4c
update auth_test.go
2013-08-02 14:08:16 -04:00
Michael Crosby
3a123bc479
Add no cache for docker build
...
Add a new flag to disable the image cache when building images.
2013-08-02 16:18:54 +00:00
Nan Monnand Deng
5bc344ab73
factory generated from one place.
2013-08-02 04:10:26 -04:00
Nan Monnand Deng
4bd287e107
auth with user agent
2013-08-02 03:30:45 -04:00
Nan Monnand Deng
6a56b7b391
Server now use request factory
2013-08-02 03:23:46 -04:00
Nan Monnand Deng
7dac26ce69
reqFactory in Registry
2013-08-02 03:08:08 -04:00
Nan Monnand Deng
793fd983ef
http utils
2013-08-02 02:47:58 -04:00
Tobias Schmidt
2424480e2c
Move note about officially supported kernel
...
It seems this a general note about kernel issues and not specific to Cgroups or namespaces.
2013-08-02 12:24:38 +07:00
Guillaume J. Charmes
f5a8e90d10
Make sure the routes IP are taken into consideration + add unit test for network overlap detection
2013-08-01 18:12:39 -07:00
Daniel Mizyrycki
2e7df5182c
testing, issue #1331 : Add registry functional test to docker-ci
2013-08-01 17:48:17 -07:00
Daniel Mizyrycki
ea2486d631
Merge pull request #1333 from dotcloud/1331-testing-registry
...
testing, issue #1331 : Add registry functional test to docker-ci
2013-08-01 16:00:29 -07:00
Steeve Morin
2e72882216
Handle ip route showing mask-less IP addresses
...
Sometimes `ip route` will show mask-less IPs, so net.ParseCIDR will fail. If it does we check if we can net.ParseIP, and fail only if we can't.
Fixes #1214
Fixes #362
2013-08-01 02:42:22 +02:00
Thatcher
d1e1a8e78c
Merge pull request #1365 from dhrp/solve-logo-squish
...
Solved the logo being squished in Safari
2013-07-31 15:06:26 -07:00
Thatcher
ad3b091d53
Some more improvements on the docs readme. Removed references to website.
2013-07-31 13:59:56 -07:00
Thatcher Peskens
26229d78f2
Updated docs README with instructions to preview the generated manfile, and where to get the one generated by sphinx.
2013-07-31 13:44:10 -07:00
Thatcher Peskens
e0c24ccfc3
Solved the logo being squished in Safari
2013-07-31 12:17:42 -07:00
Victor Vieux
108635582f
rebase master
2013-07-31 15:32:08 +00:00
Victor Vieux
0c0077ed6f
Merge pull request #1328 from dotcloud/1307_url_port_delete-fix
...
Use utils.ParseRepositoryTag instead of strings.Split(name, ":") in server.ImageDelete
2013-07-31 07:55:06 -07:00
Nolan
9a604acc23
Add hostname to the container environment.
2013-07-31 09:50:53 -05:00
Victor Vieux
cd9f7f29d1
Merge pull request #1334 from dotcloud/1314-compat_broke-fix
...
Discard error when loading old container format
2013-07-31 01:08:08 -07:00
Victor Vieux
a7068510a5
fix same issue in api.go
2013-07-31 08:01:20 +00:00
Victor Vieux
73c6d9f135
improve tests
2013-07-31 07:56:53 +00:00
Michael Crosby
3043c26419
Return registy status code in error
...
Added Details map to the JSONMessage
2013-07-30 23:24:31 +00:00
Victor Vieux
e66e0289ab
update http://get.docker.io/latest
2013-07-30 17:18:19 +00:00
Victor Vieux
6166380d76
rebase master
2013-07-30 16:51:50 +00:00
Victor Vieux
e4752c8c1a
Add check that the request is good
2013-07-30 16:42:32 +00:00
Victor Vieux
99c27fa0dd
Merge branch 'master' into add_last_version-feature
2013-07-30 16:23:06 +00:00
Victor Vieux
d5a57a4b5e
Merge pull request #1344 from dotcloud/refactor_checksum_tests
...
fix tests about refactor checksums
2013-07-30 06:13:49 -07:00
Victor Vieux
b14c251862
fix tests about refactor checksums
2013-07-30 13:13:18 +00:00
Victor Vieux
bcd6ca3685
Merge pull request #1268 from dotcloud/refactor_checksum
...
Refactor checksum
2013-07-30 06:07:54 -07:00
Victor Vieux
46f59dd933
add parallel pull to 1.4
2013-07-30 12:15:33 +00:00
Victor Vieux
e1fa989ec9
rebase master
2013-07-30 11:59:31 +00:00
Victor Vieux
7d0b8c726c
add ufw doc
2013-07-30 13:47:29 +02:00
Guillaume J. Charmes
5b27652ac6
Make sure the index also receives the checksums
2013-07-29 11:30:21 -07:00
Guillaume J. Charmes
394941b6b0
Switch json/payload order
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
0f134b4bf8
Remove unused parameter
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
0badda9f15
Refactor the image size storage
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
e3f68b22d8
Handle extra-paremeter within checksum calculations
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
8ca7b0646e
Refactor checksum
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
f7542664e3
Make sure ADD will create everything in 0755
2013-07-29 11:03:09 -07:00
Daniel Mizyrycki
17ffb0ac84
testing, issue #1331 : Add registry functional test to docker-ci
2013-07-29 09:45:19 -07:00
Victor Vieux
b2aa877bf0
fix #1314 discard error when loading old container format
2013-07-29 16:40:35 +00:00
Victor Vieux
bb241c10e2
add regression tests
2013-07-29 12:16:14 +00:00
Victor Vieux
3852d05990
add ParseRepositoryTag tests
2013-07-29 12:16:01 +00:00
Victor Vieux
63876e7dbd
use ParseRepositoryTag instead on split on : in imagedelete
2013-07-29 12:15:27 +00:00
David Calavera
bb06fe8dd9
Allow to generate signals when termios is in raw mode.
2013-07-27 09:14:38 -07:00
David Calavera
7cc90f2bc5
Use a more idiomatic syntax to capture the exit.
2013-07-26 18:12:05 -07:00
David Calavera
01ce312c2d
Exit from docker login on SIGTERM and SIGINT.
...
Fixes #1299 .
2013-07-26 17:40:45 -07:00
Thatcher Peskens
f4b63d9eea
Enabled the docs to generate manpages.
...
* changed conf.py to reference toctree.rst instead of index
* Added note to README to upgrade your sphinx to the latest version to prevent a bug with .. note:: blocks.
2013-07-25 17:19:58 -07:00
shin-
12d575a6b1
Script cleans up downloaded repos, uses quiet build
2013-07-25 21:00:36 +02:00
Victor Vieux
01e98bf0dd
fix errors
2013-07-25 14:32:46 +00:00
Victor Vieux
f1dd299227
Use VT100 escape codes
...
:
2013-07-25 14:16:36 +00:00
shin-
94053b4225
Brew: Added cache prefilling and build summary
2013-07-24 23:48:16 +02:00
shin-
77ff537697
Brew: Fixed docker-py requirement
2013-07-24 23:48:16 +02:00
shin-
362f1735e6
Brew: Avoid duplicate commands, added --debug option, added local repo support
2013-07-24 23:48:16 +02:00
shin-
7813f2a25e
Updated git repos for precise and raring
2013-07-24 23:48:16 +02:00
shin-
3781a2cc4b
Added definition file for busybox and updated ubuntu
2013-07-24 23:48:16 +02:00
shin-
d47df21a33
Add brew script to the contrib folder
2013-07-24 23:48:16 +02:00
Joffrey F
0ac672fea6
Use full hash references in library/
...
Brew doesn't currently support abridged hashes
2013-07-24 23:48:16 +02:00
Joffrey F
c19fa83a8a
Use extended syntax (indicate what type of object needs to be checked out)
2013-07-24 23:48:16 +02:00
Solomon Hykes
844a9ab85e
Define tags in the library files instead of upstream
2013-07-24 23:48:16 +02:00
Solomon Hykes
a45490243b
Adding Joffrey as library maintainer
2013-07-24 23:48:16 +02:00
Solomon Hykes
b06f627139
Library: hipache and ubuntu base
2013-07-24 23:48:16 +02:00
Victor Vieux
8742649aa7
improve client output
2013-07-24 17:10:59 +00:00
Victor Vieux
0e71e368a8
Add ID to JSONMessage in pull
...
Use goroutines to pull in parallel
If multiple images pulled at the same time, each progress is displayed on a new line
2013-07-24 15:41:34 +00:00
Victor Vieux
066873ebd2
rebase master
2013-07-24 14:38:40 +00:00
Sridatta Thatipamala
945033f1cc
change permissions of initLayer to be readable by non-root users
2013-07-22 14:55:07 -07:00
unclejack
df86cb9a5c
make docker run handle SIGINT/SIGTERM
2013-07-20 13:47:13 +03:00
Victor Vieux
0afed3eded
handle -dev
2013-07-18 20:56:41 +00:00
Victor Vieux
39ff542142
Merge branch 'master' into add_last_version-feature
2013-07-18 20:51:31 +00:00
Solomon Hykes
5d8efc107d
+ Runtime: inject dockerinit at /.dockerinit instead of overwriting /sbin/init. This makes it possible to run /sbin/init inside a container.
2013-07-17 17:13:34 -07:00
Victor Vieux
1a226f0e28
add VolumesFrom to MergeConfig, and test
2013-07-17 21:06:46 +00:00
Victor Vieux
7c00201222
add Volumes and VolumesFrom to CompareConfig
2013-07-17 20:51:25 +00:00
Victor Vieux
2db99441c8
prevent any kind of operation simultaneously
2013-07-17 20:39:36 +00:00
Victor Vieux
48a892bee5
Add CompareConfig test
2013-07-16 15:58:23 +00:00
Victor Vieux
fb005a3da8
add server.ContainerTop, server.poolAdd and ser.poolRemove tests
2013-07-16 14:38:18 +00:00
benoitc
d639f61ec1
reuse the type
2013-07-13 19:19:38 +02:00
benoitc
a3b1a9f01a
useless function. forgot to remove it.
2013-07-13 17:04:04 +02:00
benoitc
507cef8bce
useless type
2013-07-13 17:03:04 +02:00
benoitc
166eba3e28
put the websocket route in the map containing all routes
...
Instead of handling the websocket differently just handle it as a normal
route and upgrade it to a websocket.
2013-07-13 17:00:40 +02:00
Victor Vieux
e9011122fb
use http://get.docker.io/latest
2013-07-12 11:45:40 +00:00
Victor Vieux
fc3a8e409d
change tag -> repo name in build usage
2013-07-10 22:44:31 +00:00
benoitc
8eeff01939
add websocket support to /container/<name>/attach/ws
...
This function add the possibility to attach containers streams to a
websocket. When a websocket is asked the request is upgraded to this
protocol..
2013-07-06 02:05:02 +02:00
Victor Vieux
64450ae3f8
add last version
2013-07-03 17:11:00 +00:00