Commit Graph

11038 Commits

Author SHA1 Message Date
7dca5b65c4 docs: Fix some minor typos on dockerlinks guide
Signed-off-by: Fabio Rehm <fgrehm@gmail.com>
Upstream-commit: 06d633e1f68d003f6183403b134142b12a24c9ca
Component: engine
2014-10-14 10:15:35 -03:00
0873f2636a Merge pull request #8553 from tianon/fix-over-aggressive-shell-interpolation-regex
Fix builder from being over-aggressive on ${}
Upstream-commit: 95b67895c4a5bfa604cf850d202ecb2b4a7f3f14
Component: engine
2014-10-14 00:30:03 -07:00
872f82a3de Fix builder from being over-aggressive on ${}
`${SOME_VAR%pattern}` was turning into `SOME_VAL%pattern}` which the shell would then balk at.

I've updated the `TOKEN_ENV_INTERPOLATION` regex to account for this (ie, if `${` is used, it _must_ also match the closing `}`), and renamed the variable to not be exported (since it's not used outside the function following it).

I also added comments for the bits of `tokenEnvInterpolation` so they're easier to follow. 😄

Signed-off-by: Andrew Page <admwiggin@gmail.com>
Upstream-commit: 24189b2c36985f8345691fa6ec2c0766cfc133a7
Component: engine
2014-10-14 00:58:55 -06:00
5db028b7e6 Merge pull request #8552 from crosbymichael/update-libcontainer-oct2
Update to libcontainer 8d1d0ba38a7348c5cfdc05aea3b
Upstream-commit: 0ab2f192786c0e630229f6fd888f8acc546160af
Component: engine
2014-10-13 23:43:06 -07:00
39417f76ad Update to libcontainer 8d1d0ba38a7348c5cfdc05aea3b
This fixes issues where the apparmor profile is not applied to processes
via docker exec.  As a side effect the parent processes were unable to
kill the additional child processes because of the profile mismatch.

Easy way to reproduce on an apparmor system:
docker run -ti debian:jessie bash
ps auxZ
- look at the labels

- in another shell
docker exec <name> sleep 1000

