Alexander Morozov
bb96e53b0f
Fix vet error about passing Mutex by value
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-01-14 14:03:00 -08:00
Alexander Morozov
5ce60217f1
Calming vet about type aliases from other package
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-01-14 14:01:36 -08:00
Victor Vieux
f67c6d313b
Merge pull request #10082 from jfrazelle/10081-fix-renaming
...
Renaming a container with an invalid name should fail
2015-01-14 13:12:36 -08:00
Jessica Frazelle
a92281637f
Renaming a container with an invalid name should fail
...
Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
2015-01-14 12:54:23 -08:00
Michael Crosby
37b69408f8
Merge pull request #10056 from coolljt0725/add_link_accept_ID
...
Add --link accept container ID
2015-01-14 12:50:10 -08:00
Michael Crosby
71ab2efbfa
Merge pull request #9836 from SvenDowideit/transcluded-no-sudo-note
...
Add a note that remote and Boot2Docker users should not type sudo
2015-01-14 12:44:53 -08:00
Jessie Frazelle
95fea08f7a
Merge pull request #10072 from LK4D4/fix_mutable_net_files
...
Rewrite TestRunMutableNetworkFiles to avoid races
2015-01-14 11:48:46 -08:00
Tibor Vass
7d80fd6ca6
Merge pull request #10092 from docker/revert-10087-proper-netgo-thanks-rsc
...
Revert new netgo
2015-01-14 10:15:14 -08:00
Jessie Frazelle
e7cfb1c28b
Revert "Add proper "netgo" compiling, thanks to rsc ♥"
...
Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <jfrazelle@users.noreply.github.com> (github: jfrazelle)
2015-01-14 09:55:35 -08:00
Jessie Frazelle
5136b11514
Merge pull request #10075 from LK4D4/test_for_maxcount
...
Test for restarting count
2015-01-14 09:17:02 -08:00
Jessie Frazelle
355415d823
Merge pull request #10086 from tianon/properly-fix-daemon-kill-on-failure
...
Properly fix "daemon kill" on test failure
2015-01-14 09:13:32 -08:00
Jessie Frazelle
c05e7c4135
Merge pull request #10087 from tianon/proper-netgo-thanks-rsc
...
Add proper "netgo" compiling, thanks to rsc ♥
2015-01-14 09:09:18 -08:00
Lei Jitang
2292167b02
Add tests for --link
...
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2015-01-14 15:25:58 +08:00
Tianon Gravi
b5aba426d4
Add proper "netgo" compiling, thanks to rsc ♥
...
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-01-13 21:35:21 -07:00
Alexander Morozov
79d30364c9
Test for restarting count
...
This test is for #10058
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-01-13 20:28:44 -08:00
Tianon Gravi
c18fdc3704
Properly fix "daemon kill" on test failure
...
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-01-13 21:12:07 -07:00
Sven Dowideit
d5df948829
Add a note that remote and Boot2Docker users should not type sudo
...
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
2015-01-13 21:40:14 -05:00
Jessie Frazelle
c9dab702be
Merge pull request #10076 from MalteJ/ipv6-docs
...
IPv6 docs: The ARP cache is called NDP neighbor cache in IPv6
2015-01-13 17:05:28 -08:00
Michael Crosby
e90df7c8d2
Merge pull request #10077 from crosbymichael/parallel-image-check
...
Parallel image lookup
2015-01-13 17:02:49 -08:00
Michael Crosby
47e3da848f
Merge pull request #10080 from crosbymichael/pid-ns
...
Add --pid flag for staying in the host's pid namespace
2015-01-13 17:00:18 -08:00
Michael Crosby
8ac075b846
Merge pull request #10036 from HuKeping/docs-next
...
docs: update docker inspect part of docs
2015-01-13 16:43:42 -08:00
Michael Crosby
23b48fbe14
Merge pull request #10079 from tonistiigi/fix-attach-stdin
...
Fix attach stream closing issues
2015-01-13 16:40:42 -08:00
Michael Crosby
15e8f3fdd3
Add test for --pid=host
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-01-13 16:39:08 -08:00
Dan Walsh
23feaaa240
Allow the container to share the PID namespace with the host
...
We want to be able to use container without the PID namespace. We basically
want containers that can manage the host os, which I call Super Privileged
Containers. We eventually would like to get to the point where the only
namespace we use is the MNT namespace to bring the Apps userspace with it.
By eliminating the PID namespace we can get better communication between the
host and the clients and potentially tools like strace and gdb become easier
to use. We also see tools like libvirtd running within a container telling
systemd to place a VM in a particular cgroup, we need to have communications of the PID.
I don't see us needing to share PID namespaces between containers, since this
is really what docker exec does.
So currently I see us just needing docker run --pid=host
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2015-01-13 16:35:17 -08:00
Tonis Tiigi
28cf8fddd4
Fix attach stream closing issues
...
Fixes : #9860
Fixes: detach and attach tty mode
We never actually need to close container `stdin` after `stdout/stderr` finishes. We only need to close the `stdin` goroutine. In some cases this also means closing `stdin` but that is already controlled by the goroutine itself.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-01-14 02:03:25 +02:00
Jessie Frazelle
0eefae8e0d
Merge pull request #10068 from jfrazelle/api-bump-rename
...
Add reference to rename endpoint in correct version & add to new
2015-01-13 15:58:36 -08:00
Michael Crosby
476cf1b906
Use channels and set workers to make image lookup safe
...
This refactors the starting work by the prior commits to make this safe
for access. A maximum of 5 worker go routines are started to lookup
images on the endpoint. Another go routine consumes the images that are
required to be pushed into a map for quick lookups. The map is required
because the pushing of the image json and layer have to be done in the
correct order or the registry will explode in fire.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-01-13 15:52:44 -08:00
Ian Calvert
3328658929
Replace custom waiting code with a WaitGroup
...
Signed-off-by: Ian Calvert <ianjcalvert@gmail.com>
2015-01-13 15:32:47 -08:00
Ian Calvert
90c5ff4f06
Run the remote image presence checks in parallel
...
Signed-off-by: Ian Calvert <ianjcalvert@gmail.com>
2015-01-13 15:32:47 -08:00
Jessica Frazelle
ee78e3f284
Add reference to rename endpoint in correct version & add to new
...
Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
2015-01-13 15:22:04 -08:00
Malte Janduda
c03e15c9da
IPv6 docs: The ARP cache is called NDP neighbor cache in IPv6
...
Signed-off-by: Malte Janduda <mail@janduda.net>
2015-01-14 00:20:17 +01:00
unclejack
044d979f4e
Merge pull request #10003 from vbatts/vbatts-dm_loop_file_info
...
devmapper: show device and loop file , if used
2015-01-14 01:15:09 +02:00
Victor Vieux
ff40126389
Merge pull request #10070 from thaJeztah/change-back-error-message
...
Mention "or rename" again in error-message.
2015-01-13 14:56:15 -08:00
Victor Vieux
d8e6e32222
Merge pull request #10073 from tonistiigi/fix-unix-integration-cli
...
Fix filenames for unix only integration-cli tests
2015-01-13 14:55:31 -08:00
Victor Vieux
3943b381ef
Merge pull request #10071 from mota/cleanup-router
...
Remove error return type from createRouter and ServeRequest
2015-01-13 14:46:36 -08:00
Tonis Tiigi
f9876dade2
Fix filenames for unix only integration-cli tests
...
Test suffix comes after the platform/arch.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-01-14 00:31:25 +02:00
Alexander Morozov
492b18ac08
Rewrite TestRunMutableNetworkFiles to avoid races
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-01-13 14:14:36 -08:00
Pierre Wacrenier
02923d43e2
Remove error return type from createRouter and ServeRequest
...
Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
2015-01-13 22:43:31 +01:00
Alexander Morozov
5862422a49
Merge pull request #10058 from HuKeping/work
...
restart: Fix the compare of restart policy
2015-01-13 13:38:52 -08:00
Sebastiaan van Stijn
78820a63d6
Mention "or rename" again in error-message.
...
The "or rename" part was removed from the error-message,
because renaming wasn't possible at the time.
Now that https://github.com/docker/docker/pull/8570 is merged,
renaming existing containers is possible.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-01-13 21:57:48 +01:00
Michael Crosby
0db6bb3cbf
Merge pull request #10069 from tianon/docker-py-commit
...
Switch docker-py clone to use an explicit commit for natural cache-busting
2015-01-13 11:43:28 -08:00
Tianon Gravi
3c01c971cd
Switch docker-py clone to use an explicit commit for natural cache-busting
...
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-01-13 12:34:55 -07:00
Arnaud Porterie
cf455017e0
Support whitespaces in ADD and COPY continued
...
Add tests and documentation for this new feature.
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-01-13 11:34:15 -08:00
Alexander Morozov
99a15ec8bd
Merge pull request #9973 from duglin/Issue9880
...
Make sure that ADD/COPY still populate the cache even if they don't use it
2015-01-13 11:17:34 -08:00
Victor Vieux
eaeaf0d8e3
Merge pull request #10064 from hqhq/hq_fix_flag_comments
...
correct the flag comments
2015-01-13 11:06:24 -08:00
Jessie Frazelle
ab86f591c3
Merge pull request #9951 from andersjanmyr/add-proxy-from-environment-to-client
...
Add ProxyFromEnvironment enables client via proxy.
2015-01-13 10:53:00 -08:00
Jessie Frazelle
21cf4b4c4c
Merge pull request #9764 from ztombol/fix-reduce-arch-rootfs-size
...
Revisiting mkimage-arch.sh
2015-01-13 10:39:45 -08:00
Jessie Frazelle
b9e42d66e7
Merge pull request #8570 from brahmaroutu/rename_container_3036
...
Rename a existing container
2015-01-13 10:37:29 -08:00
Alexander Morozov
9621e59909
Merge pull request #10013 from icecrime/9979_oom_exit_code
...
Fix error code when exiting on OOM
2015-01-13 10:33:21 -08:00
Zoltan Tombol
18c0b41564
Delete man pages of installed packages in mkimage-arch.sh
...
Docker-DCO-1.1-Signed-off-by: Zoltan Tombol <zoltan.tombol@gmail.com> (github: ztombol)
2015-01-13 18:10:50 +01:00