Thomas Gazagnaire
2cc09805c9
Merge pull request #1543 from samoht/mac
...
miragesdk: do not generate a random mac
2017-04-12 14:29:19 +02:00
Thomas Gazagnaire
d239a7f101
Merge pull request #1601 from samoht/lint
...
better comment in converter for yaml validation
2017-04-12 14:29:03 +02:00
Thomas Gazagnaire
6f747fe0d2
better comment in converter for yaml validation
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 14:10:27 +02:00
Justin Cormack
a981e3591c
Merge pull request #1600 from rneugeba/dhcp
...
Clean up YAML files and fix DHCP for GCP
2017-04-12 13:09:36 +01:00
Justin Cormack
70a01da4e7
Merge pull request #1590 from samoht/lint
...
Add Yaml validation
2017-04-12 13:06:50 +01:00
Thomas Gazagnaire
d472aea1bd
update vendor
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 13:42:15 +02:00
Thomas Gazagnaire
ea8ad1fe3c
Add Yaml validation
...
Fix #1292
Transform the Yaml struct to JSON and validate it against a JSON schema.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 13:42:15 +02:00
Rolf Neugebauer
5541d5840f
gcp: Set up DHCP and resolv.conf bind mount properly
...
The DHCP client updates /tmp/etc/resolv.conf and this needs
to be bind mounted into the other containers.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 12:26:30 +01:00
Rolf Neugebauer
b0629176ab
examples: Don't use a file section if you don't need it
...
Exception is ./moby.yaml where it serves as an example.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 12:26:30 +01:00
Rolf Neugebauer
a59e24b4fa
example: Don't use the full @sha25t version of images
...
The sha1 tag should be sufficient to uniquely identify the image
and the sha256 versions are just very long...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 12:24:02 +01:00
Justin Cormack
09e7b15dd9
Merge pull request #1597 from justincormack/linuxkit
...
Rename Moby to LinuxKit part 1
2017-04-12 12:05:29 +01:00
Justin Cormack
b83e4af084
Merge pull request #1596 from thebsdbox/qemu_raw_disk
...
Fixed qemu argument typo and also correct use of raw disk
2017-04-12 12:03:33 +01:00
Justin Cormack
89c642eac1
Rename Moby to LinuxKit part 1
...
This covers the base docs; I also did a bunch of cleanup and
remove old docs that are no longer needed.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-12 11:44:06 +01:00
thebsdbox
13a6089324
Fixed qemu argument typo and also correct use of raw disk
...
Signed-off-by: Dan Finneran <daniel.finneran@gmail.com>
2017-04-12 11:19:58 +01:00
Justin Cormack
14325046c6
Merge pull request #1594 from dave-tucker/ltp
...
tests: update ltp test configuration
2017-04-12 11:14:16 +01:00
Thomas Gazagnaire
dc4ff8accd
miragesdk: update DHCP client example to use latest images
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 12:09:30 +02:00
Thomas Gazagnaire
2b0009ee06
miragesdk: be a bit less verbose in debug mode
...
It's not very interesting to see the forwarded stdout/stderr messages as
they will end-up being printed anyway.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 12:08:32 +02:00
Thomas Gazagnaire
b18d50b5e4
miragesdk: rebase init pkg to catch up with upstream changes
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 12:06:50 +02:00
Justin Cormack
60f2a12b8f
Merge pull request #1593 from dave-tucker/disk
...
moby: Add system disk and disk size parameter to GCP
2017-04-12 10:50:32 +01:00
Thomas Gazagnaire
396ffabc41
miragesdk: tune down some debug code
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 11:04:33 +02:00
Thomas Gazagnaire
df9833ed68
miragesdk: add missing Sdk.Net files
...
Probably my inconscient which refused to show the world these hacks.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
abe96b0447
miragesdk: use the interface's MAC address instead of using a random one
...
The priv container populate the `/mac` key on startup, that the calf can
then read.
Also add more fine-grained control over read/write delete capabilities attached
to the routes, e.g. the calf can read /mac but not write to it.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
0d7e584e32
miragesdk: remove dead-code and code repetition
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
95d362ab7e
miragesdk: clean error handling for Sdk.Ctl.Client
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
703657a54f
miragesdk: update Dockerfiles
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 11:04:16 +02:00
Dave Tucker
676e1779ee
moby: Add system disk and disk size parameter to GCP
...
This makes gcp behave in a similar way to the qemu backend.
The minimum size on GCP 1GB, whereas qemu uses 256MB.
Without this, the LTP tests fail on GCP.
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-12 00:52:01 +01:00
Dave Tucker
9dba48c16e
tests: update ltp test configuration
...
- grant all capabilities
- generate human readable output
- add a check.sh script to see if the tests passed/failed
- add a poweroff image to handle powering off the vm
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-12 00:45:00 +01:00
Rolf Neugebauer
eb7228e0e6
Merge pull request #1592 from dave-tucker/gcp-www
...
moby: enable internet access for GCP VM's
2017-04-11 23:47:00 +01:00
Dave Tucker
90ed2469db
moby: enable internet access for GCP VM's
...
Adds an "access config" with a type of "ONE_TO_ONE_NAT" that
allows an instance to obtain an ephemeral IP address and access the
internet
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-11 23:36:31 +01:00
Justin Cormack
f47bc385c6
Merge pull request #1588 from rneugeba/meta-up
...
demo: Switch etcd to use metadata
2017-04-11 20:08:16 +01:00
Rolf Neugebauer
049993fc3d
demo: Switch etcd to use metadata
...
Also add more services.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-11 19:10:32 +01:00
Justin Cormack
25f8036bc4
Merge pull request #1585 from errordeveloper/kubernetes
...
Basic multi-node Kubernetes cluster
2017-04-11 16:17:31 +01:00
Rolf Neugebauer
9cf63a4aaa
Merge pull request #1584 from rneugeba/userdata
...
pkg: Add a generic metadata package
2017-04-11 15:45:34 +01:00
Ilya Dmitrichenko
52ba02b9c8
Basic multi-node support
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-11 15:42:57 +01:00
Rolf Neugebauer
766e1d95d3
pkg: Add a generic metadata package
...
This package handles meta and user data for different cloud
and other platforms. It should be easy to extend to new
platforms.
Currently, it handles GCP metadata and a simple CDROM userdata
provider.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-11 15:32:17 +01:00
Justin Cormack
cd4ae64e8f
Merge pull request #1583 from justincormack/dhcpcd-oneshot
...
Support dhcpcd in one shot mode as well
2017-04-11 15:25:32 +01:00
Justin Cormack
2c7628c101
Support dhcpcd in one shot mode as well
...
This is needed for cloud environments that want to get their metadata in
the onboot phase over the network.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-11 14:58:57 +01:00
Ilya Dmitrichenko
89b8021f62
Create /var/lib/kubelet
at runtime, after /var
is mounted
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-11 13:59:38 +01:00
Ilya Dmitrichenko
7bcca5cf7f
Sync with examples/doecker.yml
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-11 13:59:37 +01:00
Ilya Dmitrichenko
73a29022ce
Cache Kubernetes images, update image names, add boot-master.sh
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-11 13:59:30 +01:00
Justin Cormack
06ac17821b
Merge pull request #1503 from dave-tucker/vndr
...
Add vendoring instructions
2017-04-11 13:41:46 +01:00
Dave Tucker
00edddac9a
Add vndr to go-compile and add vendoring docs
...
This makes it easier to safely udpate the vendor directory
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-11 13:35:51 +01:00
Justin Cormack
91f00edc55
Merge pull request #1580 from thebsdbox/vmware_fix
...
Added Linux $PATH support and fixed FlagSet typo
2017-04-11 12:09:38 +01:00
Justin Cormack
4bd8532713
Merge pull request #1581 from yallop/okernel-roadmap
...
Fix broken link to okernel documentation.
2017-04-11 11:59:07 +01:00
Jeremy Yallop
188c90164b
Fix broken link to okernel documentation.
...
Signed-off-by: Jeremy Yallop <yallop@docker.com>
2017-04-11 11:49:06 +01:00
thebsdbox
66c28ccd19
Added Linux $PATH support and fixed FlagSet typo
...
Signed-off-by: Dan Finneran <daniel.finneran@gmail.com>
2017-04-11 11:48:51 +01:00
Justin Cormack
ca7f21ad7b
Merge pull request #1579 from avsm/moby-run-help
...
tweak `moby run` CLI help to reflect that it supports GCP as well
2017-04-11 11:37:52 +01:00
Anil Madhavapeddy
e8cbf1a23e
tweak moby run
CLI help to reflect that it supports GCP as well
...
Signed-off-by: Anil Madhavapeddy <anil@docker.com>
2017-04-11 11:18:55 +01:00
Justin Cormack
64933fa292
Merge pull request #1572 from errordeveloper/kubernetes
...
Working single-node Kubernetes setup
2017-04-11 09:56:35 +01:00
Ilya Dmitrichenko
85b54d5717
Fix shared mounts – working single-node Kubernetes setup
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-11 09:43:07 +01:00