Commit Graph

4683 Commits

Author SHA1 Message Date
Ian Campbell
8e26838ed8 Merge pull request #2449 from djs55/docker-for-mac-files
docker-for-mac: supply the daemon.json via metadata
2017-09-06 18:39:49 +01:00
Rolf Neugebauer
54c2d6e61c Merge pull request #2482 from rn/kernels
Update kernels and enable iSCSI
2017-09-04 20:36:11 +01:00
Rolf Neugebauer
ed8d367e2a Update 4.9.x/4.4.x kernel version in YAML files
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-09-04 17:58:16 +01:00
Rolf Neugebauer
6da35660a9 kernel: Update kernel build to latest alpine base
Since we have to recompile kernels, might as well.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-09-04 17:58:16 +01:00
Rolf Neugebauer
1d33b90530 tools/alpine: Add iSCSI and related tools to base
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-09-04 17:58:16 +01:00
Rolf Neugebauer
8ce9ead839 kernel: Enable CGROUP_RDMA and CGROUP_BPF for 4.12 kernels
These are new options introduced with 4.11.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-09-04 17:58:16 +01:00
Rolf Neugebauer
a8839d91db kernel: Enable ISCSI_TCP and DM_MULTIPATH for all kernels
These are enabled as modules and are useful for iSCSI storage backends.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-09-04 17:58:16 +01:00
Rolf Neugebauer
8be4a2b2c4 kernel: Update to 4.9.47/4.4.86
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-09-04 17:58:16 +01:00
Justin Cormack
683aea3e07 Merge pull request #2480 from samoht/update-capnp
[miragesdk] Update to latest capnp & capnp-rpc & charrua
2017-09-04 17:02:09 +01:00
Thomas Gazagnaire
14a5b64dcc Update to latest capnp & capnp-rpc
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-09-04 16:21:53 +02:00
Justin Cormack
e27807b733 Merge pull request #2478 from justincormack/formats
Change "output" to "format" in moby tool
2017-09-02 12:00:13 +01:00
Justin Cormack
91207540e4 Change "output" to "format" in moby tool
This is less confusing as there is also an output option to set the file.

See https://github.com/moby/tool/pull/146

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-09-01 23:52:25 +01:00
Justin Cormack
e03ca107b8 Merge pull request #2477 from t-koulouris/ok_build
okernel: build dockerfile now gets openssl package from alpine base image
2017-09-01 16:59:58 +02:00
Theo Koulouris
1c14f278b2 okernel build dockerfile now gets openssl package from alpine base image
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com>
2017-09-01 14:26:00 +01:00
David Scott
b60ad02add docker-for-mac: AF_VSOCK port in README should be 948 (was 947)
Before:
    docker-for-mac djs$  docker -H unix://docker-for-mac-state/guest.00000947 ps
    Cannot connect to the Docker daemon at unix://docker-for-mac-state/guest.00000947. Is the docker daemon running?

After:
    docker-for-mac djs$  docker -H unix://docker-for-mac-state/guest.00000948 ps
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

Signed-off-by: David Scott <dave.scott@docker.com>
2017-09-01 11:41:44 +01:00
David Scott
af5761d6b5 docker-for-mac: use runtime: mkdir
This replaces an alpine container which existed only to run the `mkdir`.

Signed-off-by: David Scott <dave.scott@docker.com>
2017-09-01 11:41:44 +01:00
David Scott
c29b433780 docker-for-mac: add certificates
This fixes the error starting the `metadata` package, as described in

Signed-off-by: David Scott <dave.scott@docker.com>
2017-09-01 11:41:44 +01:00
David Scott
25a05142a3 docker-for-mac: supply the daemon.json via metadata
Previously the docker-for-mac example had a `files` declaration
which wrote `/var/config/docker/daemon.json`. This was probably an
error because the `/var/config` directory is owned by the `metadata`
package. It used to work -- probably by accident -- but doesn't
any more.

This patch switches to using the metadata package to populate the
`daemon.json`.

