Commit Graph

3684 Commits

Author SHA1 Message Date
Anil Madhavapeddy
d2fb76a86a reports: add week 23 dev report
Signed-off-by: Anil Madhavapeddy <anil@docker.com>
2017-06-12 18:47:34 +01:00
Riyaz Faizullabhoy
4a326e6126 Merge pull request #2025 from justincormack/remove-initrd-lib
Remove initrd library, it has moved to moby tool
2017-06-12 09:51:07 -07:00
Riyaz Faizullabhoy
4d7f241ef4 Merge pull request #2026 from justincormack/4.11-fixes
re-enable CONFIG_BUG_ON_DATA_CORRUPTION on 4.11 kernel
2017-06-12 09:47:31 -07:00
Riyaz Faizullabhoy
e7a63dfe41 Merge pull request #2028 from justincormack/stray-tick
Remove stray `
2017-06-12 09:31:12 -07:00
Riyaz Faizullabhoy
35977c53d6 Merge pull request #2022 from justincormack/sys-in-getty
mount /sys in getty container and add and fix kernel tests
2017-06-12 09:29:44 -07:00
Justin Cormack
aedc9080a1 Remove stray `
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 17:31:17 +02:00
Justin Cormack
90a5cad216 Add filesystem tests into kernel test and fix failure cases
Make sure we do not remove filesystems we expect to have.

Fix the failure cases for the kernel tests which were not working properly
due to shell code.

Fix some 4.11 kernel changes in config that show up once tests are fixed.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 17:25:25 +02:00
Justin Cormack
e41bd3a546 Merge pull request #2008 from MagnusS/vpnkit-forwarder
vpnkit-forwarder: add /pkg/vpnkit-forwarder
2017-06-12 16:38:03 +02:00
Magnus Skjegstad
24ec30e74c vpnkit-forwarder: add /pkg/vpnkit-forwarder
Adds /pkg/vpnkit-forwarder which downloads and builds vpnkit-forwarder
and vpnkit-expose-port from moby/vpnkit. Also includes an example for
forwarding `sshd` and updates the documentation for `hyperkit` to
include a `vpnkit` section.

`vpnkit` still requires a 9P mount for coordination, so the `socat`
forwarding is simpler to set up at the moment.

Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2017-06-12 14:46:48 +01:00
Justin Cormack
6f62d083df Remove initrd library, it has moved to moby tool
As we are not using it here, makes more sense for it to go there.

Moved with history in https://github.com/moby/tool/pull/78

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 15:41:27 +02:00
Justin Cormack
de1b54ca07 Merge pull request #2024 from leafmulch/docsfix/platform-aws-output
Update aws platform docs
2017-06-12 14:56:44 +02:00
Justin Cormack
d5ee981a0a re-enable CONFIG_BUG_ON_DATA_CORRUPTION on 4.11 kernel
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 14:44:20 +02:00
Jes Ferrier
e3ce70c35f Update aws platform docs
- Replace img with raw for moby -output

Signed-off-by: Jes Ferrier <jes.ferrier@gmail.com>
2017-06-12 12:47:16 +01:00
Justin Cormack
33092fa111 Merge pull request #2023 from justincormack/readme-roadmap
Move roadmap to README where there is only one
2017-06-12 12:38:25 +02:00
Justin Cormack
3e904fe760 Change Moby to LinuxKit
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 11:51:15 +02:00
Justin Cormack
1b9720a9eb Move roadmap to README where there is only one
This way something comes up when you click on the project on
github, rather than having to hunt for something to explain the
project.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 11:44:29 +02:00
Justin Cormack
28c23be894 Merge pull request #2021 from justincormack/test-console
Only use console=ttyS0 for tests
2017-06-12 11:24:01 +02:00
Justin Cormack
5df3e2e6ed Update to new getty image
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 10:49:59 +02:00
Justin Cormack
19b3beff9f Mount system /sys into getty container
Without this the mounts underneath here were not visible.

fix #2019

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 10:44:14 +02:00
Justin Cormack
5764fba5d6 Only use console=ttyS0 for tests
If you also use console=tty0 you lose the output of commands running from
the system, as they run on the second console which is discarded.

Also drop page-poison as not relevant for tests.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 10:22:23 +02:00
Justin Cormack
39c49e24ef Merge pull request #2017 from rn/hyperv
Introduce a Hyper-V backend + some fixes and docs update
2017-06-11 11:00:01 +01:00
Rolf Neugebauer
db2487383a docs: Update platform docs
- Introduce a table of supported platforms in top-level README
- Add stub files for un-documented platforms using a standard template
- Update HyperKit doc to follow a standard template

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:20:57 +01:00
Rolf Neugebauer
341cf56795 docs: Add Hyper-V documentation
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:11:06 +01:00
Rolf Neugebauer
a42a3ffb39 cmd: Add initial Hyper-V run backend
The Hyper-V backend is loosly based on the docker-machine code
as well as ./scripts/LinuxKit.ps1. It shells out to Powershell
for most of the configuration.

