Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1010 commits
Select commit Hold shift + click to select a range
3c325f8
Merge pull request #8415 from LK4D4/use_logs_in_builder
Oct 17, 2014
df0e0c7
builder: fix escaping for ENV variables.
Oct 17, 2014
75fd1b6
Merge pull request #8639 from erikh/fix_escapes
LK4D4 Oct 17, 2014
c980fe0
Add a testcase to make sure we don't squash tabs or convert them to s…
Oct 8, 2014
005029c
Merge pull request #8483 from duglin/TabTest
Oct 17, 2014
dbe24a0
install.sh: Fix for Amazon's Linux AMI
ambakshi Aug 4, 2014
b724931
check ID in os-release instead
jessfraz Oct 17, 2014
65edb07
Return container exit code with start -a/-i
estesp Oct 19, 2014
d2cd8e7
Clean up comment sections and fix typos in CmdRun
estesp Oct 19, 2014
1814165
Fixed a minor docs issue in a Dockerfile Example
mavenugo Oct 19, 2014
c496f24
Add docker tag tests.
coolljt0725 Oct 20, 2014
5160fbb
Merge pull request #8649 from mavenugo/master
jamtur01 Oct 20, 2014
528c15a
Merge pull request #8622 from Coaxial/patch-1
jamtur01 Oct 20, 2014
3d10d50
small typo
flisky Oct 20, 2014
ed7934f
zsh: update zsh completion for docker command
vincentbernat Oct 20, 2014
69fe3e1
On Red Hat Registry Servers we return 404 on certification errors.
rhatdan Oct 14, 2014
1634625
Adding capability to filter by name, id or status to list containers api
Oct 13, 2014
551047a
Merge pull request #8657 from vincentbernat/update/zsh-completion-2
tianon Oct 20, 2014
0c7d2ff
Merge pull request #8559 from rhatdan/404
crosbymichael Oct 20, 2014
b90ab68
Merge pull request #8511 from coolljt0725/fix_tag
crosbymichael Oct 20, 2014
52784c0
Merge pull request #8543 from brahmaroutu/filter_containers_7599
LK4D4 Oct 20, 2014
af52f8e
Merge pull request #8638 from LK4D4/fix_8632
tiborvass Oct 20, 2014
964f996
Clean volume paths
cpuguy83 Oct 20, 2014
fdd2abe
Use dual-stack Dialer when talking to registy
monsterzz Oct 20, 2014
ef98fe0
Make container.Copy support volumes
cpuguy83 Sep 24, 2014
a0781f3
Merge pull request #8509 from cpuguy83/make_copy_support_volumes
LK4D4 Oct 21, 2014
a10876d
Merge pull request #8573 from estesp/integration-test-migrate
vieux Oct 21, 2014
9e137ce
Link to run reference from cli doc
Oct 21, 2014
d0f12a0
Fix typo
zachborboa Oct 2, 2014
6ed610f
DOCKER_VERSION and docker-version havn't been implemented.
Oct 21, 2014
7cf322d
daemon: resolve the graphdriver to show
hqhq Oct 21, 2014
cf44d6f
Merge pull request #8665 from cpuguy83/8659_clean_paths_for_volumes
tiborvass Oct 21, 2014
9df3e45
Merge pull request #8423 from unclejack/lint_changes
tiborvass Oct 21, 2014
36dae27
fix cli dashes in boot2docker resizing article
wilsaj Oct 21, 2014
5df2c87
Update container linking documentation
wpp Oct 21, 2014
a34831f
builder: handle cases where onbuild is not uppercase.
Oct 21, 2014
a07ee0d
Merge pull request #8684 from erikh/onbuild_case_insensitive
LK4D4 Oct 21, 2014
ba5370c
Fix racy integration tests
crosbymichael Oct 21, 2014
95d1cd0
Merge pull request #8661 from estesp/8555-start-exit-code
crosbymichael Oct 21, 2014
373fd1c
Fixes #8690
jessfraz Oct 21, 2014
47cb56f
Merge pull request #8691 from crosbymichael/fix-integration-race
tiborvass Oct 22, 2014
6f4529a
Merge pull request #8670 from SvenDowideit/link-to-run-reference-from…
jamtur01 Oct 22, 2014
ca500e0
Merge pull request #8651 from flisky/patch-1
jamtur01 Oct 22, 2014
a9258f7
Merge pull request #8680 from wilsaj/patch-1
SvenDowideit Oct 22, 2014
6aeda16
Merge pull request #8682 from wpp/update_linking_documentation
SvenDowideit Oct 22, 2014
c694c66
Merge pull request #8692 from jfrazelle/8690-latest-tag-problem
unclejack Oct 22, 2014
25c32d3
Merge pull request #8672 from estesp/CmdRun-fix-typos-comments
unclejack Oct 22, 2014
64cb772
Correct url from github.com/dotcloud/docker{,-py}
torstehu Oct 22, 2014
5572dbb
Fix stdout premature EOF
Oct 3, 2014
e0c9d7b
Add MemInfo to the system pkg.
aluzzardi Oct 14, 2014
93e17b2
TestRunRedirectStdout kept failing with timed out.
jessfraz Oct 22, 2014
ba14ddf
Merge pull request #8708 from torstehu/fix-url
jamtur01 Oct 22, 2014
bb3e331
Merge pull request #8673 from SvenDowideit/whats-docker-version
SvenDowideit Oct 23, 2014
5343ede
Merge pull request #8718 from jfrazelle/run-redirect-test-fix
LK4D4 Oct 23, 2014
0390d04
Rewrite ENTRYPOINT documentation covering all the combinations with e…
Oct 22, 2014
fb6ee86
save start error into State.Error
dqminh Sep 30, 2014
9451cf3
Port number 49153(BeginPortRange) would be returned twice, causing du…
Oct 21, 2014
2c2edab
added test, gofmtd
Oct 21, 2014
1aa6707
Merge pull request #8550 from aluzzardi/f-meminfo
unclejack Oct 23, 2014
9b430f4
Fix error string mapping to HTTP response code to ignore case
estesp Oct 23, 2014
8b40d38
Removed James' email address
Oct 23, 2014
3a1eafb
Replace fast with quickly
alex Oct 23, 2014
6589044
Fix volume test using "find" to properly call find with /hello path
estesp Oct 23, 2014
ee17b93
Up test timeout to 10s based on recent drone.io timeout failures
estesp Oct 23, 2014
291b846
Update libcontainer to aab3f6d17f2f56606f07f3a6eb6
crosbymichael Oct 23, 2014
45c511f
Merge pull request #8733 from estesp/error-string-http-status-fix
crosbymichael Oct 23, 2014
77dcab1
Merge pull request #8735 from estesp/fix-test-timeout-on-drone
LK4D4 Oct 23, 2014
1262b5f
Gracefully handle network bridge without IP association at startup
estesp Oct 5, 2014
88e6693
Merge pull request #8736 from crosbymichael/update-libcontainer-oct3
Oct 23, 2014
78a272c
Allowing resize tty to only work when container is started
Oct 23, 2014
3e10b93
Use code generation to set IAMSTATIC instead of -X
Oct 1, 2014
85744a3
use code generation for GITCOMMIT/VERSION too
Oct 1, 2014
c7c620d
finally, use code generation for INITSHA1 & INITPATH too
Oct 8, 2014
a76c924
Merge pull request #8453 from estesp/8444-create-bridge-error
aluzzardi Oct 24, 2014
a71b2ec
Merge pull request #8737 from brahmaroutu/resize_uponstart_8728
vieux Oct 24, 2014
12028fc
do not send hostconfig at start, as we do on create now
vieux Oct 24, 2014
cdd6e97
builder: some small fixups + fix a bug where empty entrypoints would …
Oct 24, 2014
0e62421
Merge pull request #8671 from shuai-z/master
crosbymichael Oct 24, 2014
4bae623
Add --dryrun to allow testing to the docs-release site, and then fix …
Oct 23, 2014
8f79bd9
Merge pull request #8695 from SvenDowideit/add-details-to-entrypoint-…
jamtur01 Oct 24, 2014
c6f242b
Merge pull request #8722 from SvenDowideit/sven-cannot-bash
jamtur01 Oct 24, 2014
7f1ea71
Add a link to some documentation about exec.
Oct 24, 2014
417fde5
dockerimages.md: typo fix
Oct 24, 2014
ab03e89
Document alternate command to check encrypted TCP socket
ndeloof Oct 18, 2014
0fdf783
archive: tests and benchmarks for hardlinks
vbatts Sep 26, 2014
ca6cc65
Bump API to v1.16.
aluzzardi Oct 24, 2014
cc45b13
Tweaks to Dockerfile tutorial
Oct 24, 2014
a7aedca
Client should use go log package.
jessfraz Oct 24, 2014
9094c19
Merge pull request #8315 from dqminh/save-start-error
Oct 24, 2014
665cd10
Merge pull request #8760 from jfrazelle/8745-output-log
vieux Oct 24, 2014
fcae374
Add back Best Practices link.
Oct 24, 2014
3eba719
registry/endpoint: make it testable
vbatts Oct 3, 2014
78075ab
Merge pull request #8746 from aluzzardi/bump-api-v1.16
jamtur01 Oct 24, 2014
d515590
Merge pull request #8325 from mwhudson/do-not-use-X
tiborvass Oct 24, 2014
6229a36
Vendor logrus logging framework
LK4D4 Oct 24, 2014
7c62cee
Use logrus everywhere for logging
LK4D4 Oct 24, 2014
b3b4043
Use common logging in engine
LK4D4 Oct 24, 2014
b99dcb3
Remove pkg/log
LK4D4 Oct 24, 2014
ee7dd44
Mass gofmt
LK4D4 Oct 24, 2014
c681bea
Merge pull request #8744 from erikh/empty_entrypoint_inheritance
LK4D4 Oct 24, 2014
61f8001
Expose # of CPUs and memory available on docker info.
aluzzardi Oct 24, 2014
350e1b7
Merge pull request #8321 from erikh/ui_save_output
tiborvass Oct 24, 2014
10d3315
Merge pull request #8643 from jfrazelle/fix-amazon-linux-dist
tianon Oct 25, 2014
5631ffb
Merge pull request #6992 from mschurenko/master
tianon Oct 25, 2014
d3ac9ea
Add HasValidGITPrefix to utils/utils.go
laktek Oct 8, 2014
ce407cc
removed redundant Clean
Oct 26, 2014
6e208b7
Update faq.md
cloojure Oct 27, 2014
2b41736
Merge pull request #8641 from vbatts/vbatts-archive_test_and_benchmark
tiborvass Oct 27, 2014
15b6b7b
Merge pull request #8770 from LK4D4/logrus_support
Oct 27, 2014
80d35c7
Merge pull request #8782 from shuai-z/rm-clean
Oct 27, 2014
9a03652
Cleanup docs Dockerfile, so it matches best practices.
yosifkit Oct 22, 2014
be49867
builder: handle escapes without swallowing all of them.
Oct 25, 2014
4e74cd4
builder: whitelist verbs useful for environment replacement.
Oct 25, 2014
339173d
Merge pull request #8743 from vieux/hostconfig_start
LK4D4 Oct 27, 2014
b6db23c
Use archive.CopyWithTar in vfs.Create
Oct 27, 2014
0a37f83
update sysinfo to logrus
vieux Oct 27, 2014
b65eb8d
excluding unused transformation to []byte
takama Oct 27, 2014
d42bcc0
Merge pull request #8805 from vieux/update_sysinfo_to_logrus
Oct 27, 2014
e590aa2
Merge pull request #8778 from erikh/builder_fixes
tiborvass Oct 27, 2014
24545c1
builder: Restore /bin/sh handling in CMD when entrypoint is specified…
Oct 27, 2014
55702ae
Merge pull request #8809 from erikh/builder_cmd_sh_fix
tiborvass Oct 27, 2014
039f225
Merge pull request #8802 from jlhawn/vfs_copydir_use_archive_copywithtar
unclejack Oct 27, 2014
e377716
builder: Update documentation WRT environment replacement
Oct 27, 2014
413f2ef
Merge pull request #8807 from erikh/builder_docs
SvenDowideit Oct 28, 2014
29ebb53
Merge pull request #8806 from takama/ioreader
tiborvass Oct 28, 2014
0d97e08
Exclude `.wh..wh.*` AUFS metadata on layer export
Oct 28, 2014
7597f27
changed dockerfile back button to look nicer
nhsiehgit Oct 27, 2014
eb1b785
Merge pull request #8772 from aluzzardi/docker-info-mem-cpu
Oct 28, 2014
622e100
Update libcontainer f60d7b9195f8dc0b5d343abbc3293d
crosbymichael Oct 28, 2014
d176d1b
Merge pull request #8828 from crosbymichael/update-libcontainer-oct4
crosbymichael Oct 28, 2014
17e0a15
Revert "Use code generation to set IAMSTATIC instead of -X"
jessfraz Oct 28, 2014
321c85d
Merge pull request #8717 from yosifkit/docs-dockerfile
SvenDowideit Oct 28, 2014
ec1420c
Revert "use code generation for GITCOMMIT/VERSION too"
jessfraz Oct 28, 2014
7041eb0
Revert "finally, use code generation for INITSHA1 & INITPATH too"
jessfraz Oct 28, 2014
674e111
Merge pull request #8833 from jfrazelle/revert-gccgo-changes
LK4D4 Oct 28, 2014
35703d4
Fix error on successful login.
jessfraz Oct 29, 2014
9d65017
Merge pull request #8836 from jfrazelle/hub-login-error
crosbymichael Oct 29, 2014
01454a5
Merge pull request #8762 from fredlf/tutorial-tweaks
jamtur01 Oct 29, 2014
75ae546
Merge pull request #8750 from matm/patch-2
jamtur01 Oct 29, 2014
90221e2
Merge pull request #8646 from ndeloof/patch-3
SvenDowideit Oct 29, 2014
e11dd26
Merge pull request #8734 from alex/patch-2
jamtur01 Oct 29, 2014
f0327c9
Merge pull request #8198 from jfrazelle/add-jessie-to-various-maintai…
Oct 29, 2014
290222c
Merge pull request #8352 from zachborboa/patch-1
tiborvass Oct 29, 2014
f1ddda6
Merge pull request #8808 from nhsiehgit/dockerfiletut
SvenDowideit Oct 29, 2014
7d53854
Merge pull request #8790 from cloojure/patch-2
SvenDowideit Oct 29, 2014
fd19e47
Merge pull request #8319 from MalteJ/ipv6-ipallocator
Oct 29, 2014
4da2572
Fix compilation issue bringed by #8319
LK4D4 Oct 29, 2014
006d233
Merge pull request #8846 from LK4D4/fix_compilation
tiborvass Oct 29, 2014
d98b117
Add test for #8307.
jessfraz Sep 30, 2014
e171eda
fix for iptables cleanup 8307
jessfraz Oct 16, 2014
f936a10
Merge pull request #8571 from ncdc/3631-stdout-premature-eof
Oct 29, 2014
f9f8044
archive: preserve hardlinks in Tar and Untar
vbatts Sep 15, 2014
f710a8d
archive: example app for diffing directories
vbatts Oct 28, 2014
f14a9ed
archive: cleanup and more information
vbatts Oct 28, 2014
565340c
Merge pull request #8669 from monsterzz/8668-dualstack-registry
Oct 29, 2014
7305716
Merge pull request #8046 from vbatts/vbatts-archive_preserve_hard_links
unclejack Oct 29, 2014
265a89a
Merge pull request #8387 from vbatts/vbatts-registry_test_enpoint
vieux Oct 29, 2014
461d33e
Adds new Docs Style Guide.
Oct 29, 2014
74564e5
Merge pull request #8500 from fredlf/style-guide
SvenDowideit Oct 30, 2014
05ff40b
Clear the internal state ourselves before raising error.
Oct 30, 2014
b63a254
Merge pull request #8747 from SvenDowideit/lets-tell-them-more-about-…
jamtur01 Oct 30, 2014
acd6427
pkg/reexec: move reexec code to a new package
unclejack Oct 30, 2014
36ffbd7
Add docs for --dns-search=.
irachex Oct 29, 2014
9542ea7
doc: Update host integration article
wilsaj Oct 28, 2014
8a81c46
Move consumeSlow() under test utils
tonistiigi Oct 30, 2014
417e48e
Generalize consumeSlow and add stop support
tonistiigi Oct 30, 2014
d0197f4
Merge pull request #8856 from unclejack/reexec_pkg
crosbymichael Oct 30, 2014
c3762c3
Merge pull request #8822 from wilsaj/patch-2
Oct 30, 2014
c2cf97a
Fix panic on slow log consumer.
tonistiigi Oct 30, 2014
5e02468
./pkg/archive: clean up Stat_t assertion
vbatts Oct 30, 2014
930a756
mount: move the MakePrivate to pkg/mount
vbatts Oct 30, 2014
79a77a3
Wait for hijack on docker start command
tonistiigi Oct 30, 2014
28af4a1
Merge pull request #8867 from vbatts/vbatts-relocate_mount_operation
vieux Oct 30, 2014
380c832
make http usage for registry explicit
unclejack Aug 16, 2014
f29b2e4
Refactor IsSecure change
Aug 19, 2014
48f7384
Expand documentation for --insecure-registries
Aug 19, 2014
afade42
Don't hard code true for auth job
Aug 20, 2014
6a1ff02
Do not verify certificate when using --insecure-registry on an HTTPS …
tiborvass Oct 11, 2014
e43d9f7
Docs edits for dropping SSLv3 and under + release notes for 1.3.1
tiborvass Oct 22, 2014
05c18a2
Fix login command
tiborvass Oct 29, 2014
4a17e6e
Bump to version v1.3.1
tiborvass Oct 20, 2014
b9fcdb8
Change version to 1.3.1-dev
tiborvass Oct 30, 2014
6d6dc2c
Merge pull request #8870 from tiborvass/merge_release_v1.3.1
tiborvass Oct 31, 2014
793fb26
Merge pull request #8510 from hqhq/graphdriver_bug
Oct 31, 2014
aca253d
Merge pull request #8866 from tonistiigi/fix-8832-logs-panic
Oct 31, 2014
f68b8b3
Merge pull request #8850 from shuai-z/clean-mount
Oct 31, 2014
bfe21f0
Yes, the review really should have picked up this spelling mistake
Oct 31, 2014
bc62a35
ubuntulinux.md - old commands, typo, section movement
sawalls Oct 26, 2014
c2ff425
Merge pull request #8873 from SvenDowideit/de-cleanup-Dockerfile
Oct 31, 2014
d8b17d7
Fix docker exec command help messages
coolljt0725 Oct 30, 2014
107898a
Merge pull request #8837 from sawalls/patch-2
SvenDowideit Oct 31, 2014
eaa050f
Mapping change in code
irachex Oct 31, 2014
ad5b307
proxy: Fix a potential panic handling error states.
Oct 31, 2014
2996524
Typo in 1.3.1 change log
thaJeztah Oct 31, 2014
9069851
Reword a sentence bringing confusion about docker links
thomasleveil Oct 31, 2014
0f9f5f3
Merge pull request #8839 from irachex/dns-search-doc
crosbymichael Oct 31, 2014
f95d73d
add missing 'current filter' to ps
vieux Oct 31, 2014
5a73be8
pkg/proxy: Bump the maximum size of a UDP packet.
Oct 31, 2014
7a2dc8b
Merge pull request #8895 from erikh/proxy_udp_size
Oct 31, 2014
058aa0c
Merge pull request #8894 from vieux/fix_docs_filter
Oct 31, 2014
a92393b
Merge pull request #8878 from thaJeztah/patch-1
crosbymichael Oct 31, 2014
7cb1213
Merge pull request #8818 from coolljt0725/fix_exec_help
crosbymichael Oct 31, 2014
9cc71b4
Merge pull request #8468 from laktek/master
Oct 31, 2014
fd774a8
adding support for port ranges on --expose
Sep 17, 2014
92bb497
Merge pull request #8167 from brahmaroutu/expose_ports_1834
Oct 31, 2014
4d4a7b8
Merge pull request #8884 from thomasleveil/userguide-so26652877
Nov 1, 2014
9d6391a
Skip V2 registry and immediately fallback to V1 when mirrors are prov…
dmcgowan Oct 23, 2014
f2df380
Adding docker-cli run param to set MAC address
MalteJ Oct 3, 2014
e5ecfd3
change util.CopyDirectory to archive.CopyWithTar
dqminh Nov 1, 2014
de9bf24
Clarify USER instruction documentation
icecrime Nov 1, 2014
c0f0f5c
Do some cleanup on .dockerignore paths
Oct 23, 2014
971fc22
enhancing set-macaddress docu
MalteJ Nov 3, 2014
4437573
Fix typo in api docs: stdou -> stdout
pdericson Nov 3, 2014
ef004ec
Fix help text being incorrect with multiple args
bfirsh Nov 3, 2014
693b9d3
Update "official repos" doc to mention 100 char short desc limit
tianon Nov 3, 2014
0e4bf15
Merge pull request #8928 from tianon/not-200-chars-anymore
Nov 3, 2014
03ea216
Fix deadlock in ps exited filter
LK4D4 Nov 3, 2014
9ef9bfd
Merge pull request #8929 from LK4D4/fix_filter_hang
crosbymichael Nov 3, 2014
0253638
Merge pull request #8927 from bfirsh/dont-pass-args-to-help-when-comm…
crosbymichael Nov 3, 2014
a12d897
Update logrus to v0.6.0 so we can use ParseLevel() for PR #8335
Nov 3, 2014
8872c29
Merge pull request #8907 from icecrime/clarify_user_instruction_doc
Nov 3, 2014
38d3888
Merge pull request #8932 from duglin/UpdateLogrus
tiborvass Nov 3, 2014
a85f587
Merge pull request #8739 from duglin/CleanupDockerIgnores
tiborvass Nov 3, 2014
a7dea37
Merge pull request #8901 from dmcgowan/v2_registry_mirror_check
crosbymichael Nov 3, 2014
b8ab729
Merge pull request #8590 from jfrazelle/8307-iptables-d-restart-fix
tiborvass Nov 3, 2014
54d6d12
Merge pull request #8863 from vbatts/vbatts-archive_stat
tiborvass Nov 4, 2014
26184de
Remove `jsonData` argument from `image.StoreImage`
Oct 27, 2014
471adb7
Remove travis CI.
jessfraz Nov 4, 2014
4b4b88a
Switch travis status to drone.
jessfraz Nov 4, 2014
5b03a21
Merge pull request #8799 from jlhawn/remove_jsondata_arg
tiborvass Nov 4, 2014
b68d7d3
Merge pull request #8924 from pdericson/api-doc-fix
SvenDowideit Nov 4, 2014
4bc28f4
daemon/container: stream & decode JSON
unclejack Nov 4, 2014
4dbbe4f
image: stream img JSON & Decode in LoadImage
unclejack Nov 4, 2014
f665be5
volume: stream JSON & Decode
unclejack Nov 4, 2014
28605bc
enhancing set-macaddress docu #2
MalteJ Nov 4, 2014
9eb8fcd
Merge pull request #8390 from MalteJ/set-macaddress
LK4D4 Nov 4, 2014
edae883
Merge pull request #8906 from dqminh/remove-copy-directory
Nov 4, 2014
6718791
Merge pull request #8813 from jlhawn/aufs_exclude_on_tar_layer
tiborvass Nov 4, 2014
fa59fe9
Merge pull request #8877 from erikh/proxy_error_check
tiborvass Nov 4, 2014
a34f31b
Merge pull request #8871 from tonistiigi/start-wait-hijack
Nov 4, 2014
762ffda
makes the -s --size option documentation clearer
Bertg Nov 4, 2014
b8678aa
Merge pull request #8946 from unclejack/stream_decode
LK4D4 Nov 4, 2014
f9d8071
contrib/install.sh: remove pull of hello-world
unclejack Oct 22, 2014
59d4161
Merge pull request #8950 from Bertg/patch-1
Nov 4, 2014
c6cf978
Merge pull request #8700 from unclejack/install_no_pull
tianon Nov 4, 2014
14e65b4
Merge pull request #8936 from jfrazelle/drone-server
tianon Nov 4, 2014
e9ca142
Merge branch 'master' into features/zfs
Mic92 Nov 4, 2014
47edbfe
Changes logging to logrus
stevenburgess Oct 29, 2014
774ed69
Implement differ DiffSize
Sep 15, 2014
aa9e74b
update to latest archive interfaces
Mic92 Nov 4, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: dockercore/docker
env:
- AUTO_GOPATH=1
- DOCKER_GRAPHDRIVER=vfs
- DOCKER_EXECDRIVER=native
script:
# Setup the DockerInDocker environment.
- hack/dind
# Tests relying on StartWithBusybox make Drone time out.
- rm integration-cli/docker_cli_daemon_test.go
- rm integration-cli/docker_cli_exec_test.go
# Validate and test.
- hack/make.sh validate-dco validate-gofmt
- hack/make.sh binary cross test-unit test-integration-cli test-integration
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## 1.3.1 (2014-10-28)

