Commit Graph

3250 Commits

Author SHA1 Message Date
Rolf Neugebauer
cb732e7f80 YAML: Update files to use the new binfmt package
Checked that /proc/sys/fs/binfmt_misc/status is enabled for
architectures specified.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 15:55:10 +01:00
Justin Cormack
f252e855d3 Merge pull request #1706 from justincormack/external-moby
Remove the moby tool from this repo
2017-04-25 15:28:57 +01:00
Rolf Neugebauer
c6416ddecb pkg: Use multi-stage builds for the binfmt package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 14:54:54 +01:00
Justin Cormack
252e32aac5 Remove the moby tool from this repo
Updated go-compile to be able to compile remotely. Note I
did not update the oter users of go-compile as it does not affect
them.

Update `go get` instructions to fetch new one, or `make && make install`
will still work.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-25 14:53:32 +01:00
Ian Campbell
20cfa2af2c Switch fallback hostname to linuxkit-* from moby-*
This was missed when things were renamed.

The intention with this code was (apparently) to provide a (pseudo)unique
hostname in the case where something more specific was not provided (e.g. by
DHCP). Make this a little clearer by using '(none)' rather than 'linuxkit' as
the default, in the normal case this will be overwritten by something more
specific and if it isn't we will change it to something somewhat unique derived
from the MAC address (as before). nb: '(none)' is already used by Debian so I
think it is a safe choice as the sentinel value.

The use of both CONFIG_DEFAULT_HOSTNAME and the explicit /etc/hostname from
mkimage.sh is likely to be redundant in some cases, but neither seems to
completely cover all cases so keep both.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-04-25 14:09:38 +01:00
Rolf Neugebauer
35d8070abc Merge pull request #1703 from rneugeba/clean
General cleanup
2017-04-25 13:25:12 +01:00
Rolf Neugebauer
77941b7216 demo: Rename ./project/demo to ./project/etcd
With redis-os and README documentation moved elsewhere,
the demo directory only contains the etcd demo setup.
Rename it.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 13:17:05 +01:00
Rolf Neugebauer
db6d3d7ed2 docs: Consolidate mac tips & tricks in ./docs/mac.md
We had serveral files with instructions, in particular for
networking, for macOS/Docker for Mac. Let's have just one place.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 13:17:04 +01:00
Rolf Neugebauer
855f8f2722 demo: Move redis example to ./examples
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 13:17:04 +01:00
Rolf Neugebauer
febe68de6c vendor: Remove un-used vendored packages
With the infrakit plugin gone, remove it's dependencies.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 13:17:04 +01:00
Rolf Neugebauer
f0ee1ee707 src: Remove the infrakit plugin
It has been merged/moved to https://github.com/docker/infrakit

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-25 13:17:04 +01:00
Rolf Neugebauer
8d33b2def0 Merge pull request #1700 from AkihiroSuda/fix-doc
update gcp docs
2017-04-25 10:49:47 +01:00
Akihiro Suda
9fc864d92a update gcp docs
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-04-25 09:40:15 +00:00
Justin Cormack
22514db912 Merge pull request #1687 from rneugeba/multi-stage
Convert some images to multi-stage builds
2017-04-24 20:18:01 +01:00
Justin Cormack
b78b5a7449 Merge pull request #1695 from justincormack/split-cli
Split cli into moby and linuxkit
2017-04-24 20:12:37 +01:00
Justin Cormack
6f80f664ce Split cli into moby and linuxkit
moby just does the simple `build` cases, while `linuxkit` does
`push` and `run`.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-24 20:03:22 +01:00
Rolf Neugebauer
3ba9d8064b YAML: Update standard yml files to use the new rngd image
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 18:41:27 +01:00
Rolf Neugebauer
91dcb402c7 test: Convert virtsock to use multi-stage build
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 18:41:27 +01:00
Rolf Neugebauer
8d1eb49fa7 pkg: Convert rngd to a multi-stage build
This allows us to get rid of the ./base/rng-tools

Use c-compile to compile it

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 18:41:27 +01:00
Rolf Neugebauer
60a12f1c52 tools: Move toybox to ./tools and use a multi-stage build
Also use c-compile to compile it

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 18:41:27 +01:00
Rolf Neugebauer
85bcee93dd tools: Move tini to ./tools and convert to multi-stage build
Previously the "tini" contained the entire build. Using the
multi-stage build creates a new "tini" base image, which only
contains the "/bin/tini". This image can be used as the base
image for packages requiring "tini".

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 18:41:27 +01:00
Rolf Neugebauer
370f8e7eb0 tools: Add more utilities to c-compile
These utilities are needed to compile tini, rngd, and toybox.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 18:41:27 +01:00
Riyaz Faizullabhoy
5df4eb43b8 Merge pull request #1697 from riyazdf/move-summit-notes
Move summit notes to reports/ and include date in filename
2017-04-24 10:33:50 -07:00
Riyaz Faizullabhoy
e8ae5f3341 Move summit notes to reports/ and include date in filename
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-24 10:18:22 -07:00
Justin Cormack
fe29a90c3d Merge pull request #1693 from justincormack/push
Split build and push, and remove push code from run
2017-04-24 17:44:01 +01:00
Justin Cormack
2709ee88bc Split build and push, and remove push code from run
This currently only changes the `gcp` target, but is the new
model - the `build` command will only do things locally, then
you need to `push` to an image store such as GCP or other ones
in order to `run` for platforms that cannot boot directly from
a local image.