- go back to the first container and
ps auxZ
- make sure all processes have the correct docker-default profile

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 018ce19b31bbd8d752658835e9442fa7d59a47e3
Component: engine
2014-10-14 06:24:38 +00:00
81e510d938 Merge pull request #8548 from crosbymichael/config-path
Write s3cfg to $HOME
Upstream-commit: 9d1c9a4075306e5d1e753a836913ef119d85934f
Component: engine
2014-10-13 20:45:16 -07:00
e0af0724d0 Write s3cfg to $HOME
Because of the base image change, $HOME is not always / and we need to
write to the proper $HOME within the container to complete the release
process.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: e0a1df8e683879bb999623a9521b272aafcc4208
Component: engine
2014-10-14 03:34:24 +00:00
a2d7f3b3c1 Merge pull request #8545 from fredlf/1.3release-notes
Adding release notes for 1.3.
Upstream-commit: e4976b8cc1236730ed52fc4e798f1be836364c28
Component: engine
2014-10-13 19:30:33 -07:00
10d7388bf5 Merge pull request #8547 from erikh/onbuild-cmd
builder: ONBUILD triggers were not accurately being executed in JSON cases
Upstream-commit: 2c5ad1ac3e4c2a973a29ff5d7617ca2643ffcd49
Component: engine
2014-10-13 19:29:16 -07:00
f1da875f18 Merge pull request #8226 from SvenDowideit/more-daemon-option-information
More daemon option information
Upstream-commit: 18b507c49e6f7385b05b8a11b64237405bb2ee68
Component: engine
2014-10-14 12:06:14 +10:00
65957340a9 Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Add some information about the storage and execution driver choices

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: 5bcff59febc1ac798d735b52cc4e92db1ab41bd9
Component: engine
2014-10-14 12:05:09 +10:00
3381602232 builder: ONBUILD triggers were not accurately being executed in JSON cases.
Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Upstream-commit: 1150c1639a9efbd2e5e4ac1e71961aef77a32de0
Component: engine
2014-10-14 01:59:45 +00:00
d8ad6bf5ed Merge pull request #8529 from SvenDowideit/update-version-dropdown-on-404
Remove version selector and edit on Github on search page, as it only se...
Upstream-commit: 587e2f1ddc98ab3fafaea9647b4abe2419223e3f
Component: engine
2014-10-14 11:55:12 +10:00
ebe6667d49 Remove version selector and edit on Github on search page, as it only searches the latest docs
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Upstream-commit: 5bf3ac573816d718a1c318e5eea7da0142ae92d1
Component: engine
2014-10-14 11:54:41 +10:00
7d2db2fad6 Merge pull request #8525 from duglin/Issue4789
Add more info about the LINK env vars created
Upstream-commit: 9d5e3a54a0237bb9bf5a752d49959fed751f02a3
Component: engine
2014-10-14 11:24:17 +10:00
9224b478c9 Adding release notes for 1.3.
Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
Upstream-commit: 30cfa148b9b4bfe390cbd7936e77efe2962bd506
Component: engine
2014-10-13 17:17:41 -07:00
2c7648b4f0 Merge pull request #8541 from crosbymichael/update-libcontainer-oct1
Update libcontainer to 4f409628d80b9842004a3f17c92
Upstream-commit: 839660ada11389892c0dfd43060b69ec7725d7b4
Component: engine
2014-10-13 17:54:27 -04:00
45c1f10b20 Merge pull request #8462 from SvenDowideit/document-how-to-add-a-new-document
Mention the mkdocs.yml file for adding new documents
Upstream-commit: 939227a81a6055ea7984b047f95f9b3d387ba0c3
Component: engine
2014-10-13 13:15:00 -07:00
f7ce34d394 Merge pull request #8530 from SvenDowideit/auto-scroll-to-auto-index-section-the-user-requested
Turn off editing for auto-generated index pages, and scroll the user to the right section
Upstream-commit: c2096d70968e9c003608fd14237afc4b189fa03f
Component: engine
2014-10-13 13:12:05 -07:00
e907084e52 Merge pull request #8532 from SvenDowideit/demote-readme.md-header
README.md is a sub-section in how to build automated builds
Upstream-commit: 66b9694b583c99b2309cb763dc106f6f3fcdd69c
Component: engine
2014-10-13 13:02:41 -07:00
b3ff7a5ede Update libcontainer to 4f409628d80b9842004a3f17c92
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 8fedf718ce0c788311d8d3382b0aaeb9b9a792d4
Component: engine
2014-10-13 19:53:20 +00:00
43d8393163 Merge pull request #8528 from SvenDowideit/hide-side-toc-for-search
Hide the empty sidebar TOC on the search page
Upstream-commit: 547c42d8d0027e7148f63d7d39a954328aab1e36
Component: engine
2014-10-13 12:13:06 -07:00
8a8dc55658 Merge pull request #8527 from SvenDowideit/dissalow-robots-except-for-docs.docker.com
start sending robots.txt (and humans.txt) again, and set to dissallow if...
Upstream-commit: 3040c8b759d2a17ee49d81b3be48237fd87086a1
Component: engine
2014-10-13 12:12:18 -07:00
304a5b7a01 Merge pull request #8517 from sequenceiq/master
docs: fixing docker.io api
Upstream-commit: 6ce3967f8f5fdcd1ae2b1bdaba483ed9654e6f29
Component: engine
2014-10-13 12:09:39 -07:00
33f3f70f42 Merge pull request #8503 from aanand/tlsverify-environment-variable
Add DOCKER_TLS_VERIFY environment variable, equivalent to --tlsverify flag
Upstream-commit: ce669297df2981214c5d01e54c358347c5852ef7
Component: engine
2014-10-13 10:20:10 -07:00
b5c4deb0f6 Merge pull request #8435 from SvenDowideit/explain-docker-attach-more
Add more info on attach inspired by discussion in #2855
Upstream-commit: 42b217044a0a00af3ccf4e801e162014f67d941a
Component: engine
2014-10-13 13:19:22 -04:00
87e05c54cf Merge pull request #8523 from duglin/FixLinkCmdLine
Fix href in docs w.r.t. cgroups freezer pointer
Upstream-commit: e3101a3508a67fd7653ad95052845513facb6569
Component: engine
2014-10-13 13:18:49 -04:00
84dc0f709d Merge pull request #8524 from duglin/Regardless
Fix typo: reguardless should be regardless
Upstream-commit: 8a32aa26c1c47f3197a7dc690e16412137af95b7
Component: engine
2014-10-13 13:18:21 -04:00
9e41637039 Merge pull request #8507 from duglin/Issue3087
Add some docs about which env vars are defined in new containers
Upstream-commit: fe03da7da87e174a1f1635881e60da6186077289
Component: engine
2014-10-13 13:13:43 -04:00
830a3741c6 Add DOCKER_TLS_VERIFY environment variable, equivalent to --tlsverify flag
This makes it possible to make the Docker client "secure by default"
without wrapping the binary in a shell alias so that `--tlsverify` is
always passed.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Upstream-commit: 19fb942d3609f647adeda68c6ca106371c7b32ac
Component: engine
2014-10-13 11:49:26 +01:00
608d55c5e6 Add more info on attach inspired by discussion in #2855
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Upstream-commit: 801edfa9b8a765e734ac4a909ab032f0cb03fe87
Component: engine
2014-10-13 17:30:08 +10:00
22879cb40f Mention the mkdocs.yml file for adding new documents
and move the complicated discussion about branches lower down,
hopefully most won't need to know

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: 3d2f10e28ae6aa278aca4403d2e3b55cc8071022
Component: engine
2014-10-13 17:06:18 +10:00
62921e7842 README.md is a sub-section in how to build automated builds
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Upstream-commit: 3732cd6612943b39ec36ae6fc0819e7003642121
Component: engine
2014-10-13 17:00:58 +10:00
21aa32a011 Turn off editing for auto-generated index pages, and scroll the user to the right section
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Upstream-commit: 687215c32f10b85ce1c3fffef356e505daccf3f4
Component: engine
2014-10-13 16:32:18 +10:00
2f8410b378 Hide the empty sidebad TOC on the search page
This uses @dnephin's changes to the base.html (thank you!)