#### Security
* Prevent fallback to SSL protocols < TLS 1.0 for client, daemon and registry
+ Secure HTTPS connection to registries with certificate verification and without HTTP fallback unless `--insecure-registry` is specified

#### Runtime
- Fix issue where volumes would not be shared

#### Client
- Fix issue with `--iptables=false` not automatically setting `--ip-masq=false`
- Fix docker run output to non-TTY stdout

#### Builder
- Fix escaping `$` for environment variables
- Fix issue with lowercase `onbuild` Dockerfile instruction
- Restrict environment variable expansion to `ENV`, `ADD`, `COPY`, `WORKDIR`, `EXPOSE`, `VOLUME` and `USER`

## 1.3.0 (2014-10-14)

#### Notable features since 1.2.0
+ Docker `exec` allows you to run additional processes inside existing containers
+ Docker `create` gives you the ability to create a container via the CLI without executing a process
+ `--security-opts` options to allow user to customize container labels and apparmor profiles
+ Docker `ps` filters
- Wildcard support to COPY/ADD
+ Move production URLs to get.docker.com from get.docker.io
+ Allocate IP address on the bridge inside a valid CIDR
+ Use drone.io for PR and CI testing
+ Ability to setup an official registry mirror
+ Ability to save multiple images with docker `save`

