Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Initial attempt at adding Criu support to Docker #2

Open
wants to merge 602 commits into
base: docker-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
602 commits
Select commit Hold shift + click to select a range
f3d4c33
actually depreciate -rm, -sig-proxy, -name, seriously its been forever
jessfraz Apr 21, 2015
4bb8924
Merge pull request #12539 from WeiZhang555/httpError
Apr 21, 2015
874d64e
Merge pull request #12517 from mavenugo/master
Apr 21, 2015
82f75df
Merge pull request #12457 from calavera/remove_engine_job_builder
Apr 21, 2015
47b7035
Merge pull request #12430 from icecrime/11551_carry
Apr 21, 2015
e562495
Merge pull request #12181 from inatatsu/enable-netgo-with-gccgo
tianon Apr 21, 2015
17d5450
Merge pull request #10736 from coolljt0725/add_cpu_limit
Apr 21, 2015
afd5636
Merge pull request #12563 from kentoj/patch-1
jamtur01 Apr 21, 2015
2781135
Remove writeJSONEnv
Apr 21, 2015
371b39c
Merge pull request #12598 from runcom/remove-writeJSONEnv
LK4D4 Apr 21, 2015
364287b
Add journald as a supported logger for containers
rhatdan Apr 20, 2015
6dcdf83
Add gocheck to vendored deps
LK4D4 Apr 18, 2015
dc944ea
Use suite for integration-cli
LK4D4 Apr 18, 2015
ba00175
Remove job image_tarlayer
Apr 21, 2015
6f82613
Merge pull request #12604 from runcom/remove-job-image-tarlayer
cpuguy83 Apr 21, 2015
d07fe18
Remove job image_get
Apr 21, 2015
b807ac1
Merge pull request #12601 from runcom/remove-job-image-get
duglin Apr 21, 2015
a467650
Add Image Digest doc in userguide/dockerimages
ankushagarwal Apr 21, 2015
a3c4801
Remove not needed call to container.readHostConfig()
Apr 21, 2015
79a7fed
Remove image_set engine job
LK4D4 Apr 21, 2015
783dbca
Merge pull request #12609 from runcom/remove-not-needed-readHostConfig
LK4D4 Apr 21, 2015
b098a42
Merge pull request #12564 from LK4D4/remove_jobs_trust
cpuguy83 Apr 21, 2015
725ea8c
Merge pull request #12600 from LK4D4/remove_image_set
cpuguy83 Apr 21, 2015
7ba8c3b
Merge pull request #12567 from brahmaroutu/integration_test6_12255
LK4D4 Apr 21, 2015
21c8d21
Merge pull request #12536 from mountkin/remove-unsupported-instructio…
Apr 21, 2015
bc7a43c
Putting into our new format for cloud
Apr 16, 2015
a2f74aa
Remove chain of engine passing from builder to loadManifest
LK4D4 Apr 21, 2015
61854b1
Merge pull request #12511 from LK4D4/gocheck_suites
Apr 21, 2015
ccbb93e
Merge pull request #12611 from LK4D4/remove_eng_chain_pull
cpuguy83 Apr 21, 2015
f3dc351
remove redundant warning
hqhq Apr 22, 2015
9424fc1
Add Configuring Docker article [WIP]
ankushagarwal Apr 22, 2015
54ff1dc
Fixing a few links in registry
Apr 22, 2015
90a8e45
Append icc related iptables rules, not INSERT
mizzy Mar 20, 2015
58065d0
Fix golint errors in docker/api/client
peggyl Apr 22, 2015
b121d94
Use svg instead of png to get better image quality
PeterDaveHello Apr 22, 2015
2dd88af
Add kali to install script
sublimino Apr 22, 2015
eeb8ceb
Fix TestEventsImageImport racy, fixes #12499
Apr 18, 2015
9689aab
Update with @moxiegirl's patch and add direct config
ankushagarwal Apr 22, 2015
fd3b722
Merge pull request #12634 from PeterDaveHello/patch-2
Apr 22, 2015
5728426
Merge pull request #12637 from sublimino/patch-1
tianon Apr 22, 2015
901ae9a
Merge pull request #12623 from peggyl/api-client-docs
cpuguy83 Apr 22, 2015
b4988d8
Remove old testing stuff that slipped into master
Apr 22, 2015
6f94ca6
Merge pull request #12647 from duglin/FixTesting
cpuguy83 Apr 22, 2015
e3e1c2b
Merge pull request #12376 from Mic92/refactor-hack
Apr 22, 2015
0815015
Add integration test for history option
ankushagarwal Apr 21, 2015
975e668
Merge pull request #12588 from hqhq/hq_fix_cpuquota_warn
LK4D4 Apr 22, 2015
a09ab40
update contrib docs for gocheck
jessfraz Apr 22, 2015
c09765a
Wait until all pushes are done in TestPushInterrupt
LK4D4 Apr 22, 2015
2442502
remove execCreate & execStart from job
wonderflow Apr 17, 2015
2926544
Merge pull request #12621 from LK4D4/test_push_interrupt_daemon
LK4D4 Apr 22, 2015
fd4f7c4
Correctly format API error on image pull
Apr 22, 2015
7a525c6
add integration test for error pull nonexistent
jessfraz Apr 22, 2015
28f5541
add regression test for rmi multiple tags without f
jessfraz Apr 22, 2015
b88b2fa
Merge branch 'master' of github.com:docker/docker into journald
rhatdan Apr 22, 2015
71b5a75
remove unused utils
dqminh Apr 22, 2015
7708ab5
Merge pull request #12657 from dqminh/remove-unused-utils
LK4D4 Apr 22, 2015
3c9ae03
Merge pull request #12650 from LK4D4/carry_12472
Apr 22, 2015
20b1aa0
Merge pull request #12460 from moxiegirl/fix-carry-12383
SvenDowideit Apr 22, 2015
4b9fe9c
Remove job from container_inspect
Apr 13, 2015
b2aca01
Merge pull request #12513 from allingeek/patch-1
SvenDowideit Apr 22, 2015
1d48ccc
Merge pull request #10992 from cpuguy83/add_volume_mounting_for_cp
Apr 22, 2015
ce7e1a4
Merge pull request #12586 from ankushagarwal/image-digests
SvenDowideit Apr 22, 2015
f3680e7
Cleanup daemon/volumes
cpuguy83 Dec 16, 2014
84a9962
Merge pull request #12614 from ankushagarwal/ubuntu-docs
SvenDowideit Apr 22, 2015
b670211
Merge pull request #12615 from moxiegirl/update-repository-links
SvenDowideit Apr 23, 2015
505788d
Merge pull request #10422 from cpuguy83/cleanup_daemon_volumes
Apr 23, 2015
3dc0716
Merge pull request #12557 from rhatdan/journald
LK4D4 Apr 23, 2015
5ea8dc3
Merge pull request #12649 from jlhawn/fix_pull_err_explosion
duglin Apr 23, 2015
cc43263
Merge pull request #12652 from jfrazelle/update-contrib-docs-for-go-c…
Apr 23, 2015
3872272
Merge pull request #12406 from runcom/remove-job-container-inspect
cpuguy83 Apr 23, 2015
480d979
Merge pull request #12654 from jfrazelle/12135-docker-delete-multiple…
cpuguy83 Apr 23, 2015
b0ef319
fix inspect format result
hqhq Apr 23, 2015
60ad23a
Merge pull request #12543 from vdemeester/11584-pkg-stdcopy-test-cove…
cpuguy83 Apr 23, 2015
6bacb45
Merge pull request #12582 from ankushagarwal/add-docker-history-integ…
cpuguy83 Apr 23, 2015
dde0cc7
Move setHostConfig to daemon file
Apr 23, 2015
eae272f
Merge pull request #12390 from hqhq/hq_fix_inspect
duglin Apr 23, 2015
6359326
Makes headings in documentation consistent
Apr 21, 2015
fdc5aa2
Merge pull request #12599 from RickWieman/10673-make-headings-consistent
SvenDowideit Apr 23, 2015
d6c839c
v1 spec: fix typos and formatting
TomasTomecek Apr 23, 2015
1f7ba6f
Fix the design proposal link in advanced contribution page
vdemeester Apr 23, 2015
62f91b1
push test: fix typo
Apr 23, 2015
47263c6
Fix typo in builder reference
Apr 23, 2015
a8d2fbe
fix test case name
hqhq Apr 23, 2015
70bb0d8
remove job from load
dalanlan Apr 21, 2015
ab42a3a
refactor httpError() and add 404 "not found" mapping
WeiZhang555 Apr 23, 2015
f4cfaac
Merge pull request #12680 from Mashimiao/fix-typo-push-test
duglin Apr 23, 2015
d59ce5c
Merge pull request #12663 from Mashimiao/Move-setHostConfig-to-daemon…
duglin Apr 23, 2015
1b4de6f
Merge pull request #12579 from ZJU-SEL/remove_job_from_load
duglin Apr 23, 2015
d456401
remove job from push
dalanlan Apr 21, 2015
563708d
Fix race with TestContainerApiCommit
cpuguy83 Apr 23, 2015
fca4aea
TestCase added for Container Create with HostName
rajdeepd Apr 22, 2015
cd6cc45
Fix TestRenameStoppedContainer race
Apr 23, 2015
ee7a7b0
Remove deleteAllContainers call in test
Apr 23, 2015
455d839
Merge pull request #12683 from tristan0x/patch-1
cpuguy83 Apr 23, 2015
05013f1
Move https integration tests as unit tests under client
Apr 20, 2015
71ac5b7
Merge pull request #12681 from hqhq/hq_fix_test_in_apiserver
LK4D4 Apr 23, 2015
2351b87
Merge pull request #12505 from ZJU-SEL/remove_job_from_push
LK4D4 Apr 23, 2015
fa3e2dd
Merge pull request #12691 from runcom/remove-deleteAllContainers-call
LK4D4 Apr 23, 2015
bb9da6b
Move CLI config processing out from under registry dir
Apr 22, 2015
ec51ba0
Return weird behaviour of returning json errors
LK4D4 Apr 23, 2015
ecccfa8
Validate we're not using the old testing stuff
Apr 22, 2015
929af4c
Fix daemon start/stop logic in hack/make/* scripts
tianon Apr 17, 2015
2a14b7d
remove job from image_export
dalanlan Apr 21, 2015
b6569b6
contrib/init: unshare mount namespace for inits
vbatts Apr 23, 2015
dcbf89d
Merge pull request #12500 from tianon/fix-daemon-logic
LK4D4 Apr 23, 2015
2345389
Merge pull request #12687 from WeiZhang555/NotFound
Apr 23, 2015
d17f2ba
Merge pull request #12646 from duglin/validateTests
LK4D4 Apr 23, 2015
231d362
Allow go template to work properly with inspect
brahmaroutu Mar 26, 2015
2c70288
Merge pull request #12703 from LK4D4/carry_12596
cpuguy83 Apr 23, 2015
59acccb
Merge pull request #12692 from cpuguy83/fix_commit_test
Apr 23, 2015
03e77e5
Merge pull request #12690 from rajdeepd/dry-run-test
Apr 23, 2015
18f4688
Validate repo name before image pull
Apr 22, 2015
9ed5bfb
Merge pull request #12636 from duglin/MoveConfig
LK4D4 Apr 23, 2015
c4914f0
Merge pull request #12577 from jfrazelle/actually-depreciate-rm
Apr 23, 2015
1492a7d
Merge pull request #12702 from LK4D4/good_ol_flushed
Apr 23, 2015
036ade6
Merge pull request #12693 from runcom/fix-TestRenameStoppedContainer-…
Apr 23, 2015
052cba7
Merge pull request #12674 from TomasTomecek/fix-v1-spec-typos
Apr 23, 2015
799cf05
Merge pull request #11839 from brahmaroutu/template_11641
LK4D4 Apr 23, 2015
68fc79f
Merge pull request #12655 from jlhawn/fix_12281
Apr 23, 2015
59ae92d
Merge pull request #12575 from brahmaroutu/integration_test7_12255
Apr 23, 2015
c5ef290
delete "defer deleteContainer" on tests
vdemeester Apr 23, 2015
b31d154
Merge pull request #12509 from runcom/12499-racy-TestEventsImageImport
Apr 23, 2015
6b8d8a5
Merge pull request #12417 from hashneo/patch-1
Apr 23, 2015
259effc
Merge pull request #9397 from jpopelka/9395-firewalld
tiborvass Apr 23, 2015
b6d8b65
Removing firewalld info
Apr 23, 2015
55d1ac6
[docs] fix formatting issue
fw42 Apr 23, 2015
96ef1bd
Merge pull request #12709 from vdemeester/12705-remove-defer-deleteCo…
LK4D4 Apr 23, 2015
fa2c68a
Remove engine/job from graph
Apr 23, 2015
ade8146
reuse same code for setting pipes in run/exec
dqminh Apr 22, 2015
b830b82
Merge pull request #12711 from Shopify/fix_doc
Apr 23, 2015
c7845e2
Fixing statusCode checks for sockRequest
kostickm Apr 20, 2015
2ebfc7c
Merge pull request #12710 from runcom/bye-engine-from-graph
Apr 23, 2015
c26695c
Merge pull request #12659 from dqminh/exec-interactive-hang
crosbymichael Apr 23, 2015
9d94d91
Merge pull request #12569 from kostickm/12449-check-statusCode
Apr 24, 2015
09052a5
Merge pull request #12712 from moxiegirl/carry-docs-update-9397
Apr 24, 2015
47e5acf
add devices cgroup check and errors
hqhq Apr 14, 2015
66acef8
clean up viz code
Apr 13, 2015
667b1e2
simplify memory limit check
hqhq Apr 15, 2015
5f4fb8b
Add cpu cfs quota to build
coolljt0725 Apr 24, 2015
016a2d6
Merge pull request #12587 from coolljt0725/add_cpu_cfs_quota_to_build
cpuguy83 Apr 24, 2015
4934376
make space for DHE menu item again
SvenDowideit Apr 20, 2015
b0ad95d
Copy over the DHE documentation for release to docs.docker.com
SvenDowideit Apr 16, 2015
300a12f
Merge pull request #12729 from SvenDowideit/dhe-documentation-master-pr
Apr 24, 2015
4377ebd
*: expose getResourcePath and getRootResourcePath wrappers
cyphar Mar 6, 2015
b7c3c0c
*: switch to Get(Root)?ResourcePath where appropriate
cyphar Mar 20, 2015
c21d408
Add coverage on pkg/archive
vdemeester Apr 24, 2015
310fc37
Merge pull request #12678 from vdemeester/fix-advanced-contributing-doc
estesp Apr 24, 2015
36fbf4b
Shallow clone using git to build images.
calavera Apr 17, 2015
9fb7204
Do not try to shallow git history when the protocol doesn't allow it.
calavera Apr 21, 2015
3117bf3
Test that we set the right arguments for git cloning depending on the…
calavera Apr 21, 2015
8bd5a95
Document the extra `depth` argument in git contexts.
calavera Apr 23, 2015
1cfb307
Remove duplicated git clone logic.
calavera Apr 23, 2015
790c63a
Merge pull request #12502 from calavera/shallow_git_history
LK4D4 Apr 24, 2015
a9688cd
Implement teardown removeAllImages
LK4D4 Apr 23, 2015
07795c3
fix runtime issue for TestEventsFilterContainer
DarianAnjuhal Apr 23, 2015
11a5f1a
statsCollector: fix data race in run()
noxiouz Apr 23, 2015
700056c
Merge pull request #12753 from LK4D4/remove_all_images
duglin Apr 24, 2015
03719be
Merge pull request #12754 from LK4D4/carry_12707
cpuguy83 Apr 24, 2015
887ad57
Use -f for rm instead of kill before
LK4D4 Apr 24, 2015
366ee6b
Expose ParseRestartPolicy
ibuildthecloud Apr 24, 2015
b76bbae
Merge pull request #12755 from LK4D4/use_f_for_remove
cpuguy83 Apr 24, 2015
9bea123
Not protect dangling images for integration-cli
LK4D4 Apr 24, 2015
aa06462
Merge pull request #12762 from ibuildthecloud/export-restart-parse
cpuguy83 Apr 24, 2015
f696b10
Implement DockerRegistrySuite in integration-cli
LK4D4 Apr 24, 2015
602fd4e
Merge pull request #12764 from LK4D4/not_protect_dangling
LK4D4 Apr 24, 2015
29a3bbf
Eliminate json.Marshal from graph/export.go and volumes/volume.go
ankushagarwal Apr 20, 2015
ae9905e
Fixed typo 'configuring'
Apr 24, 2015
9ad7145
Merge pull request #12775 from Microsoft/12774-fixtypo
Apr 25, 2015
c3ef6df
Merge pull request #12699 from vbatts/vbatts-init_mnt_ns
Apr 25, 2015
6e9a6f5
Merge pull request #12765 from LK4D4/registry_suite
estesp Apr 25, 2015
272e612
Merge pull request #12744 from vdemeester/11603-pkg-archive-test-cove…
LK4D4 Apr 25, 2015
2188c8d
Fix documentation typo in articles/basics.md
sergey-alekseev Apr 25, 2015
8f752ff
Add test for REST API container rename
HuKeping Apr 24, 2015
bc149be
A fix for = in env values in linked containers
Apr 25, 2015
cd4f507
Fix race condition in API commit test
Apr 25, 2015
b5ccfca
Merge pull request #12784 from duglin/RaceCommit
LK4D4 Apr 25, 2015
fa9299f
Copy edits for typos
epc Apr 25, 2015
fefb836
Merge pull request #12728 from HuKeping/addtest
LK4D4 Apr 26, 2015
92f4bd5
Merge pull request #12734 from sergey-alekseev/sergey-alekseev-patch-1
calavera Apr 26, 2015
26543e0
Replace json.Unmarshal with json.Decoder().Decode()
Apr 21, 2015
ba79f0c
Adding James and theJeztah to the list
Apr 26, 2015
6cba310
Merge pull request #12787 from epc/copyedits
Apr 26, 2015
cfd0f53
Add missing API docs about filtering by label.
dnephin Apr 26, 2015
6d9439c
remove useless http call from export
dalanlan Apr 27, 2015
accbbfe
Remove dead code from daemon/daemon.go
jmzwcn Apr 27, 2015
c7b2632
Remove c.Fatal from goroutine in TestGetContainersAttachWebsocket
Apr 27, 2015
f30d1c1
Prevent deadlock on attempt to use own net
aidanhs Apr 27, 2015
9e0ffae
remove some uneeded sleeps in tests
cpuguy83 Apr 22, 2015
325c040
Merge pull request #12616 from cpuguy83/remove_uneeded_sleeps
duglin Apr 27, 2015
8dc07af
Merge pull request #12783 from duglin/Issue12763-LinkedEnvs
cpuguy83 Apr 27, 2015
29f379e
improve docker man page
WeiZhang555 Apr 27, 2015
8ec22ae
Merge pull request #12803 from ZJU-SEL/remove_useless_export_httpcall
estesp Apr 27, 2015
ab97303
Windows: Info no containerized check
Apr 27, 2015
02d73d9
Merge pull request #12799 from aidanhs/aphs-fix-net-container-deadlock
LK4D4 Apr 27, 2015
9f684c8
Merge pull request #12714 from noxiouz/fix_race_stats_collector
Apr 27, 2015
5305e67
Merge pull request #12809 from runcom/remove-cfatal-goroutine-attachws
LK4D4 Apr 27, 2015
6856c69
Merge pull request #12807 from jmzwcn/patch-2
cpuguy83 Apr 27, 2015
ba1725a
Windows: Refactor volumes
Apr 27, 2015
bb1c576
Expose whole Response struct in sockRequestRaw
Apr 27, 2015
97b35ba
Merge pull request #12818 from Microsoft/10662-nocontainercheckonwindows
cpuguy83 Apr 27, 2015
4ddd448
Merge pull request #12793 from runcom/bye-unmarshal
tiborvass Apr 27, 2015
f9c27bd
Merge pull request #12819 from Microsoft/10662-volumesrefactor
calavera Apr 27, 2015
b6cfe7c
Do Debian installation verification with hello-world image.
thewtex Apr 27, 2015
572ba9c
Merge pull request #12333 from Mashimiao/clean-up-viz
tiborvass Apr 27, 2015
531ec3c
Merge pull request #12532 from ankushagarwal/eliminate-json-marshal
Apr 27, 2015
40779b2
Parallelize TestEventsLimit
fntlnz Apr 27, 2015
8445381
Small if err cleaning
Apr 26, 2015
2f513db
Merge pull request #12719 from fntlnz/12675-test-events-emit
cpuguy83 Apr 27, 2015
3941623
trivial: typo cleanup
tdmackey Apr 27, 2015
c3c08f7
Fix undead containers
cpuguy83 Apr 27, 2015
62a85fe
Merge pull request #12794 from runcom/small-cleaning
tiborvass Apr 27, 2015
0153edc
Merge pull request #12828 from tdmackey/trivial-spelling
estesp Apr 27, 2015
1389517
Merge pull request #12801 from thewtex/doc-test-ubuntu
Apr 27, 2015
a07e963
Merge pull request #11882 from hqhq/hq_warn_device_cg
cpuguy83 Apr 27, 2015
57464c3
Implement daemon suite for integration-cli
LK4D4 Apr 26, 2015
9018f87
Merge pull request #12796 from moxiegirl/add-to-docs-maintainers
Apr 27, 2015
d4bbbe5
Add docs for `--exec-opt` and setting `native.cgroupdriver`.
jessfraz Jan 28, 2015
aebeefa
Merge pull request #12798 from dnephin/add_missing_docs_about_labels
Apr 28, 2015
2afcd10
option to configure cgroups
jessfraz Apr 6, 2015
779939e
Merge pull request #12817 from WeiZhang555/man
thaJeztah Apr 28, 2015
af8efab
add initial docs for windows client testing
jessfraz Mar 10, 2015
8f52eb7
Rewrite Official Repositories page.
psftw Apr 22, 2015
c7812f0
fix a minor inspect format issue
hqhq Apr 28, 2015
6ac4812
Merge pull request #12723 from moxiegirl/carry-11296
Apr 28, 2015
67da055
Merge pull request #12826 from cpuguy83/12825_fix_leftover_container_…
estesp Apr 28, 2015
ed40c0a
rhel.md: update RHEL6 from 6.5 to 6.6
vbatts Apr 27, 2015
179b6dd
rhel.md: bump the kernel version for RHEL6
vbatts Apr 27, 2015
9b365e0
rhel.md: adding link to most recent issue
vbatts Apr 27, 2015
868d5dc
Merge pull request #12844 from hqhq/hq_fix_inspect_format
LK4D4 Apr 28, 2015
6113eab
Merge pull request #12814 from vbatts/vbatts-rhel_updates
Apr 28, 2015
dde5ff2
Merge pull request #12644 from psftw/official-repos-rewrite
Apr 28, 2015
6fd8e48
add support for exclusion rules in dockerignore
buddhamagnet Apr 9, 2015
4676ff3
Merge pull request #12245 from buddhamagnet/dockerignore-ignores
Apr 28, 2015
cfa3a08
Merge pull request #12820 from runcom/yet-another-sockRequest-refactor
calavera Apr 28, 2015
f80300e
Merge pull request #12789 from LK4D4/daemon_suite
Apr 28, 2015
d2f0b9e
Merge pull request #11190 from cyphar/expose-path-sanitisation-wrappers
cpuguy83 Apr 28, 2015
0e752ad
Fix docker rename help not consistent with other commands
coolljt0725 Apr 29, 2015
f2f8e4c
Merge pull request #12870 from coolljt0725/fix_rename_help
cpuguy83 Apr 29, 2015
8454e1a
Add coverage on pkg/fileutils
vdemeester Apr 29, 2015
4203230
c.Fatal won't fail and exit test inside a goroutine, errors should be…
Apr 27, 2015
44f8c44
Merge pull request #12840 from vdemeester/11598-pkg-fileutils-tests
duglin Apr 29, 2015
53bef64
Merge pull request #10427 from jfrazelle/option-to-disable-systemd-cg…
Apr 29, 2015
6c46c9c
Merge pull request #11526 from mizzy/append-drop-rule-not-insert
LK4D4 Apr 29, 2015
d716f22
Merge pull request #12875 from runcom/remove-cfatal-in-goroutine-inte…
Apr 29, 2015
2c4fe2a
Merge pull request #12439 from Mashimiao/add-err-check-before-getting…
estesp Apr 29, 2015
c0a1b2d
docs: Add more places docker.service can be at
ahmetb Apr 20, 2015
029cbc1
Merge pull request #12574 from ahmetalpbalkan/docs/systemd-dir
thaJeztah Apr 29, 2015
bedba16
Initial attempt at adding Criu support to Docker
boucher Apr 9, 2015
5b1db18
Update checkpoint/restore to use the new server/daemon pattern
boucher Apr 30, 2015
d68ea39
Updates to docker master
boucher May 6, 2015
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
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 1.6.0 (2015-04-07)

#### Builder
+ Building images from an image ID
+ Build containers with resource constraints, ie `docker build --cpu-shares=100 --memory=1024m...`
+ `commit --change` to apply specified Dockerfile instructions while committing the image
+ `import --change` to apply specified Dockerfile instructions while importing the image
+ Builds no longer continue in the background when canceled with CTRL-C

#### Client
+ Windows Support

#### Runtime
+ Container and image Labels
+ `--cgroup-parent` for specifying a parent cgroup to place container cgroup within
+ Logging drivers, `json-file`, `syslog`, or `none`
+ Pulling images by ID
+ `--ulimit` to set the ulimit on a container
+ `--default-ulimit` option on the daemon which applies to all created containers (and overwritten by `--ulimit` on run)

## 1.5.0 (2015-02-10)

#### Builder
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ However, there might be a way to implement that feature *on top of* Docker.
<td>Stack Overflow</td>
<td>
Stack Overflow has over 7000K Docker questions listed. We regularly
monitor <a href="http://stackoverflow.com/search?tab=newest&q=docker" target="_blank">Docker questions</a>
monitor <a href="https://stackoverflow.com/search?tab=newest&q=docker" target="_blank">Docker questions</a>
and so do many other knowledgeable Docker users.
</td>
</tr>
Expand Down
15 changes: 11 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,19 @@ RUN cd /usr/local/go/src \
./make.bash --no-clean 2>&1; \
done

# We still support compiling with older Go, so need to grab older "gofmt"
ENV GOFMT_VERSION 1.3.3
RUN curl -sSL https://storage.googleapis.com/golang/go${GOFMT_VERSION}.$(go env GOOS)-$(go env GOARCH).tar.gz | tar -C /go/bin -xz --strip-components=2 go/bin/gofmt
# This has been commented out and kept as reference because we don't support compiling with older Go anymore.
# ENV GOFMT_VERSION 1.3.3
# RUN curl -sSL https://storage.googleapis.com/golang/go${GOFMT_VERSION}.$(go env GOOS)-$(go env GOARCH).tar.gz | tar -C /go/bin -xz --strip-components=2 go/bin/gofmt

# Update this sha when we upgrade to go 1.5.0
ENV GO_TOOLS_COMMIT 069d2f3bcb68257b627205f0486d6cc69a231ff9
# Grab Go's cover tool for dead-simple code coverage testing
RUN go get golang.org/x/tools/cmd/cover
# Grab Go's vet tool for examining go code to find suspicious constructs
# and help prevent errors that the compiler might not catch
RUN git clone https://github.com/golang/tools.git /go/src/golang.org/x/tools \
&& (cd /go/src/golang.org/x/tools && git checkout -q $GO_TOOLS_COMMIT) \
&& go install -v golang.org/x/tools/cmd/cover \
&& go install -v golang.org/x/tools/cmd/vet

# TODO replace FPM with some very minimal debhelper stuff
RUN gem install --no-rdoc --no-ri fpm --version 1.3.2
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -182,7 +182,7 @@
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
8 changes: 5 additions & 3 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ project from a great one.
text = """
Docker follows the timeless, highly efficient and totally unfair system
known as [Benevolent dictator for
life](http://en.wikipedia.org/wiki/Benevolent_Dictator_for_Life), with
life](https://en.wikipedia.org/wiki/Benevolent_Dictator_for_Life), with
yours truly, Solomon Hykes, in the role of BDFL. This means that all
decisions are made, by default, by Solomon. Since making every decision
myself would be highly un-scalable, in practice decisions are spread
Expand Down Expand Up @@ -408,7 +408,9 @@ made through a pull request.
people = [
"fredlf",
"james",
"mary",
"moxiegirl",
"thaJeztah",
"jamtur01",
"spf13",
"sven"
]
Expand Down Expand Up @@ -585,7 +587,7 @@ made through a pull request.
Email = "[email protected]"
GitHub = "lk4d4"

[people.mary]
[people.moxiegirl]
Name = "Mary Anthony"
Email = "[email protected]"
GitHub = "moxiegirl"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test-docker-py: build
$(DOCKER_RUN_DOCKER) hack/make.sh binary test-docker-py

validate: build
$(DOCKER_RUN_DOCKER) hack/make.sh validate-gofmt validate-dco validate-toml
$(DOCKER_RUN_DOCKER) hack/make.sh validate-dco validate-gofmt validate-test validate-toml validate-vet

shell: build
$(DOCKER_RUN_DOCKER) bash
Expand Down
6 changes: 3 additions & 3 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Docker
Copyright 2012-2015 Docker, Inc.

This product includes software developed at Docker, Inc. (http://www.docker.com).
This product includes software developed at Docker, Inc. (https://www.docker.com).

This product contains software (https://github.com/kr/pty) developed
by Keith Rarick, licensed under the MIT License.
Expand All @@ -14,6 +14,6 @@ United States and other governments.
It is your responsibility to ensure that your use and/or transfer does not
violate applicable laws.

For more information, please see http://www.bis.doc.gov
For more information, please see https://www.bis.doc.gov

See also http://www.apache.org/dev/crypto.html and/or seek legal counsel.
See also https://www.apache.org/dev/crypto.html and/or seek legal counsel.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ databases, and backend services without depending on a particular stack
or provider.

Docker began as an open-source implementation of the deployment engine which
powers [dotCloud](http://dotcloud.com), a popular Platform-as-a-Service.
powers [dotCloud](https://dotcloud.com), a popular Platform-as-a-Service.
It benefits directly from the experience accumulated over several years
of large-scale operation and support of hundreds of thousands of
applications and databases.
Expand Down Expand Up @@ -56,12 +56,12 @@ By contrast, Docker relies on a different sandboxing method known as
*containerization*. Unlike traditional virtualization, containerization
takes place at the kernel level. Most modern operating system kernels
now support the primitives necessary for containerization, including
Linux with [openvz](http://openvz.org),
Linux with [openvz](https://openvz.org),
[vserver](http://linux-vserver.org) and more recently
[lxc](http://lxc.sourceforge.net), Solaris with
[zones](http://docs.oracle.com/cd/E26502_01/html/E29024/preface-1.html#scrolltoc),
[zones](https://docs.oracle.com/cd/E26502_01/html/E29024/preface-1.html#scrolltoc),
and FreeBSD with
[Jails](http://www.freebsd.org/doc/handbook/jails.html).
[Jails](https://www.freebsd.org/doc/handbook/jails.html).

Docker builds on top of these low-level primitives to offer developers a
portable format and runtime environment that solves all four problems.
Expand Down Expand Up @@ -115,7 +115,7 @@ This is usually difficult for several reasons:
Docker solves the problem of dependency hell by giving the developer a simple
way to express *all* their application's dependencies in one place, while
streamlining the process of assembling them. If this makes you think of
[XKCD 927](http://xkcd.com/927/), don't worry. Docker doesn't
[XKCD 927](https://xkcd.com/927/), don't worry. Docker doesn't
*replace* your favorite packaging systems. It simply orchestrates
their use in a simple and repeatable way. How does it do that? With
layers.
Expand Down Expand Up @@ -147,10 +147,10 @@ Docker can be installed on your local machine as well as servers - both
bare metal and virtualized. It is available as a binary on most modern
Linux systems, or as a VM on Windows, Mac and other systems.

We also offer an [interactive tutorial](http://www.docker.com/tryit/)
We also offer an [interactive tutorial](https://www.docker.com/tryit/)
for quickly learning the basics of using Docker.

For up-to-date install instructions, see the [Docs](http://docs.docker.com).
For up-to-date install instructions, see the [Docs](https://docs.docker.com).

Usage examples
==============
Expand All @@ -159,7 +159,7 @@ Docker can be used to run short-lived commands, long-running daemons
(app servers, databases, etc.), interactive shell sessions, etc.

You can find a [list of real-world
examples](http://docs.docker.com/examples/) in the
examples](https://docs.docker.com/examples/) in the
documentation.

Under the hood
Expand All @@ -172,14 +172,14 @@ Under the hood, Docker is built on the following components:
and
[namespacing](http://blog.dotcloud.com/under-the-hood-linux-kernels-on-dotcloud-part)
capabilities of the Linux kernel
* The [Go](http://golang.org) programming language
* The [Go](https://golang.org) programming language
* The [Docker Image Specification](https://github.com/docker/docker/blob/master/image/spec/v1.md)
* The [Libcontainer Specification](https://github.com/docker/libcontainer/blob/master/SPEC.md)

Contributing to Docker
======================

[![GoDoc](https://godoc.org/github.com/docker/docker?status.png)](https://godoc.org/github.com/docker/docker)
[![GoDoc](https://godoc.org/github.com/docker/docker?status.svg)](https://godoc.org/github.com/docker/docker)
[![Jenkins Build Status](https://jenkins.dockerproject.com/job/Docker%20Master/badge/icon)](https://jenkins.dockerproject.com/job/Docker%20Master/)

Want to hack on Docker? Awesome! We have [instructions to help you get
Expand Down Expand Up @@ -218,7 +218,7 @@ United States and other governments.
It is your responsibility to ensure that your use and/or transfer does not
violate applicable laws.

For more information, please see http://www.bis.doc.gov
For more information, please see https://www.bis.doc.gov


Licensing
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0-dev
1.7.0-dev
27 changes: 11 additions & 16 deletions api/client/attach.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package client

import (
"encoding/json"
"fmt"
"io"
"net/url"

"github.com/Sirupsen/logrus"
"github.com/docker/docker/engine"
"github.com/docker/docker/api/types"
flag "github.com/docker/docker/pkg/mflag"
"github.com/docker/docker/pkg/signal"
"github.com/docker/docker/utils"
)

// CmdAttach attaches to a running container.
Expand All @@ -31,25 +31,20 @@ func (cli *DockerCli) CmdAttach(args ...string) error {
return err
}

env := engine.Env{}
if err := env.Decode(stream); err != nil {
var c types.ContainerJSON
if err := json.NewDecoder(stream).Decode(&c); err != nil {
return err
}

if !env.GetSubEnv("State").GetBool("Running") {
if !c.State.Running {
return fmt.Errorf("You cannot attach to a stopped container, start it first")
}

var (
config = env.GetSubEnv("Config")
tty = config.GetBool("Tty")
)

if err := cli.CheckTtyInput(!*noStdin, tty); err != nil {
if err := cli.CheckTtyInput(!*noStdin, c.Config.Tty); err != nil {
return err
}

if tty && cli.isTerminalOut {
if c.Config.Tty && cli.isTerminalOut {
if err := cli.monitorTtySize(cmd.Arg(0), false); err != nil {
logrus.Debugf("Error monitoring TTY size: %s", err)
}
Expand All @@ -59,20 +54,20 @@ func (cli *DockerCli) CmdAttach(args ...string) error {

v := url.Values{}
v.Set("stream", "1")
if !*noStdin && config.GetBool("OpenStdin") {
if !*noStdin && c.Config.OpenStdin {
v.Set("stdin", "1")
in = cli.in
}

v.Set("stdout", "1")
v.Set("stderr", "1")

if *proxy && !tty {
if *proxy && !c.Config.Tty {
sigc := cli.forwardAllSignals(cmd.Arg(0))
defer signal.StopCatch(sigc)
}

if err := cli.hijack("POST", "/containers/"+cmd.Arg(0)+"/attach?"+v.Encode(), tty, in, cli.out, cli.err, nil, nil); err != nil {
if err := cli.hijack("POST", "/containers/"+cmd.Arg(0)+"/attach?"+v.Encode(), c.Config.Tty, in, cli.out, cli.err, nil, nil); err != nil {
return err
}

Expand All @@ -81,7 +76,7 @@ func (cli *DockerCli) CmdAttach(args ...string) error {
return err
}
if status != 0 {
return &utils.StatusError{StatusCode: status}
return StatusError{StatusCode: status}
}

return nil
Expand Down
23 changes: 8 additions & 15 deletions api/client/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
flMemoryString := cmd.String([]string{"m", "-memory"}, "", "Memory limit")
flMemorySwap := cmd.String([]string{"-memory-swap"}, "", "Total memory (memory + swap), '-1' to disable swap")
flCPUShares := cmd.Int64([]string{"c", "-cpu-shares"}, 0, "CPU shares (relative weight)")
flCpuQuota := cmd.Int64([]string{"-cpu-quota"}, 0, "Limit the CPU CFS (Completely Fair Scheduler) quota")
flCPUSetCpus := cmd.String([]string{"-cpuset-cpus"}, "", "CPUs in which to allow execution (0-3, 0,1)")
flCPUSetMems := cmd.String([]string{"-cpuset-mems"}, "", "MEMs in which to allow execution (0-3, 0,1)")

cmd.Require(flag.Exact, 1)
cmd.ParseFlags(args, true)
Expand Down Expand Up @@ -94,20 +96,11 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
} else {
root := cmd.Arg(0)
if urlutil.IsGitURL(root) {
remoteURL := cmd.Arg(0)
if !urlutil.IsGitTransport(remoteURL) {
remoteURL = "https://" + remoteURL
}

root, err = ioutil.TempDir("", "docker-build-git")
root, err = utils.GitClone(root)
if err != nil {
return err
}
defer os.RemoveAll(root)

if output, err := exec.Command("git", "clone", "--recursive", remoteURL, root).CombinedOutput(); err != nil {
return fmt.Errorf("Error trying to use git: %s (%s)", err, output)
}
}
if _, err := os.Stat(root); err != nil {
return err
Expand Down Expand Up @@ -180,7 +173,7 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
includes = append(includes, ".dockerignore", *dockerfileName)
}

if err = utils.ValidateContextDirectory(root, excludes); err != nil {
if err := utils.ValidateContextDirectory(root, excludes); err != nil {
return fmt.Errorf("Error checking context is accessible: '%s'. Please check permissions and try again.", err)
}
options := &archive.TarOptions{
Expand Down Expand Up @@ -278,16 +271,16 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
}

v.Set("cpusetcpus", *flCPUSetCpus)
v.Set("cpusetmems", *flCPUSetMems)
v.Set("cpushares", strconv.FormatInt(*flCPUShares, 10))
v.Set("cpuquota", strconv.FormatInt(*flCpuQuota, 10))
v.Set("memory", strconv.FormatInt(memory, 10))
v.Set("memswap", strconv.FormatInt(memorySwap, 10))

v.Set("dockerfile", *dockerfileName)

cli.LoadConfigFile()

headers := http.Header(make(map[string][]string))
buf, err := json.Marshal(cli.configFile)
buf, err := json.Marshal(cli.configFile.AuthConfigs)
if err != nil {
return err
}
Expand All @@ -302,7 +295,7 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
if jerr.Code == 0 {
jerr.Code = 1
}
return &utils.StatusError{Status: jerr.Message, StatusCode: jerr.Code}
return StatusError{Status: jerr.Message, StatusCode: jerr.Code}
}
return err
}
Loading