and then adds the hide_toc: page meta

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Upstream-commit: d883fb66b04b58bf446fa2b493644d0f453829cb
Component: engine
2014-10-13 14:10:29 +10:00
3f151aca76 start sending robots.txt (and humans.txt) again, and set to dissallow if its not the real docs site
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Upstream-commit: 44e9a59665bd34f20d54e775d9afb0332bf8590d
Component: engine
2014-10-13 13:53:16 +10:00
7c9155aa4b Add more info about the LINK env vars created
@SvenDowideit see what you think. I'd like to get your take on this
before I submit the PR.

Closes #4789

Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: 61387427cb9b1ed6a4c34e0a7960183159ee305d
Component: engine
2014-10-12 18:34:18 -07:00
011a4fae94 Fix typo: reguardless should be regardless
Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: ba7038c8d2a86e34bba2128b5b973864eb41c7a6
Component: engine
2014-10-12 14:41:24 -07:00
6430118dac Fix href in docs w.r.t. cgroups freezer pointer
Apparently, the [...] and (http...) need to be right after each other instead
of on different lines.

Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: b10e11f30e111e6d4ae4b439e64463e08b3ab78b
Component: engine
2014-10-12 12:59:46 -07:00
f21e8f2701 docs: fixing docker.io api
Signed-off-by: Lajos Papp <lajos.papp@sequenceiq.com>
Upstream-commit: 137bad4b48f899cb544500bf898cbd74464a8d2f
Component: engine
2014-10-12 09:05:58 +02:00
7a3f244d2c Merge pull request #8508 from vbatts/vbatts-too_many_open_files
cleaner handling of client socket access
Upstream-commit: 7fa7c42ce2f151d438ad83fd2dcd5a0679015618
Component: engine
2014-10-11 11:16:23 +03:00
29fdd38079 Merge pull request #8393 from dmcgowan/provenance_pull_enhance
Make V2 code more defensive against malformed content
Upstream-commit: 9f482a66ab37ec396ac61ed0c00d59122ac07453
Component: engine
2014-10-10 17:19:59 -07:00
d2f7355324 Merge pull request #8505 from crosbymichael/ps-name
Improve ps name parsing
Upstream-commit: 246ec5dd067fc17be5196ae29956e3368b167ccf
Component: engine
2014-10-10 17:08:35 -07:00
abbb3a3dd3 cleaner handling of client socket access
In the go stdlib net/http Transport, the used connections are cached
when idled. This behaviour is intended for TCP connections and does not
behave correctly for unix sockets. Despite the
DefaultMaxIdleConnsPerHost being 2, the idled connections are held open
during a session. For large sessions like `docker rm $(docker ps -a -q)`
of thousands of containers, it will cause the client _and_ the server to
open too many fails and have failures.

Having keep alives not used for only unix sockets is a work around for
this stdlib issue.

Also this includes disabling compression when communicating over the
local unix socket too.

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Upstream-commit: fb7ceeb170447cdbef3e74a92358eb9b084c0bf7
Component: engine
2014-10-10 19:58:49 -04:00
e2a55f16e8 Enable V2 pull flow
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Upstream-commit: 3be4551a9164c5fac577e9e3683dea65c2fc193a
Component: engine
2014-10-10 16:09:56 -07:00
e2eeab4dd3 Update verification message
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Upstream-commit: 85fd8213afe9497da5df5583d776659ed187c9e9
Component: engine
2014-10-10 16:04:29 -07:00
0ae83cbb52 Support tarsum dev version to fix issue with mtime
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Upstream-commit: 73a9089306ac1ed25c594e54c9b2a11a0ac8e610
Component: engine
2014-10-10 16:04:29 -07:00
5ab2b8482f Update manifest format to rename blobsums and use arrays of dictionaries
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Upstream-commit: 15d5c7f10f56faeaa04f6374341e1cfd3e03cab1
Component: engine
2014-10-10 16:04:29 -07:00
c77de695cd Add status message for V2 pull
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Upstream-commit: 456f493659d92ef271bc3573c537d10ae5d0847b
Component: engine
2014-10-10 16:04:29 -07:00
3d8d2b7af5 Update pull message and log
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Upstream-commit: 7d21ea6627ae964425da9bc52bbb9e21b7da3cf9
Component: engine
2014-10-10 16:04:28 -07:00