1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Commit Graph

47845 Commits

Author SHA1 Message Date
Tibor Vass
e421668b1b Merge pull request #21708 from tianon/InRelease
Also generate "InRelease" files for newer APT clients
2016-05-11 13:21:15 -04:00
Vincent Demeester
4c654eeea2 Merge pull request #22669 from thaJeztah/docs-update-seccomp-whitelist
docs: update seccomp whitelist
2016-05-11 18:59:53 +02:00
Sebastiaan van Stijn
2cddd1cd1f docs: update seccomp whitelist
the 'modify_ldt' was listed as "blocked by default",
but was whitelisted in 13a9d4e899

this updates the documentation to reflect this

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-05-11 18:45:27 +02:00
Sebastiaan van Stijn
3710f9074e Merge pull request #22666 from yongtang/05112016-update-deprecated-docs-cli-flags
Update deprecated docs for cli flags removal.
2016-05-11 18:05:52 +02:00
Alexander Morozov
fd3a795a47 Merge pull request #22278 from runcom/fixies-dockerd
Fixies dockerd
2016-05-11 07:57:00 -07:00
Alexander Morozov
da74f9653d Merge pull request #22642 from amitkris/uprev_gozfs
update go-zfs to include Solaris support
2016-05-11 07:41:17 -07:00
Brian Goff
2dce79e05a Wait for discovery on container start error
This gives discovery a chance to initialize, particularly if the K/V
store being used is in a container.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-05-11 09:49:51 -04:00
Yong Tang
0a4de93e13 Update deprecated docs for cli flags removal.
The old command line options have been deprecated in 1.8.0 and
eventually removed in 1.10.0 through PR #17724, though the
deprecated.md still shows `Target For Removal In Release`.

This fix updates the deprecated.md and changes
`Target For Removal In Release` to `Removed In Release`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-05-11 06:48:07 -07:00
Gleb Schukin
5d7600e3ca Handle rare case when ceph doesn't return Last-Modified for HEAD requests in case DLO manifest doesn't have any segments
Signed-off-by: Gleb Schukin <gs1983@gmail.com>
2016-05-11 15:13:13 +03:00
Gleb Schukin
52eecb556c Handle rare case when ceph doesn't return Last-Modified for HEAD requests in case DLO manifest doesn't have any segments
Signed-off-by: Gleb Schukin <gs1983@gmail.com>
2016-05-11 15:06:08 +03:00
Antonio Murdaca
1ac1b78b3a contrib: init: use dockerd
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-05-11 11:00:11 +02:00
Yi EungJun
d74f273c53 Fix port binding of swarm master
The port is 3376 by default but could be modified by --swarm-host
option.

Signed-off-by: Yi EungJun <eungjun.yi@navercorp.com>
2016-05-11 17:40:04 +09:00
Justin Cormack
a01c4dc8f8 Align default seccomp profile with selected capabilities
Currently the default seccomp profile is fixed. This changes it
so that it varies depending on the Linux capabilities selected with
the --cap-add and --cap-drop options. Without this, if a user adds
privileges, eg to allow ptrace with --cap-add sys_ptrace then still
cannot actually use ptrace as it is still blocked by seccomp, so
they will probably disable seccomp or use --privileged. With this
change the syscalls that are needed for the capability are also
allowed by the seccomp profile based on the selected capabilities.

While this patch makes it easier to do things with for example
cap_sys_admin enabled, as it will now allow creating new namespaces
and use of mount, it still allows less than --cap-add cap_sys_admin
--security-opt seccomp:unconfined would have previously. It is not
recommended that users run containers with cap_sys_admin as this does
give full access to the host machine.

It also cleans up some architecture specific system calls to be
only selected when needed.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-11 09:30:23 +01:00
Riyaz Faizullabhoy
8245905aae Add password for server and signer
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-10 18:17:01 -07:00
Riyaz Faizullabhoy
db8fa5d3ae Use server and signer users during non-bootstrap connections, bump
gorethink

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-10 15:45:24 -07:00
Alexander Morozov
af60a9e599 Merge pull request #22511 from crosbymichael/update-runc-containerd
Update runc and containerd deps
2016-05-10 15:06:23 -07:00
Alexander Morozov
34175eb47e pkg/proxy: remove unused 'transfered' variable
That simplified code a bit

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-05-10 14:33:21 -07:00
Amit Krishnan
efb3946171 update go-zfs to include Solaris support
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
2016-05-10 13:51:03 -07:00
Dongluo Chen
922472ae58 Merge pull request #2224 from allencloud/fix-bug-in-api-server
fix bug that http server should return when handler is nil
2016-05-10 13:49:43 -07:00
Sebastiaan van Stijn
a4bb2c7d7a Merge pull request #22634 from thaJeztah/dj-jazzy-jess
Add Jess to alumni
2016-05-10 22:08:56 +02:00
French Ben
e0bcf4cba5 Merge pull request #1667 from docker/add-pipe
Added pipe back in
2016-05-10 12:22:50 -07:00
Riyaz Faizullabhoy
4540bbac88 create users for rethink dbs
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-05-10 11:40:09 -07:00
French Ben
462cab80a7 Added pipe back in
Signed-off-by: French Ben <me+git@frenchben.com>
2016-05-10 11:36:08 -07:00
Sean Christopherson
adabb51311 Add the swapMemorySupport requirement to OOM tests
Add the swapMemorySupport requirement to all tests related to the OOM killer.  The --memory option has the subtle side effect of defaulting --memory-swap to double the value of --memory.  The OOM killer doesn't kick in until the container exhausts memory+swap, and so without the memory swap cgroup the tests will timeout due to swap being effectively unlimited.

