Commit Graph

3845 Commits

Author SHA1 Message Date
Justin Cormack
6fb1ab285e Merge pull request #2110 from ijc/qemu-kvm-control
qemu: Add -enable-kvm to force (attempted) use (or not) of KVM
2017-06-27 14:47:48 +01:00
Ian Campbell
7151f1af52 qemu: Add -enable-kvm to force (attempted) use (or not) of KVM
The default is set by probing for /dev/kvm. Use of KVM can be forcibly disabled
with `-enable-kvm=false`. Note that passing `-enable-kvm=true` when `/dev/kvm` is
not present still boots but complains:

    Could not access KVM kernel module: No such file or directory
    failed to initialize KVM: No such file or directory
    Back to tcg accelerator.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-27 12:20:25 +01:00
Rolf Neugebauer
dc8d881d2c Merge pull request #2111 from rn/kup
kernel: Update to 4.11.7/4.9.34/4.4.74
2017-06-27 12:14:18 +01:00
Rolf Neugebauer
c12eafeeb2 kernel: Update to 4.11.7/4.9.34/4.4.74
In particular this contains 1be7107fbe18eed3e319 ("mm: larger stack
guard gap, between vmas") which is a fix for CVE-2017-1000364.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-27 10:39:23 +01:00
Rolf Neugebauer
1809b8d497 Merge pull request #2108 from avsm/week-25-dev-report
reports: add week 25 dev report
2017-06-27 10:09:18 +01:00
Riyaz Faizullabhoy
ac80cd2574 Merge pull request #2101 from furious-luke/master
Add a metadata provider for Vultr
2017-06-26 14:59:21 -07:00
Riyaz Faizullabhoy
d536abf68f Merge pull request #2107 from justincormack/get-started-moby
Slighly clearer getting started docs
2017-06-26 14:51:34 -07:00
Anil Madhavapeddy
3d45046bbe reports: add week 25 dev report
Signed-off-by: Anil Madhavapeddy <anil@docker.com>
2017-06-26 22:42:29 +01:00
Riyaz Faizullabhoy
206b6add4f Merge pull request #2105 from justincormack/authorsup
Update Authors
2017-06-26 10:29:32 -07:00
Justin Cormack
d573e37fec Slighly clearer getting started docs
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-26 17:40:34 +01:00
Justin Cormack
50785b4be7 Merge pull request #2103 from justincormack/make-cleaner
Makefile cleanups
2017-06-26 16:41:30 +01:00
Justin Cormack
014a08b15c Update Authors
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-26 13:54:04 +01:00
Justin Cormack
3f5c236de7 Add a target for the cross build tests and make parallel
Trying to speed up build a bit.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-26 13:39:47 +01:00
Justin Cormack
fb4c168af7 Merge pull request #2102 from ijc/getty-and-ssh-improvements
Getty and ssh improvements
2017-06-26 13:38:59 +01:00
Justin Cormack
50c3c38a18 Clean up Makefile
- clean up incorrect lines such as `tar xf tmp_linuxkit_bin.tar > $@`
- split out targets to make tarballs and to untar

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-26 13:29:37 +01:00
Ian Campbell
b6071df200 Update getty and sshd sha's in *.yml to current.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-26 11:52:41 +01:00
Ian Campbell
bbbbf3cb5d sshd: sync bind mounts with getty container
This adds all the binds from pkg/getty/Dockerfile to pkg/sshd/Dockerfile and
retains the existing /root/.ssh and /etc/resolv.conf binds.

With this `dist` and `ctr` function in a ssh session.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-26 11:52:41 +01:00
Ian Campbell
2864f467b9 getty,sshd: Include ca-certificates.
Otherwise:

    dist pull docker.io/library/redis:alpine
    dist: failed to do request: Head https://registry-1.docker.io/v2/library/redis/manifests/alpine: x509: failed to load system roots and no roots provided

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-26 11:52:41 +01:00
Ian Campbell
34fbe42615 getty,sshd: Mount host /tmp into containers.
ctr (which runs in the getty or ssh container) relies on sharing files in /tmp
with containerd (which runs in the host mount namespace). Specifically it
currently uses paths under /tmp/containerd for the stdio FIFOs of containers, resulting in:

    # ctr run -t docker.io/library/redis:alpine test
    ctr: rpc error: code = Unknown desc = runtime create failed: runc create failed: container with id exists: test

Currently it is not possible to specify a non-existent source directory for a
bind mount, so we cannot easily bind just /tmp/containerd. Sharing all of /tmp
doesn't sound like a terrible idea anyway.

Defering updating the sha in *.yml until after some further changes to these packages.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-26 11:52:41 +01:00
Ian Campbell
ea79748830 pkg/containerd: Add /etc/localtime set to UTC
containerd/ctr includes this in the default set of bind mounts for a container.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-26 11:52:30 +01:00
Ian Campbell
e880052d35 alpine: Add tzdata to mirror.
Moved qemu-img to keep list fully alphabetical.

Rebuild pushed as linuxkit/alpine:c96f56ef989ccb31fd115d25c1b90f05b992271d

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-26 11:51:27 +01:00
Luke Hodkinson
3dc23b96ac Add a metadata provider for Vultr
Vultr uses a very similar approach to AWS, including using the
same IP address for serving metadata. In fact, it seems
as though if AWS appears first in the list of providers, that
provider mistakenly believes to be running on AWS (hence the
insertion of `NewVultr` in between GCP and AWS. I don't believe
AWS servers will accidentally try to use the Vultr provider,
as it seems that the `/v1/` endpoint doesn't exist on AWS.

Signed-off-by: Luke Hodkinson <furious.luke@gmail.com>
2017-06-24 07:43:07 +10:00
Justin Cormack
8be67983ff Merge pull request #2100 from justincormack/no-efi-test
Disable Qemu EFI ISO test for now
2017-06-23 11:50:35 -07:00
Justin Cormack
c2bd284ccb Disable Qemu EFI ISO test for now
See #1872 this is very flaky and without a controlled known
working environment this is not helpful.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-23 09:46:45 -07:00
Justin Cormack
f077c7c7f7 Merge pull request #2095 from rn/kern-up
Kernel and kernel config update
2017-06-23 09:45:05 -07:00
Rolf Neugebauer
8d4dfb25e6 test: Load modules before testing for filesystems
The previous commit moved some filesystems to kernel modules.
modprobe them before checking if they are enabled.

Also update the YAML files for the tests.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-22 23:31:39 +01:00
Rolf Neugebauer
492b6c3fdb kernel: Move some less commonly used features to modules
Module loading on hotplug and boot seems to work now, so
move some less commonly used kernel features and drivers
out of the kernel into drivers. Specifically:
- Devices: All non-virtual network device drivers
- Networking: GRE, GENEVE, PPP, non-essential IPv6 protos,
  L2TP, MPLS_GSO, bonding, IPSec (XFRM), openvswitch,
  queueing/schedulers
- FS: SUNRPC, NFS, NFSD, LOCKD, NTFS
- Misc: ATA over Ethernet

Remove Nozomi serial driver. It doesn't seem to be used
on any of our platforms.

The config files were also run through 'make defconfig &&
make oldconfig' to update any missing options.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-22 19:32:13 +01:00
Rolf Neugebauer
4d8f8956b3 kernel: Update to 4.11.6/4.9.33/4.4.73
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-22 19:32:13 +01:00
Rolf Neugebauer
974bc56886 kernel: Remove elfutils-dev package
It clashes with libelf-dev but libelf-dev is sufficient
to compile the kernel. This also allows us to remove the
'|| true' from the 'apk add', catching errors with the
tools installation.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-22 19:32:12 +01:00
Riyaz Faizullabhoy
125469a4c5 Merge pull request #2093 from MagnusS/add-dfm-build-test
tests: add build test for Docker for Mac blueprint
2017-06-22 09:24:35 -07:00
Justin Cormack
6cfc0ad7b2 Merge pull request #2094 from samoht/typo
Fix typo in report
2017-06-22 09:20:57 -07:00
Thomas Gazagnaire
e1ab0e75a9 Replace Solar5 by Solo5
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-06-22 17:26:59 +02:00
Thomas Gazagnaire
83d615e2d1 Remove spaces in report
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-06-22 17:26:39 +02:00
Magnus Skjegstad
7bbc39374e tests: add build test for Docker for Mac blueprint
Adds a new test group "linuxkit.build.blueprints" and a test for
building blueprints/docker-for-mac.yml.

Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2017-06-22 16:30:31 +02:00
Rolf Neugebauer
d65bb86c37 Merge pull request #2080 from dave-tucker/pkg-mk
Simplify Makefiles for Packages
2017-06-22 13:35:43 +01:00
Dave Tucker
adae27b8d1 Simplify Makefiles for Packages
These now inherit from a top-level package.mk
Options like use of the network can be enabled on a per package basis
This removes a lot of duplicate code and make the maintenace of these
Makefiles much easier

Signed-off-by: Dave Tucker <dt@docker.com>
2017-06-22 12:40:03 +01:00
Rolf Neugebauer
db91f9d817 Merge pull request #2091 from riyazdf/alpine-base-update
alpine: include gnupg and zfs packages
2017-06-22 00:36:41 -07:00
Justin Cormack
71a89a1de0 Merge pull request #2090 from justincormack/summit-report
Add notes from BoF at Summit
2017-06-21 22:41:37 -07:00
Riyaz Faizullabhoy
130800446a alpine: add zfs package
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-06-21 17:54:45 -07:00
Riyaz Faizullabhoy
6b5ef8c70e alpine: include gnupg package
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-06-21 17:49:51 -07:00
Riyaz Faizullabhoy
177d931144 Merge pull request #2089 from riyazdf/sig-video-landlock
sig-security: add video link
2017-06-21 17:43:12 -07:00
Justin Cormack
0ea861fecd Add notes from BoF at Summit
Thanks to @mgoelzer for note taking.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-21 17:37:08 -07:00
Riyaz Faizullabhoy
d0af1d979d sig-security: add video link
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-06-21 16:13:05 -07:00
Riyaz Faizullabhoy
992e5e74f0 Merge pull request #2087 from riyazdf/sig-meeting-notes
sig-security: add meeting notes for 2017-06-21
2017-06-21 13:41:24 -07:00
Riyaz Faizullabhoy
45b4d0d054 sig-security: add meeting notes for 2017-06-21
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-06-21 10:58:46 -07:00
Rolf Neugebauer
50ee00c239 Merge pull request #2084 from thaJeztah/update-ascii-logo
Update ASCII whale
2017-06-21 09:08:56 -07:00
Sebastiaan van Stijn
4e1c91fc6e
Update ASCII whale
The logo changed, and no longer has waves,
so removing them from the ASCII whale as well

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-20 23:22:23 -07:00
Rolf Neugebauer
7c25c119bb Merge pull request #2083 from riyazdf/linus-key
Add PGP key for 00411886 (torvalds@linux-foundation.org)
2017-06-20 13:36:07 -07:00
Rolf Neugebauer
e27b08694d Merge pull request #2082 from davefreitag/deadlink
Fix Dead Link to VMWare File
2017-06-20 11:07:35 -07:00
Justin Cormack
95c0c290df Merge pull request #2074 from ndauten/master
FIX Docs Link: ./kernel to ../kernel/README.md
2017-06-20 10:59:42 -07:00