Justin Cormack
40a3b5578a
Always have database at /Database
...
Use a bind mount for OSX and Windows for 9p filesystem.
This makes it easier to use a different database source,
and to share database into system containers.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-19 14:34:29 +00:00
Justin Cormack
36df13e1ef
Update Docker to 1.13.0
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-18 16:14:17 +00:00
Justin Cormack
74d3bce70e
Use buildmode pie for Go code
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-17 16:03:50 +00:00
Riyaz Faizullabhoy
56d5a5a711
Merge pull request #1021 from justincormack/c-compile
...
Use docker run to compile C code not docker build
2017-01-16 17:44:47 +00:00
Justin Cormack
6a315fab59
Clean up go-compile
...
- remove unused `--docker` option
- neater output for stages of check, build
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-15 19:43:03 +00:00
Justin Cormack
b5d9ff8cda
Use docker run to compile C code not docker build
...
C version of #1006
Note that I switched all the C builds to use -O2 and that meant
that the compiler found some more warnings so I also fixed these
up. The possibly undefined ones were harmless, the aliasing one
is now more correct.
As these are small programs, the caching from `docker build` makes
no real difference, and worst case compile time is much better.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-15 15:55:14 +00:00
Justin Cormack
d6f8152d1a
Merge pull request #1019 from justincormack/alpine-go
...
Update to golang:1.7-alpine3.5 images
2017-01-15 11:32:00 +00:00
Justin Cormack
5cfb149637
Update to golang:1.7-alpine3.5 images
...
Now there is an Alpine 3.5 variant of the Go 1.7 images, use this.
fix #972
Note updated the containers/binfmt image as this will be converted
to go-compile shortly, at which point alpine-build-go can be removed.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-14 09:41:12 +00:00
Justin Cormack
be6ab94db4
Remove unnecessary file from proxy
...
Was missed in cleanup in #1006
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-14 09:27:40 +00:00
Justin Cormack
7982de1545
Update Docker to 1.13.0-rc7
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-13 21:48:21 +00:00
Justin Cormack
d2655a92f1
Merge pull request #1006 from justincormack/go-compile
...
Compile Go code with docker run not docker build
2017-01-13 19:15:22 +00:00
Justin Cormack
06598ae9bf
Build OCaml iptables package once and push to hub
...
As the build requires networking, is non repeatable as dependencies
may change, makes sense to make it a static package for now.
Plan is to rewrite in Go anyway at some point see #467
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-13 16:36:03 +00:00
Justin Cormack
b184b3f0e1
Compile Go code with docker run not docker build
...
Go code is really fast to compile so we do not really need to use the
cache features of `docker build`. So make a compile container instead.
This can also output a build context and Dockerfile if you want to do
a build.
For reference, an uncached `docker build` of our Go code takes about
7s, a cached one 1.2s, and this takes 1.7s, so the best case is a little
worse, but we save a lot of images, and the worst case is better.
This is mainly designed to make the nested builds for containerd
containers simpler too. Will add a variant for the C code as well.
Also add `-static` to the flags so we always make static executables,
which was omitted previously.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-13 15:49:51 +00:00
Justin Cormack
41fabe9e1a
Update Docker engine to 1.13.0-rc6
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-11 22:26:22 +00:00
Nathan LeClaire
4b3192df62
Add label to Azure agent container
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-10 15:08:52 -08:00
Justin Cormack
d8fd61861b
Merge pull request #978 from nathanleclaire/collect_system_logs
...
Collect system container logs for diagnostics
2017-01-10 22:23:50 +00:00
Nathan LeClaire
e1026a1f95
Change system container label
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-10 13:29:47 -08:00
David Gageot
13cc81a1aa
[GCP] Configure diagnostics server
...
Signed-off-by: David Gageot <david@gageot.net >
2017-01-10 19:58:34 +01:00
David Gageot
9b156d0cd4
[GCP] Remove useless stop()
...
Signed-off-by: David Gageot <david@gageot.net >
2017-01-10 19:58:33 +01:00
David Gageot
a9fe30b2b7
[GCP] Configure ntp server
...
Signed-off-by: David Gageot <david@gageot.net >
2017-01-10 19:58:31 +01:00
Nathan LeClaire
1ca9096f55
Fix streaming API request error
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-10 10:48:02 -08:00
Nathan LeClaire
69468bf42f
Begin adding system container log support to diagnostics
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-10 08:37:37 -08:00
Justin Cormack
fa62544f14
Merge pull request #975 from nathanleclaire/fix_daemon_avail_check
...
Fix daemon availability check
2017-01-10 11:42:30 +00:00
Nathan LeClaire
da59746ec6
Move daemon ping to use native Go code
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-09 16:25:15 -08:00
Justin Cormack
7237360e44
Merge pull request #974 from nathanleclaire/check_req
...
Check request type
2017-01-09 19:42:14 +00:00
Nathan LeClaire
e26443cab9
Create and chown persistent homedir
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-09 11:15:46 -08:00
Nathan LeClaire
2887824529
Check request type in /diagnose
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-09 11:13:40 -08:00
Nathan LeClaire
814a351e93
Fix faulty daemon availability check
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-09 10:27:13 -08:00
Nathan LeClaire
1fdab8a8e2
Bump version/digest for 1.13.0-rc5
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-09 10:17:12 -08:00
Nathan LeClaire
7ac8256416
Add provisions to enable proper restart in Azure
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2017-01-09 10:10:39 -08:00
Justin Cormack
4495664a4f
Update opam to current alpine 3.5 base
...
Use internal solver as external one is broken at present.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-07 00:36:16 +00:00
Justin Cormack
81a7af5299
Update Go build packages to Alpine 3.5
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-05 15:58:16 +00:00
Justin Cormack
c2754ed49e
Update docker to 1.13.0-rc5
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-05 09:28:02 +00:00
David Gageot
9d9ac03a6a
Ignore non existant startup script (http/404)
...
Signed-off-by: David Gageot <david@gageot.net >
2017-01-04 17:59:08 +01:00
Justin Cormack
4cd0c9981f
Merge pull request #943 from justincormack/bootable
...
Set bootable flag after partition resize
2017-01-04 16:45:37 +00:00
Justin Cormack
3159e3767c
Set bootable flag after partition resize
...
Google Cloud requires this to be set to boot.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-04 15:07:23 +00:00
David Scott
934fb2961b
diagnostics: capture the networks and volumes db
...
This should help diagnose failures like that described in
https://github.com/docker/docker/issues/29636
Signed-off-by: David Scott <dave.scott@docker.com >
2017-01-04 11:52:43 +00:00
Justin Cormack
0209e93d3e
Merge pull request #932 from justincormack/alpine-3.5
...
Update base images to Alpine 3.5
2016-12-28 19:58:59 +00:00
Justin Cormack
1a85a04628
Merge pull request #930 from justincormack/docker-master
...
Add a build flag to build from master
2016-12-28 18:57:38 +00:00
Justin Cormack
5f625a6889
Add a build flag to build from master
...
This donwloads from master.dockerproject.org and fixes up the
different URL structure.
Use `make DOCKER_VERSION=master`
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-28 18:33:29 +00:00
Justin Cormack
4ac42402e5
Update base images to Alpine 3.5
...
excludes
- Go base images as not yet available
- perf which does not build with latest image
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-28 18:09:08 +00:00
David Gageot
245e64ac94
Set hostname on GCP
...
Split GCP startup script in two:
+ One started before Docker, to set the hostname
+ Another to run the startup script
Signed-off-by: David Gageot <david@gageot.net >
2016-12-28 17:51:33 +01:00
David Gageot
a54f2ae179
Specific init.d script for GCP
...
Signed-off-by: David Gageot <david@gageot.net >
2016-12-23 12:03:20 +01:00
Justin Cormack
cc72074b11
Merge pull request #915 from riyazdf/golinting
...
Add golint, gofmt, govet
2016-12-21 19:35:31 +00:00
Riyaz Faizullabhoy
c8e7a6dd43
Move linting to Go build
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-21 11:26:33 -08:00
Riyaz Faizullabhoy
b73d2a29a7
Add lint docker image for golang linting and testing to individual package subdirs
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-20 15:00:08 -08:00
Riyaz Faizullabhoy
05bb6d5c1a
Revert "Bumps for azure 1.13.0-rc4-beta14"
...
This reverts commit 2197b7b7c6 .
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-19 17:42:32 -08:00
Nathan LeClaire
049ec0b285
Bumps for azure 1.13.0-rc4-beta14
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-12-19 17:19:32 -08:00
Riyaz Faizullabhoy
51088ee491
Add golint, make linting top-level
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-19 16:13:02 -08:00
Riyaz Faizullabhoy
27cb33f7b9
Add gofmt, govet
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-19 15:17:37 -08:00