Fix #1618

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-24 17:12:05 +01:00
Justin Cormack
d8531ef070 Merge pull request #1672 from dave-tucker/qemu-container
Let moby run qemu fallback to using a container
2017-04-24 16:39:55 +01:00
Dave Tucker
745dcb66b9 makefile: Remove script -q so errors appear in CI
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-24 15:17:01 +01:00
Dave Tucker
11fcf087ca makefile: Use moby run qemu
This deprectes scripts/qemu.sh as moby run qemu can now safely be run in
CI, where we currently used the qemu container

Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-24 15:17:01 +01:00
Dave Tucker
48daeda07e moby: Add container fallback for moby run qemu
This commit allows moby run qemu to fallback to using a container if
qemu isn't installed on the host OS

Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-24 15:16:57 +01:00
Dave Tucker
0ba381c77a tools: Change qemu image for use with moby run
- Remove the qemu.sh entrypoint
- This means that any qemu command can be used (e.g qemu.img)

Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-24 15:16:51 +01:00
Rolf Neugebauer
456f2623d5 Merge pull request #1691 from rneugeba/hyperkit
src: Use hyperkit from the the moby org
2017-04-24 11:32:25 +01:00
Rolf Neugebauer
9bdd831b37 src: Use hyperkit from the the moby org
HyperKit got moved from docker to moby. Update vendoring and
imports.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-24 10:53:59 +01:00
Riyaz Faizullabhoy
2ec3884283 Merge pull request #1653 from dave-tucker/ltp-ci
Changes required to run LTP tests in CI
2017-04-23 13:22:40 -07:00
Riyaz Faizullabhoy
d715b6114b Merge pull request #1673 from rneugeba/min
examples: Add a minimal YAML file
2017-04-23 13:15:37 -07:00
Rolf Neugebauer
e0eb0125ae examples: Add a minimal YAML file
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-22 17:30:30 +01:00
Rolf Neugebauer
d35878c9e8 Merge pull request #1683 from riyazdf/yml-updates
Update top-level linuxkit.yml with images from linuxkit org
2017-04-22 11:30:02 -05:00
Rolf Neugebauer
0783642775 Merge pull request #1685 from tomwillfixit/patch-4
Typo in link to sshd.yml
2017-04-22 10:20:58 -05:00
Rolf Neugebauer
f750a04b04 Merge pull request #1679 from riyazdf/dockercon-summit-notes
summit: add notes from session 1 bof
2017-04-22 10:18:32 -05:00
Thomas Shaw
465b513289 Typo in link to sshd.yml 2017-04-21 22:31:03 -05:00
Riyaz Faizullabhoy
63b0846e6b Merge pull request #1684 from tomwillfixit/patch-3
Fix broken link to pkg dir
2017-04-21 19:31:13 -07:00
Riyaz Faizullabhoy
9bbe2830f9 Merge pull request #1682 from tomwillfixit/patch-2
Fix link. Cosmetic.
2017-04-21 19:29:27 -07:00
Thomas Shaw
e9d7989e36 Fix broken link to pkg dir 2017-04-21 21:17:32 -05:00
Thomas Shaw
e5f929a344 Fix link. Cosmetic. 2017-04-21 20:56:18 -05:00
Riyaz Faizullabhoy
a51e06bd20 Update top-level linuxkit yml with new hub repos
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-21 18:50:59 -07:00
Riyaz Faizullabhoy
c087af7282 Merge pull request #1681 from tomwillfixit/patch-1
Fix link to kernels directory
2017-04-21 18:42:38 -07:00
Riyaz Faizullabhoy
f163457a7a Merge pull request #1677 from rneugeba/sshd-doc
examples: Add doc on how to use the SSHD example
2017-04-21 18:35:22 -07:00
Thomas Shaw
b0584f05bd Fix link to kernels directory 2017-04-21 20:33:09 -05:00
Riyaz Faizullabhoy
a3030f5d5e summit: add notes from session 1 bof
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-21 13:27:05 -07:00
Rolf Neugebauer
f2b9295081 examples: Add doc on how to use the SSHD example
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-21 14:12:02 -05:00