Justin Cormack
ba07bbfb0d
Merge pull request #26 from justincormack/gitignore-del
...
Remove .gitignore
2017-05-10 17:00:17 +01:00
Justin Cormack
0ea9dfdfe1
Remove .gitignore
...
Was ignoring too much...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-10 16:59:25 +01:00
Justin Cormack
11b913606d
Merge pull request #11 from riyazdf/run-api
...
Use Docker API for run
2017-05-09 16:31:57 +01:00
Justin Cormack
0a06eb2cea
Merge pull request #25 from justincormack/fix-symlinks-misc
...
Fix symlinks handling in initramfs
2017-05-09 13:54:17 +01:00
Justin Cormack
fbdd5047dd
Update linuxkit vendor
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-09 13:45:48 +01:00
Justin Cormack
6187570b7a
Add missing Close in initrd creation
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-09 13:34:41 +01:00
Justin Cormack
cc2a3a645f
Add support for symlinks in files section
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-09 13:15:11 +01:00
Justin Cormack
96ae98d2d5
Do not log information about empty sections
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-09 13:12:51 +01:00
Justin Cormack
e25033f70d
Allow no kernel to be specified
...
This is needed for non LinuxKit use cases.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-09 13:03:58 +01:00
Justin Cormack
a1b24b4de2
Merge pull request #24 from MagnusS/fix-build
...
Don't exit after pulling init or kernel image without -pull
2017-05-08 20:14:03 +01:00
Magnus Skjegstad
09c2904994
Don't exit after pulling init or kernel image
...
Due to a missing else the tool would previously terminate with an error
message showing that the kernel or init image didn't exist, even if it
was pulled successfully. Invoking the tool again would continue to the
next image.
Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2017-05-08 20:48:20 +02:00
Justin Cormack
86b4d1cdb2
Merge pull request #23 from justincormack/fmt
...
Go fmt
2017-05-08 17:50:44 +01:00
Justin Cormack
7c33eb81b6
Go fmt
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-08 17:50:11 +01:00
Justin Cormack
aa51e43be9
Merge pull request #22 from justincormack/tar-boot-rework
...
Add tar output format
2017-05-08 17:31:01 +01:00
Justin Cormack
dd08b2b70a
Add tar output format
...
Add a canonical single tarball output format. This
adds kernel and cmdline to `/boot` where LinuxKit output
formats will find them.
Make the other output formats use that as a base.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-08 17:19:08 +01:00
Justin Cormack
30d6bc5f5a
Merge pull request #21 from justincormack/vndr-cleanup
...
Revendor with a newer `vndr`
2017-05-08 17:12:05 +01:00
Justin Cormack
20bf9d44ea
Revendor with a newer vndr
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-08 17:10:44 +01:00
Justin Cormack
3e3eec7642
Merge pull request #13 from riyazdf/linting
...
Add standard lint tools to Makefile
2017-05-03 16:47:09 +01:00
Riyaz Faizullabhoy
b93922a1c5
Add standard lint tools to Makefile
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-05-01 10:49:54 -07:00
Justin Cormack
45a3e4ccd2
Merge pull request #15 from alexellis/support_none
...
Support `capabilities: none` in YML - Fix #14
2017-05-01 16:35:57 +01:00
Alex Ellis
b046618027
Support none
as capabilities.
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-05-01 16:08:23 +01:00
Justin Cormack
0b149e7c83
Merge pull request #12 from riyazdf/img-not-found-err
...
Use IsErrNotFound to tighten err handling
2017-05-01 11:22:28 +01:00
Riyaz Faizullabhoy
95a9a4ff67
Use IsErrNotFound to tighten err handling
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-28 10:50:58 -07:00
Riyaz Faizullabhoy
ec6fea1d67
Use Docker API for run
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-28 10:45:37 -07:00
Justin Cormack
d504afe479
Merge pull request #10 from justincormack/pull-before-create
...
Make sure we always pull images if create fails
2017-04-28 16:23:36 +01:00
Justin Cormack
d0f867e9b2
Make sure we always pull images if create fails
...
`docker create` will not pull an image so we need an additional fallback.
Rework the pull and trust code so it is in one place to facilitate this.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-28 16:14:15 +01:00
Justin Cormack
dbd2593328
Merge pull request #8 from justincormack/no-bzimage
...
Switch from bzImage to kernel for kernel image
2017-04-28 13:56:59 +01:00
Justin Cormack
ef017ac223
Support both kernel and bzImage for now
...
Also do not require `tar` to be in container, use the standard
image export code that we already have and find the files we
want.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-28 12:48:04 +01:00
Justin Cormack
2cd9bead88
Switch from bzImage to kernel for kernel image
...
This was too architecture specific previously.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-28 12:38:04 +01:00
Justin Cormack
3375f32d51
Merge pull request #9 from riyazdf/docker-api-usage
...
Use Docker API for part of tool
2017-04-28 11:48:52 +01:00
Riyaz Faizullabhoy
37f57cfa84
Use Docker API for rm, create, export, and inspect
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-27 14:09:17 -07:00
Riyaz Faizullabhoy
fcdfe5c356
vendor new client and api
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-27 13:31:16 -07:00
Justin Cormack
4694f5a7ec
Merge pull request #7 from justincormack/makefile
...
Add a simple Makefile
2017-04-27 14:29:26 +01:00
Justin Cormack
719025a708
Add a simple Makefile
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-27 14:25:07 +01:00
Justin Cormack
7517c830d7
Merge pull request #6 from AkihiroSuda/stdin
...
build: support reading yaml from stdin
2017-04-27 14:12:34 +01:00
Akihiro Suda
d98f23c2ba
build: support reading yaml from stdin
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-04-25 10:26:34 +00:00
Justin Cormack
75a784f74b
Merge pull request #3 from justincormack/clean-vendor
...
Clean vendor directory
2017-04-25 00:07:00 +01:00
Justin Cormack
08e1ca0795
Clean vendor directory
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-25 00:06:11 +01:00
Justin Cormack
3527ecc6d9
Merge pull request #2 from justincormack/license
...
Add license files
2017-04-24 23:09:21 +01:00
Justin Cormack
ba3d79a258
Add license files
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-24 23:08:30 +01:00
Justin Cormack
8fa71bd1a9
Merge pull request #1 from justincormack/vendor
...
Add vendoring and move to cmd
2017-04-24 23:07:08 +01:00
Justin Cormack
fa88ca8ede
Move src/cmd to cmd
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-24 22:58:37 +01:00
Justin Cormack
81288f9221
Add vendoring
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-24 22:56:08 +01:00
Justin Cormack
8968335e59
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
Justin Cormack
4e1317d213
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
Dave Tucker
b556f51b47
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
Rolf Neugebauer
9deb9c044d
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
c1a5c412fb
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
Dave Tucker
327138876a
moby: add skip-cleanup flag to moby run gcp
...
This is used as the CI will cleanup after itself
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-19 16:02:48 +01:00
Daniel Finneran
85b33baf58
Fix for prefix for linuxkit
...
Signed-off-by: Dan Finneran <daniel.finneran@gmail.com>
2017-04-18 19:00:31 -05:00