Document the default behavior of --memory-swap in the docker run man page.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
2016-05-10 11:28:00 -07:00
Derek McGowan
e69f108924 Merge pull request #1716 from dmcgowan/install-certs
Integration Tests: Generate the certificate directory with a pretest script
2016-05-10 11:02:59 -07:00
John Howard
feacb1205b Windows: Terminate on failed shutdown
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-05-10 10:09:50 -07:00
John Howard
59db39c5c8 Merge pull request #22619 from jterry75/master
Adds a correct error string for network validation
2016-05-10 10:02:54 -07:00
Sebastiaan van Stijn
1fc0acc9ae refactor overlay storage driver compatibility check
use a consistent approach for checking if the
backing filesystem is compatible with the
storage driver.

also add an error-message for the AUFS driver if
an incompatible combination is found.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-05-10 18:22:36 +02:00
David Lawrence
658a25c4ef Merge pull request #724 from HuKeping/cli
Feature: Introduce some flags on notary verify
2016-05-10 09:04:40 -07:00
David Lawrence
90d767b27c Merge pull request #728 from twistlock/automate_password
Enable using notary client list op with user name/passwords in scripts
2016-05-10 09:01:35 -07:00
Sebastiaan van Stijn
d14a1c30f2 Add Jess to alumni
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-05-10 17:58:18 +02:00
Yong Tang
a20b02b915 Remove deprecated driver specific log tags
Since 1.9, driver specific log tag options
`syslog-tag`
`gelf-tag`
`fluentd-tag`
have been deprecated in favor of the generic tag
option which is standard across different logging
drivers.

This fix removed the deprecated driver specific
log tag options of `syslog-tag`, `gelf-tag`,
`fluentd-tag` for 1.12 and updated the docs.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-05-10 07:43:44 -07:00
Richard Scothern
050a30eac0 Merge pull request #1702 from RichardScothern/api.md
Remove the unimplemented monolithic upload section from the API
2016-05-10 13:43:25 +01:00
Xian Chaobo
765a16274f Merge pull request #2219 from allencloud/hide-field-error-when-empty
hide error in info when empty
2016-05-10 20:30:46 +08:00
Richard Scothern
42a710f889 Merge pull request #1714 from RichardScothern/us-gov-west-1
Add 'us-gov-west-1' to the valid region list.
2016-05-10 11:44:18 +01:00
Sun Hongliang
4ed5f96ea5 fix bug that http server should return when handler is nil
Signed-off-by: Sun Hongliang <allen.sun@daocloud.io>
2016-05-10 17:02:11 +08:00
Sebastiaan van Stijn
2f7c84120d Merge pull request #22603 from runcom/fix-docker-build
pkg: chrootarchive: chroot_linux: fix docker build
2016-05-10 10:23:18 +02:00
Liron Levin
019b4b02e1 Add is terminal check to tuf.go (enable using notary client with username/passwords in scripts)
Same behavior as `/passphrase/passphrase.go` (line 104)

Signed-off-by: Liron Levin <liron@twistlock.com>
2016-05-10 10:46:13 +03:00
realityone
fb28924a69 fix set reschedule policy docs
Signed-off-by: realityone <realityone@me.com>
2016-05-10 13:15:36 +08:00
HuKeping
31a5ebcf4b From riyazdf's review
Prior to this patch, if we provide a value to the output flag, we
write both to the file as well as stdout which is not consistent
with the flag description and also not the intended.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-05-10 09:51:45 +08:00
HuKeping
0f5d22f95f Add test for those helper functions
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-05-10 09:51:45 +08:00
HuKeping
3b2d9e969f Add a file to keep all the helper functions
To prevent the tuf.go growing even more bigger, and refactor some code.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-05-10 09:51:45 +08:00
HuKeping
747a296e86 Introduce flag --quiet on notary verify
If --quiet(-q for short) was provided, we output nothing except errors.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-05-10 09:51:45 +08:00
HuKeping
75ac7f6f72 Introduce flag --output on notary verify
If --output(-o for short) was provided, we write to a file,
instead of STDOUT.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-05-10 09:51:45 +08:00
HuKeping
e48b027ac3 Introduce flag --input on notary verify
If --input(-i for short) was provided, we read the from a file,
instead of STDIN.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-05-10 09:51:45 +08:00
Justin Terry
47ef6d7969 Adds a correct error string for network validation
Fixes the negative networking test to include the new error string
from recent Windows builds.

Signed-off-by: Justin Terry <juterry@microsoft.com>
2016-05-09 16:37:14 -07:00
Antonio Murdaca
5248f5c3d1 pkg: chrootarchive: chroot_linux: fix docker build
The path we're trying to remove doesn't exist after a successful
chroot+chdir because a / is only appended after pivot_root is
successful and so we can't cleanup anymore with the old path.
Also fix leaking .pivot_root dirs under /var/lib/docker/tmp/docker-builder*
on error.

Fix https://github.com/docker/docker/issues/22587
Introduced by https://github.com/docker/docker/pull/22506

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-05-10 00:42:49 +02:00
Michael Crosby
4e290986cd Update protobufs to 8d92cf5fc15a4382f8964b08e1f42a
This syncs the protobuf version with the one that is used with
containerd.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-05-09 15:21:41 -07:00
Michael Crosby
6889c3276c Fix containerd proto for connection
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-05-09 15:17:10 -07:00
Michael Crosby
cfb9764386 Update runc and containerd deps
containerd:     57b7c3da915ebe943bd304c00890959b191e5264
runc:           d49ece5a83da3dcb820121d6850e2b61bd0a5fbe

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-05-09 15:05:44 -07:00