Justin Cormack
7d4ac3f24d
Merge pull request #482 from djs55/proxy-bind-soft-failure
...
proxy: don't fail if the Listen in the VM fails with EADDRNOTAVAIL
2016-09-08 14:34:05 +01:00
Justin Cormack
a2aa615aeb
Merge pull request #481 from simonferquel/ca-propagation
...
Append CA certificates from the host to the global certificate bundle
2016-09-08 14:14:40 +01:00
Justin Cormack
ce64cf3ef8
Merge pull request #479 from simonferquel/large-config-value-over-hyperv
...
Fix an issue with DB values over 4k when 9p database is accessed trou…
2016-09-08 14:13:56 +01:00
Simon Ferquel
bb65bd548d
Append CA certificates from the host to the global certificate bundle
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
2016-09-08 15:03:31 +02:00
Simon Ferquel
6b9a4179e6
Fix an issue with DB values over 4k when 9p database is accessed trough Hyper V
...
Signed-off-by: Simon Ferquel <simon.ferquel@hotmail.fr >
2016-09-08 14:55:26 +02:00
Simon Ferquel
12c528c089
Fix the source of the generate iso for efi version of moby
...
Signed-off-by: Simon Ferquel <simon.ferquel@hotmail.fr >
2016-09-08 14:49:02 +02:00
David Scott
c6757075d0
proxy: don't fail if the Listen in the VM fails with EADDRNOTAVAIL
...
The purpose of the `slirp-proxy` is to expose ports on the Mac or
Windows host. In d5bd7d690a we added
an additional `Listen` inside the VM for backwards compatibility
with software that expected to be able to listen on `0.0.0.0` in
one container and then access this easily from other containers
using an IP bound to the VM (instead of using a first-class network
to connect the containers or discovering a real IP of the host).
Before this patch we could only expose ports on if the Listen
succeeds on both the host and the VM. In practice this meant that
we could only expose ports on `0.0.0.0` and `127.0.0.1`; attempts
to expose ports on specific interfaces on the host would fail.
This patch treats the EADDRNOTAVAIL error from the Listen inside
the VM as a soft failure, and still attempts to Listen on the host.
If the Listen on the host fails it is still a hard failure.
This allows ports to be exposed on specific IPs used on the host.
Fixes [docker/pinata#5080 ]
Signed-off-by: David Scott <dave.scott@docker.com >
2016-09-08 13:32:25 +01:00
Justin Cormack
7daf4563e5
Merge pull request #380 from nathanleclaire/diagnostix
...
[WIP] Add ability for diagnostics to upload to S3 bucket
2016-09-08 09:41:03 +01:00
Justin Cormack
30275af07e
Update kernel and aufs
...
- kernel 4.4.20
- aufs 20160905
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-07 22:51:51 +01:00
Justin Cormack
0337f80297
Use docker and cat not compose and volumes for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-07 00:22:21 +01:00
Justin Cormack
5c38729d26
Use docker and cat not compose and volumes for efi, bios
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-07 00:17:29 +01:00
Justin Cormack
f907a57adc
Stop using volume and compose to build initrd
...
This makes remote builds work, and simplifies build.
See #469
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 23:59:38 +01:00
Justin Cormack
032ecd86b3
Merge pull request #473 from justincormack/nodev
...
Do not create default devices
2016-09-06 23:58:14 +01:00
Justin Cormack
ce4561b1cb
Merge pull request #468 from justincormack/alpine-iso
...
Use alpine to build bios
2016-09-06 23:57:49 +01:00
Justin Cormack
6bd1df1675
Do not create default devices
...
They are created anyway at runtime, and this set is not very complete.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 23:08:12 +01:00
Justin Cormack
d4b5fc07c9
Closer to reproducible builds
...
Make an alpine base image for C and Go builds.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 13:18:11 +01:00
Justin Cormack
5133c11a27
Use alpine to build bios
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-05 23:58:12 +01:00
Justin Cormack
6ba5c7c8c0
add delete on error to Makefile
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-05 15:10:00 +01:00
Justin Cormack
30d4cf9675
more specific golang alpine base package
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-05 15:05:52 +01:00
Nathan LeClaire
0a7634fbd3
Use additional parent (global) context
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-02 16:45:05 -07:00
Nathan LeClaire
5d4b7a6f86
Fix race condition(s) in command collection code
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-02 16:40:38 -07:00
Justin Cormack
0fe0d2a39b
remove old arm docker binary, now releases are available upstream
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-02 16:50:35 +01:00
Justin Cormack
bf397574cc
diagnostics program fix up output
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-02 16:30:37 +01:00
David Scott
7e58c70929
diagnostics: no need to collect /var/log/service-port-opener.log
...
This log file has been removed and the contents are now in /var/log/messages
which we already collect.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-09-01 11:28:43 +01:00
David Scott
710cd1aebb
iptables wrapper: write to syslog rather than /var/log/service-port-opener.log
...
This will enable proper log rotation and is simpler.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-09-01 11:28:14 +01:00
Justin Cormack
72a895a03f
Merge pull request #458 from justincormack/cron
...
run crond for log rotation
2016-08-31 19:14:27 +01:00
Justin Cormack
0978a92262
run crond for log rotation
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-31 19:08:56 +01:00
Justin Cormack
4b4f133620
remove arm dtb now we no longer build arm kernel
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-31 16:51:03 +01:00
Justin Cormack
07bf4888c1
quieter kernel build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-31 15:53:16 +01:00
Justin Cormack
ad7b35e457
Merge pull request #452 from justincormack/nocrosskernel
...
Remove support for arm kernel build
2016-08-31 15:36:33 +01:00
Justin Cormack
69f290d28f
Remove support for arm kernel build
...
See #449 . Plan is to use upstream Alpine kernel for Arm, as
does not need vsock, hvsock or aufs.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-31 14:23:40 +01:00
David Scott
8f92071848
dhcp: request search domains (DHCP option 119)
...
Signed-off-by: David Scott <dave.scott@docker.com >
2016-08-31 14:06:55 +01:00
Justin Cormack
b0f3012993
Run dockerd in debug mode if not overridden in config file
...
Fix #448
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-31 12:29:23 +01:00
Justin Cormack
15861d87f9
Update Alpine base with DNS search domain config
...
See #433
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-31 09:52:01 +01:00
Justin Cormack
80bba73349
Switch to ksyslogd to add log rotation
...
See #441
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-30 11:37:30 +01:00
Justin Cormack
e03695bfa4
switch to mobylinux hub org
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-08-30 10:43:50 +01:00
Justin Cormack
d52c2b8a44
use build-base not alpine-sdk, it is smaller
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-08-30 10:43:34 +01:00
Nathan LeClaire
d7c2f7aed5
Add a few command capture tweaks
...
- Human readable df output
- Dramatically more history from Docker and syslog
- brctl doesn't output anything without 'show'
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-08-29 16:10:31 -07:00
Nathan LeClaire
970bc31977
Add ability to upload diagnostics to S3
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-08-29 16:03:27 -07:00
Justin Cormack
7981157503
Always copy in docker-proxy
...
Fix #434
Stupid mistake, sorry!
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-08-26 09:18:15 +01:00
Justin Cormack
e643a4b758
Unlimit max CPU cores in config
...
See https://github.com/docker/for-win/issues/59
Even on desktop we have users with more than 8 cores!
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-25 09:32:23 +01:00
Justin Cormack
259c7adbfe
Merge pull request #431 from justincormack/noshutdownhack
...
Remove hacky code for fast shutdown
2016-08-24 10:13:53 +01:00
Justin Cormack
2ed6616195
Remove hacky code for fast shutdown
...
Shutdown without this still seems pretty quick, and we are no longer
shutting down frequently for state changes, so I think this is a
reasonable change.
See #430
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-08-24 00:24:02 +01:00
Justin Cormack
3628e60d54
Update build containers to Ubuntu 16.10
...
Should update to Alpine in future.
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-08-23 19:53:11 +01:00
Justin Cormack
e534f613ca
Resolved how to get busybox to created shared mounts
...
Not documented...
Removed util-linux again.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-23 00:17:08 +01:00
Justin Cormack
0032e8dcfc
Fix shared mount of /run
...
Needs util-linux for now, see https://github.com/docker/moby/issues/424
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-22 23:04:57 +01:00
Justin Cormack
06dd021782
Busybox mount will not mount shared, so add a bind
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-22 19:09:24 +01:00
Justin Cormack
a4878c37d1
Fix for util-linux, no lsblk
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-22 19:08:26 +01:00
Justin Cormack
daae0e93b8
Merge pull request #420 from justincormack/no-util-linux
...
Remove util-linux
2016-08-22 11:51:56 +01:00
Justin Cormack
32acad99a7
Update kernel and aufs
...
- Linux 4.4.19
- AUFS 20160822
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-22 11:05:07 +01:00