Signed-off-by: David Scott <dave.scott@docker.com>
2017-09-01 11:41:08 +01:00
Rolf Neugebauer
c07309b700 Merge pull request #2472 from rn/base
tools: Add openssl, attr-dev, and libtirpc-dev to the alpine base image
2017-08-31 18:53:23 +01:00
Riyaz Faizullabhoy
574fdb1a1b Merge pull request #2471 from rn/kmod-test
Remove user/references to linuxkit/kernel-compile
2017-08-31 09:45:24 -07:00
Riyaz Faizullabhoy
fb8a1bf39f Merge pull request #2464 from rn/dock-up
Update DinD from 17.06.1-ce to 17.07.0-ce
2017-08-31 09:43:53 -07:00
Riyaz Faizullabhoy
4c9158b714 Merge pull request #2470 from rn/auth
Update authors file with recent contributors
2017-08-31 09:42:33 -07:00
Rolf Neugebauer
db6e8bae35 tools: Add openssl, attr-dev, and libtirpc-dev to the alpine base image
The first is needed by the okernel project and last two to run
configure on the zfs kernel modules.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-31 15:54:12 +00:00
Rolf Neugebauer
2d1242e271 Merge pull request #2465 from t-koulouris/ok_build_updates
Updates to okernel project build files
2017-08-31 15:47:22 +01:00
Rolf Neugebauer
608ab6ccf1 docs: Remove reference to linuxkit/kernel-compile
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-31 15:25:41 +01:00
Rolf Neugebauer
f67cb4719a test: Remove kernel-compile from kmod test
linuxkit/kernel-compile is no longer maintained. Use
the alpine base image instead.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-31 15:21:27 +01:00
Rolf Neugebauer
e26430cfe7 Update authors file with recent contributors
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-31 15:04:18 +01:00
Theo Koulouris
27e8c1145c Streamlined how Makefile handles okernel versions
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com>
2017-08-31 14:31:41 +01:00
Theo Koulouris
c51f89a600 Removed unused device drivers and options from okernel config file
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com>
2017-08-31 13:43:39 +01:00
Theo Koulouris
88a2415ff5 Stop using deprecated linuxkit/kernel-compile in okernel build Dockerfile
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com>
2017-08-31 13:42:07 +01:00
Rolf Neugebauer
fe1aa4659c Merge pull request #2467 from rn/kern-up2
Update kernels to 4.12.9/4.9.45/4.9.46/4.4.84/4.4.85
2017-08-31 10:46:22 +01:00
Rolf Neugebauer
15c9bc1144 Merge pull request #2468 from rn/lcow-up
Update LCOW to latest OpenGCS rev
2017-08-30 21:04:33 +01:00
Rolf Neugebauer
bd2c9f8b63 blueprints: Update LCOW blueprint
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 19:41:02 +01:00
Rolf Neugebauer
2cb0612011 pkg/lcow: Update OpenGCS to latest
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 19:41:02 +01:00
Rolf Neugebauer
419deee158 Update Linux kernel versions to latest
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 19:23:45 +01:00
Rolf Neugebauer
3fe863e8e6 kernel: Update kernels to 4.9.46/4.4.85
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 19:23:45 +01:00
Rolf Neugebauer
279d3f05bd kernel: Update to 4.4.84/4.9.45/4.12.9
Note, on x86_64 for 4.12.9 a new kernel option,
HARDLOCKUP_CHECK_TIMESTAMP was added which defaults to enabled. It enables
a low pass filter to compensate for perf based hard lockup detection.

Added this option to the x86_64 4.12.x kernel confog file.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 19:23:45 +01:00
Rolf Neugebauer
bdd4789598 kernel: Fix docker content trust for perf builds
Due to https://github.com/moby/moby/issues/34199 we can't supply
the FROM image via --build-arg and use DOCKER_CONTENT_TRUST=1 for build.

So we pull the image with DCT and then explicitly build it without.

This regression was introduced with 8b84baf2 ("kernel: Allow disabling content trust")

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 19:23:45 +01:00
Rolf Neugebauer
584acd9fd8 Merge pull request #2461 from ijc/qemu-iso-and-metadata
qemu: Support ISO boot at the same time as metadata
2017-08-30 17:54:37 +01:00
Rolf Neugebauer
94cdc5aee8 Update DinD from 17.06.1-ce to 17.07.0-ce
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 16:52:15 +01:00
Rolf Neugebauer
687929a32e blueprints: rename docker-17.06-ce.yml to docker-ce.yml
Also fix up the corresponding test.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-30 16:52:15 +01:00
Theo Koulouris
2b6f533891 Updates to okernel project build files (multi-stage builds, clean-ups, etc)
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com>
2017-08-30 15:33:34 +01:00
Ian Campbell
95031cd358 Merge pull request #2462 from ijc/kubernetes-doc-bridge-networking
kubernetes: document the final step for bridged networking
2017-08-29 23:40:48 +01:00
Ian Campbell
b34aaee4db kubernetes: document the final step for bridged networking
Having described all the setup describing the acgual usage seems useful!

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-29 21:25:09 +01:00
Ian Campbell
4bdca70c5d qemu: Support ISO boot at the same time as metadata
Tested with:
 - boot from kernel + initrd with metadata (appears as sr0)
 - boot from iso with no metadata (root is sr0)
 - boot from iso with metadata (root is sr0, metadata is sr1)
 - boot from iso with metadata using containerized qemu

In all cases where it was present the metadata was correctly expanded to
/var/config.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-29 21:16:10 +01:00
Ian Campbell
92895c6c16 Merge pull request #2460 from ijc/containerd-v1.0.0-alpha6
Bump to containerd v1.0.0 alpha6
2017-08-29 19:14:07 +01:00
Ian Campbell
29e49155f3 scripts: Correct help output
Using --image is mandatory if you want that mode.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-29 01:05:50 +01:00
Ian Campbell
d78321d701 Update hashes for init and containerd
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-29 01:05:50 +01:00
Ian Campbell
b0b08e18a2 Bump init and containerd packages to v1.0.0-alpha6
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-29 01:02:20 +01:00
Ian Campbell
6d878dd65f alpine: bump to containerd v1.0.0-alpha6
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-29 00:39:20 +01:00