Console is provided by github.com/Azure/go-ansiterm/winterm
and the ode surrounding it is loosely based on the equivalent
code in containerd and moby/moby.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:11:06 +01:00
Rolf Neugebauer
309ae23c2e cmd: Use github.com/rn/iso9660wrap for metadata
The repository was moved...

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:11:06 +01:00
Rolf Neugebauer
72f68d8340 vendor: Add go-winio and rename github.com/rneugeba to github.com/rn
While at it, also re-order vendor.conf to be (more) alphabetical.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:11:06 +01:00
Rolf Neugebauer
ce8de92978 cmd: Fix disk "size" handling
commit bdf9b1f31a introduced a bug with disk size handling
where GB was not handled correctly. Fix it.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:11:06 +01:00
Rolf Neugebauer
b3bb4d02e6 Merge pull request #2016 from justincormack/getty-linuxkit
Migrate base linuxkit.yml to getty, and tests to new init
2017-06-10 20:47:01 +01:00
Justin Cormack
53279e030a Migrate base linuxkit.yml to getty, and tests to new init
Missed in #2004

Not updated projects.

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2017-06-10 18:40:33 +01:00
Rolf Neugebauer
a60de348ab Merge pull request #2014 from kencochrane/more_aws_meta
Enhanced the AWS provider in the metadata package, to include more data.
2017-06-10 16:42:34 +01:00
Ken Cochrane
7dafc3be01 Added more AWS metadata to /var/config
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
2017-06-10 10:54:43 -04:00
Justin Cormack
a4d36e5f63 Merge pull request #2013 from yomimono/use-newer-dhcp-client
MirageSDK: Use newer dhcp client
2017-06-09 20:49:40 +01:00
Mindy Preston
1ab32f9ca7 use dhcp_client_lwt instead of dhcp_client_mirage
Use the `with-cdhcpc` branch of charrua-client, which exposes `Dhcp_client_lwt`.  Dhcp_client_lwt exposes similar functions to `Dhcp_client_mirage`, but does not impose the structure of a Mirage_types_lwt.ipv4_config on the returned object, rather returning the full lease; the engine can then expose whatever information from the lease it finds to be pertinent.

Signed-off-by: Mindy Preston <mindy.preston@docker.com>
2017-06-09 13:57:07 -05:00
Mindy Preston
bcb0c52fff nudge some build updates around
build from (now-released) canpnproto 0.6.0; use the latest jbuilder beta.

Signed-off-by: Mindy Preston <mindy.preston@docker.com>
2017-06-09 13:38:55 -05:00
Riyaz Faizullabhoy
9d8eba91eb Merge pull request #2012 from justincormack/homebrew-docs
Add homebrew instructions
2017-06-09 09:20:48 -07:00
Justin Cormack
a74e8657db Add homebrew instructions
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-09 16:36:31 +01:00
Justin Cormack
dcd6cb09a9 Merge pull request #2011 from justincormack/make-no-docker
Add a "local" make target that does not use Docker
2017-06-09 16:07:32 +01:00
Justin Cormack
ac90b50437 Add a "local" make target that does not use Docker
This assumes you are in the right directory, have Go set up etc.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-09 15:24:21 +01:00
Rolf Neugebauer
0b2506523d Merge pull request #2010 from rn/maintain
Update MAINTAINERS
2017-06-09 13:48:36 +01:00
Rolf Neugebauer
2674c999b1 Merge pull request #2009 from rn/disksize
cmd: Default disk "size" parameter to GB
2017-06-09 13:43:28 +01:00
Rolf Neugebauer
91b9dde12e Update MAINTAINERS
Both @ijc25 and @rneugeba changed their GH username

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-09 13:00:50 +01:00
Rolf Neugebauer
bdf9b1f31a cmd: Default disk "size" parameter to GB
Most cloud providers allow disk size allocation on in units
of GB. Make it the default for linuxkit disk "size" arguments.
Users can override the unit by appending a M to the disk size.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-09 11:51:48 +01:00
Riyaz Faizullabhoy
84090f6b4b Merge pull request #2007 from riyazdf/tool-disk-syntax-change
Tool disk syntax change
2017-06-08 20:53:12 -07:00
Riyaz Faizullabhoy
8726adaa78 s/moby/linuxkit for run
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-06-08 17:10:14 -07:00
Riyaz Faizullabhoy
9c8e82734d fix disk size arg
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-06-08 17:09:52 -07:00
Riyaz Faizullabhoy
464d77c5ae Merge pull request #2004 from deitch/update-init-getty-examples
Update linuxkit/init to gettyless; add getty to relevant examples
2017-06-08 11:28:43 -07:00
Avi Deitcher
ee2766de78 Update linuxkit/init to gettyless; add getty to relevant examples
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2017-06-08 19:56:34 +03:00
Justin Cormack
854a53130f Merge pull request #2005 from deitch/fix-init-issue
Fix perms on /etc/init.d/000-issue
2017-06-08 17:39:32 +01:00
Riyaz Faizullabhoy
9155dff870 Merge pull request #2002 from justincormack/docs-to-tool
Move yaml docs to moby/tool
2017-06-08 09:21:36 -07:00
Avi Deitcher
f2cece3c61 Fix perms on /etc/init.d/000-issue
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2017-06-08 18:49:29 +03:00