Commit Graph

5561 Commits

Author SHA1 Message Date
Rolf Neugebauer
b0163e3138 build: Update linuxkit/go-compile to latest version
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-25 13:31:19 +00:00
Rolf Neugebauer
a2b3b4fb73 tools: Update linuxkit/guestfs
This part reverts f7c50156c5 ("tools: pull linuxkit/guestfs by digest
only (not digest+tag)") as pulling by tag now seems to work and we
have content trust enabled, so pulling by digest should not be necessary.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-25 13:07:23 +00:00
Rolf Neugebauer
965d013f7f tools: Update to the latest linuxkit/alpine
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-25 12:59:21 +00:00
Rolf Neugebauer
5a294e5840
Merge pull request #2883 from rn/qemu-doc
docs: Add initial qemu documentation
2018-01-25 12:50:36 +00:00
Rolf Neugebauer
c15ccaf9ea docs: Add initial qemu documentation
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-25 11:32:34 +00:00
Rolf Neugebauer
e743c1b027
Merge pull request #2882 from rn/hyperv
cmd/hyperv: Use Default Switch if present
2018-01-24 19:20:53 +00:00
Rolf Neugebauer
e921db1292
Merge pull request #2881 from rn/hyper
Update hyperkit go binding
2018-01-24 17:01:06 +00:00
Rolf Neugebauer
83a7e29730 cmd/hyperv: Use Default Switch if present
The Windows 10 Fall Creators Update added a new 'Default
Switch' (which is a NAT switch). Use it if present and the
user has not specified a switch.

Also, handle External switches with spaces in them.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 16:52:17 +00:00
Rolf Neugebauer
87667051f2 cmd: Adjust run_hyperkit to interface changes
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 16:06:09 +00:00
Rolf Neugebauer
47f139eb08 cmd: Update vendored hyperkit go bindings
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 16:06:09 +00:00
Rolf Neugebauer
e42a06c30b
Merge pull request #2880 from rn/kern-up
Updates: kernels (4.14.15/4.9.78/4.4.113), alpine base, wireguard
2018-01-24 15:55:16 +00:00
Rolf Neugebauer
565a25d309 Update all YAMLs to use the latest kernels
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 12:32:15 +00:00
Rolf Neugebauer
183fcf0970 kernel: Add new retpoline option to the x86 4.4.x kernel
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 12:32:15 +00:00
Rolf Neugebauer
5de66f4fd9 kernel: Update to 4.14.15/4.9.78/4.4.113
While at it, also update to latest alpine base

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 11:56:34 +00:00
Rolf Neugebauer
fe6e4d85be Update YAMLs to latest linuxkit/ip package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 11:47:45 +00:00
Rolf Neugebauer
9b208c3772 pkg/ip: Update package with latest WireGuard tools
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 11:44:17 +00:00
Rolf Neugebauer
42604a12f0 tools/alpine: Update base image
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 11:42:58 +00:00
Rolf Neugebauer
0fe22581f3 tools/alpine: Add pigz to pacakges
Moby is moving to using pigz instead of the the golang gzip
library (https://github.com/moby/moby/pull/35697)

Include pigz in the base for downstream projects to use.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-24 10:50:06 +00:00
Justin Cormack
f5c004721f
Merge pull request #2878 from justincormack/CoC
Add code of conduct link to Github recommended location
2018-01-22 13:26:12 +00:00
Justin Cormack
29e15c35f2 Add code of conduct link to Github recommended location
See recommendations at https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-01-22 11:31:02 +00:00
Rolf Neugebauer
c139a495ad
Merge pull request #2873 from rn/rules
Add some rules to the MAINTAINERS file.
2018-01-22 10:36:04 +00:00
Rolf Neugebauer
1afcd479d5
Merge pull request #2876 from rn/contrib
Re-arrange some files/directories
2018-01-19 16:21:36 +00:00
Rolf Neugebauer
aefb66b5b0 scripts: Rename ./scripts/signing ./scripts/certs
Also remove the init-signing.sh script. We now use something else.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-19 15:21:02 +00:00
Rolf Neugebauer
113ff13f58 contrib: Move Vagrantfile to contrib
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-19 15:21:02 +00:00
Rolf Neugebauer
478f8163e2 examples: Rename vsudd.yml to vsudd-containerd.yml
This describes more accurately that the example exposes
containerd to the host.

Also adjust platform-hyperkit.md

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-19 15:21:02 +00:00
Rolf Neugebauer
d11fe6ba9a tests: Adjust docker for mac build test to chance of location
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-19 15:21:02 +00:00
Rolf Neugebauer
8028f68e0a examples: Move the Docker for Mac blueprint to examples
- merge base.yml and docker-ce.yml to docker-for-mac.yml
- Adjust the README

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-19 15:21:02 +00:00
Rolf Neugebauer
f43b62a35b contrib: Move scripts for foreign kernels to contrib
Also adjust the kernel docs to point to the new location.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-19 15:21:02 +00:00
Rolf Neugebauer
79a076d90c
Merge pull request #2875 from justincormack/sysctl-kub
Increase size of ARP cache
2018-01-19 12:54:49 +00:00
Rolf Neugebauer
5aabb31d20
Merge pull request #2874 from zx2c4-forks/wireguard-bump
wireguard: update to 0.0.20180118
2018-01-19 12:54:11 +00:00
Justin Cormack
c55dce77f2 update sysctl hashes
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-01-19 11:43:40 +00:00
Justin Cormack
d4b23a76de Increase size of ARP cache
We already had this increased above the defaults, but even larger values
seem to be recommended.

See https://blog.openai.com/scaling-kubernetes-to-2500-nodes/

"It’s common to tune this setting in HPC clusters, and is particularly
relevant in Kubernetes clusters since every pod has its own IP address
which consumes space in the ARP cache."

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-01-19 11:02:17 +00:00
Jason A. Donenfeld
290d014959 wireguard: update to 0.0.20180118
* receive: treat packet checking as irrelevant for timers

Small simplification to the state machine, as discussed with Mathias
Hall-Andersen.

* socket: check for null socket before fishing out sport
* wg-quick: ifnames have max len of 15
* tools: plug memleak in config error path

Important bug fixes.

* external-tests: add python implementation

Piotr Lizonczyk has contributed a test vector written in Python.

* poly1305: remove indirect calls

From Samuel Neves, we now are in a better position to mitigate speculative
execution attacks.

* curve25519: modularize implementation
* curve25519: import 32-bit fiat-crypto implementation
* curve25519: import 64-bit hacl-star implementation
* curve25519: resolve symbol clash between fe types
* curve25519: wire up new impls and remove donna
* tools: import new curve25519 implementations
* contrib: keygen-html: update curve25519 implementation

Two of our Curve25519 implementations now use formally verified C. Read this
mailing list post for more information:
https://lists.zx2c4.com/pipermail/wireguard/2018-January/002304.html

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-19 11:53:18 +01:00
Rolf Neugebauer
094a495b13 Add some rules to the MAINTAINERS file.
These are mostly taken from containerd and adjusted to LinuxKit.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-18 16:02:55 +00:00
Justin Cormack
059bdfbdad
Merge pull request #2869 from justincormack/mobyup
Update Moby tool
2018-01-18 14:23:39 +00:00
Justin Cormack
7478a38b8a update init hashes
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-01-18 12:45:42 +00:00
Justin Cormack
4b9ffadb2e Add support for runtime containerd namespace configuration
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-01-18 12:40:56 +00:00
Justin Cormack
99fd71dc7f Update moby vendoring
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-01-18 12:40:56 +00:00
Justin Cormack
683df33c9a
Merge pull request #2872 from ijc/containerd-v1.0.1
Bump to Containerd v1.0.1
2018-01-18 12:39:28 +00:00
Ian Campbell
e8f7429811 Bump yml to pickup containerd v1.0.1
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-01-18 11:21:19 +00:00
Ian Campbell
a811110ad8 Bump packages to new alpine w/ containerd v1.0.1
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-01-18 10:59:41 +00:00
Ian Campbell
594e098c4c alpine: Bump to containerd v1.0.1
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-01-18 10:58:28 +00:00
Rolf Neugebauer
c7a38de332
Merge pull request #2870 from rn/kern-up
Update kernel to 4.14.14/4.9.77/4.4.112
2018-01-17 22:29:37 +00:00
Justin Cormack
a804d113d7
Merge pull request #2871 from rn/gcp-nested
Add option to enable nested-virt on GCP
2018-01-17 22:17:31 +00:00
Rolf Neugebauer
7e03dadf2f docs: Add a note on nested virt on GCP
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-17 18:00:41 +00:00
Rolf Neugebauer
3326a23031 docs: Update security note in toplevel README
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-17 15:00:36 +00:00
Rolf Neugebauer
bcb9d5ec3f Update YAML files to the latest kernels
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-17 14:45:16 +00:00
Rolf Neugebauer
130c6222bb kernel: Adjust kernel config with new options
- Enable RETPOLINE by default. Note, however, this will
  only be used if the compiler supports it.
- Enable sysfs interface for vulnerabilities

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-17 14:36:30 +00:00
Rolf Neugebauer
bfceb1dfbb kernel: Update to 4.14.14/4.9.77/4.4.112
The 4.4.14 has a number of important fixes/additions:
- New support for retpolines (enabled but requires newer gcc
  to take advantage of). This provides mitigation for Spectre
  style attacks.
- Various KPTI fixes including fixes for EFI booting
- More eBPF fixes around out-of-bounds and overflow of
  maps. These were used for variant 1 of CVE-2017-5753.
- Several KVM related to CVE-2017-5753, CVE-2017-5715,
  CVE-2017-17741.
- New sysfs interface listing vulnerabilities:
  /sys/devices/system/cpu/vulnerabilities

The 4.9.77 kernel also has seems to have most/all of the above
back-ported.

See https://lwn.net/SubscriberLink/744287/1fc3c18173f732e7/
for more details on the Spectre mitigation.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-17 14:31:54 +00:00
Rolf Neugebauer
0470dc89a8 cmd/gcp: Add -nest-virt option to push and run
If the flag is set on push, then the image will have the license
set to enabled the currently experimental netsted virtualisation
feature. The flag currently also needs to be set on run to make
sure the right CPU model (at least Haswell) is selected.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-17 14:07:27 +00:00