## 1.2.0 (2014-08-20)

#### Runtime
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ When considering a design proposal, we are looking for:
* A description of the problem this design proposal solves
* An issue -- not a pull request -- that describes what you will take action on
* Please prefix your issue with `Proposal:` in the title
* Please review [the existing Proposals](https://github.com/dotcloud/docker/issues?direction=asc&labels=Proposal&page=1&sort=created&state=open)
* Please review [the existing Proposals](https://github.com/docker/docker/issues?direction=asc&labels=Proposal&page=1&sort=created&state=open)
before reporting a new issue. You can always pair with someone if you both
have the same idea.

Expand Down Expand Up @@ -62,7 +62,7 @@ docs](http://docs.docker.com/contributing/devenvironment/).
### Pull requests are always welcome

We are always thrilled to receive pull requests, and do our best to
process them as fast as possible. Not sure if that typo is worth a pull
process them as quickly as possible. Not sure if that typo is worth a pull
request? Do it! We will appreciate it.

If your pull request is not accepted on the first try, don't be
Expand Down Expand Up @@ -310,7 +310,7 @@ do need a fair way to deal with people who are making our community suck.
will be addressed immediately and are not subject to 3 strikes or
forgiveness.

* Contact james@docker.com to report abuse or appeal violations. In the case of
* Contact abuse@docker.com to report abuse or appeal violations. In the case of
appeals, we know that mistakes happen, and we'll work with you to come up with
a fair solution if there has been a misunderstanding.

8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
# the case. Therefore, you don't have to disable it anymore.
#

docker-version 0.6.1
FROM ubuntu:14.04
MAINTAINER Tianon Gravi <[email protected]> (@tianon)

Expand Down Expand Up @@ -65,7 +64,7 @@ RUN cd /usr/local/lvm2 && ./configure --enable-static_link && make device-mapper
# see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL

# Install Go
RUN curl -sSL https://golang.org/dl/go1.3.1.src.tar.gz | tar -v -C /usr/local -xz
RUN curl -sSL https://golang.org/dl/go1.3.3.src.tar.gz | tar -v -C /usr/local -xz
ENV PATH /usr/local/go/bin:$PATH
ENV GOPATH /go:/go/src/github.com/docker/docker/vendor
ENV PATH /go/bin:$PATH
Expand Down Expand Up @@ -95,8 +94,11 @@ RUN mkdir -p /go/src/github.com/cpuguy83 \
# Get the "busybox" image source so we can build locally instead of pulling
RUN git clone -b buildroot-2014.02 https://github.com/jpetazzo/docker-busybox.git /docker-busybox

# Get the "cirros" image source so we can import it instead of fetching it during tests
RUN curl -sSL -o /cirros.tar.gz https://github.com/ewindisch/docker-cirros/raw/1cded459668e8b9dbf4ef976c94c05add9bbd8e9/cirros-0.3.0-x86_64-lxc.tar.gz

# Setup s3cmd config
RUN /bin/echo -e '[default]\naccess_key=$AWS_ACCESS_KEY\nsecret_key=$AWS_SECRET_KEY' > /.s3cfg
RUN /bin/echo -e '[default]\naccess_key=$AWS_ACCESS_KEY\nsecret_key=$AWS_SECRET_KEY' > $HOME/.s3cfg

# Set user.email so crosbymichael's in-container merge commits go smoothly
RUN git config --global user.email '[email protected]'
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DOCKER_IMAGE := docker$(if $(GIT_BRANCH),:$(GIT_BRANCH))
DOCKER_DOCS_IMAGE := docker-docs$(if $(GIT_BRANCH),:$(GIT_BRANCH))
DOCKER_MOUNT := $(if $(BINDDIR),-v "$(CURDIR)/$(BINDDIR):/go/src/github.com/docker/docker/$(BINDDIR)")

DOCKER_RUN_DOCKER := docker run --rm -it --privileged -e TESTFLAGS -e TESTDIRS -e DOCKER_GRAPHDRIVER -e DOCKER_EXECDRIVER $(DOCKER_MOUNT) "$(DOCKER_IMAGE)"
DOCKER_RUN_DOCKER := docker run --rm -it --privileged -e TIMEOUT -e BUILDFLAGS -e TESTFLAGS -e TESTDIRS -e DOCKER_GRAPHDRIVER -e DOCKER_EXECDRIVER $(DOCKER_MOUNT) "$(DOCKER_IMAGE)"
# to allow `make DOCSDIR=docs docs-shell`
DOCKER_RUN_DOCS := docker run --rm -it $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR)) -e AWS_S3_BUCKET

Expand All @@ -34,7 +34,7 @@ docs-shell: docs-build
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash

docs-release: docs-build
$(DOCKER_RUN_DOCS) -e BUILD_ROOT "$(DOCKER_DOCS_IMAGE)" ./release.sh
$(DOCKER_RUN_DOCS) -e OPTIONS -e BUILD_ROOT "$(DOCKER_DOCS_IMAGE)" ./release.sh

test: build
$(DOCKER_RUN_DOCKER) hack/make.sh binary cross test-unit test-integration test-integration-cli
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Contributing to Docker
======================

[![GoDoc](https://godoc.org/github.com/docker/docker?status.png)](https://godoc.org/github.com/docker/docker)
[![Travis](https://travis-ci.org/docker/docker.svg?branch=master)](https://travis-ci.org/docker/docker)
[![Build Status](https://ci.dockerproject.com/github.com/docker/docker/status.svg?branch=master)](https://ci.dockerproject.com/github.com/docker/docker)

Want to hack on Docker? Awesome! There are instructions to get you
started [here](CONTRIBUTING.md).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0-dev
1.3.1-dev
1 change: 1 addition & 0 deletions api/MAINTAINERS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Victor Vieux <[email protected]> (@vieux)
Jessie Frazelle <[email protected]> (@jfrazelle)
95 changes: 72 additions & 23 deletions api/client/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ import (
"encoding/json"
"fmt"
"io"
"net"
"net/http"
"os"
"reflect"
"strings"
"text/template"
"time"

flag "github.com/docker/docker/pkg/mflag"
"github.com/docker/docker/pkg/term"
"github.com/docker/docker/registry"
"github.com/docker/libtrust"
)

type DockerCli struct {
Expand All @@ -22,10 +26,18 @@ type DockerCli struct {
in io.ReadCloser
out io.Writer
err io.Writer
isTerminal bool
terminalFd uintptr
key libtrust.PrivateKey
tlsConfig *tls.Config
scheme string
// inFd holds file descriptor of the client's STDIN, if it's a valid file
inFd uintptr
// outFd holds file descriptor of the client's STDOUT, if it's a valid file
outFd uintptr
// isTerminalIn describes if client's STDIN is a TTY
isTerminalIn bool
// isTerminalOut describes if client's STDOUT is a TTY
isTerminalOut bool
transport *http.Transport
}

var funcMap = template.FuncMap{
Expand All @@ -35,11 +47,15 @@ var funcMap = template.FuncMap{
},
}

func (cli *DockerCli) getMethod(name string) (func(...string) error, bool) {
if len(name) == 0 {
return nil, false
func (cli *DockerCli) getMethod(args ...string) (func(...string) error, bool) {
camelArgs := make([]string, len(args))
for i, s := range args {
if len(s) == 0 {
return nil, false
}
camelArgs[i] = strings.ToUpper(s[:1]) + strings.ToLower(s[1:])
}
methodName := "Cmd" + strings.ToUpper(name[:1]) + strings.ToLower(name[1:])
methodName := "Cmd" + strings.Join(camelArgs, "")
method := reflect.ValueOf(cli).MethodByName(methodName)
if !method.IsValid() {
return nil, false
Expand All @@ -49,15 +65,21 @@ func (cli *DockerCli) getMethod(name string) (func(...string) error, bool) {

// Cmd executes the specified command
func (cli *DockerCli) Cmd(args ...string) error {
if len(args) > 1 {
method, exists := cli.getMethod(args[:2]...)
if exists {
return method(args[2:]...)
}
}
if len(args) > 0 {
method, exists := cli.getMethod(args[0])
if !exists {
fmt.Println("Error: Command not found:", args[0])
return cli.CmdHelp(args[1:]...)
return cli.CmdHelp()
}
return method(args[1:]...)
}
return cli.CmdHelp(args...)
return cli.CmdHelp()
}

func (cli *DockerCli) Subcmd(name, signature, description string) *flag.FlagSet {
Expand All @@ -82,36 +104,63 @@ func (cli *DockerCli) LoadConfigFile() (err error) {
return err
}

func NewDockerCli(in io.ReadCloser, out, err io.Writer, proto, addr string, tlsConfig *tls.Config) *DockerCli {
func NewDockerCli(in io.ReadCloser, out, err io.Writer, key libtrust.PrivateKey, proto, addr string, tlsConfig *tls.Config) *DockerCli {
var (
isTerminal = false
terminalFd uintptr
scheme = "http"
inFd uintptr
outFd uintptr
isTerminalIn = false
isTerminalOut = false
scheme = "http"
)

if tlsConfig != nil {
scheme = "https"
}

if in != nil {
if file, ok := in.(*os.File); ok {
inFd = file.Fd()
isTerminalIn = term.IsTerminal(inFd)
}
}

if out != nil {
if file, ok := out.(*os.File); ok {
terminalFd = file.Fd()
isTerminal = term.IsTerminal(terminalFd)
outFd = file.Fd()
isTerminalOut = term.IsTerminal(outFd)
}
}

if err == nil {
err = out
}

// The transport is created here for reuse during the client session
tr := &http.Transport{
TLSClientConfig: tlsConfig,
Dial: func(dial_network, dial_addr string) (net.Conn, error) {
// Why 32? See issue 8035
return net.DialTimeout(proto, addr, 32*time.Second)
},
}
if proto == "unix" {
// no need in compressing for local communications
tr.DisableCompression = true
}

return &DockerCli{
proto: proto,
addr: addr,
in: in,
out: out,
err: err,
isTerminal: isTerminal,
terminalFd: terminalFd,
tlsConfig: tlsConfig,
scheme: scheme,
proto: proto,
addr: addr,
in: in,
out: out,
err: err,
key: key,
inFd: inFd,
outFd: outFd,
isTerminalIn: isTerminalIn,
isTerminalOut: isTerminalOut,
tlsConfig: tlsConfig,
scheme: scheme,
transport: tr,
}
}
Loading