Justin Cormack
4dd5dca106
Format filesystems earlier, before syslog
...
So that we can write to /var early, move filesystem formatting as early as possible.
Adds a dummy fsck service, as we already do fsck in format script.
Replaces #535
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-08 15:20:46 +00:00
Justin Cormack
44bc83b7d9
Improve matching of mounted drive in diagnostics
...
Was failing on AWS as drive did not match patter that was too precise.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-04 14:09:12 +00:00
Justin Cormack
de81602c68
Update check-config script
...
Now returns error if checks do not pass.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-04 09:40:15 +00:00
Justin Cormack
7752c39b73
Merge pull request #672 from justincormack/configup
...
Update check-config script
2016-11-02 21:11:36 +00:00
Justin Cormack
e337dafea9
Update check-config script
...
Now misses the ext3 error messages.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-02 20:05:48 +00:00
Justin Cormack
90d2d1ef45
Split out Windows network config from hostsettings
...
On cloud editions eg AWS settings may come from the network, so
we need to move this to after network setup, while the Windows
network config changes need to happen before, so split the init script.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-02 14:49:24 +00:00
Justin Cormack
503eb2dcaf
Merge pull request #663 from justincormack/curl-fail
...
make curl fail on 404
2016-11-01 19:55:55 +00:00
Justin Cormack
76e902926a
fsck filesystem before mount
...
Use fsck -p to fix errors that are fixable.
Note this will recreate the filesystem on fatal errors.
Fix #665
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-01 16:01:08 +00:00
Justin Cormack
c758ca67ce
make curl fail on 404
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-01 13:58:02 +00:00
Justin Cormack
8cfc2c753f
Add check-config container and test
...
Currently the test will never fail, planning to fix this upstream.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-28 12:39:31 +01:00
Justin Cormack
30dff6a0f4
Add dependency to Makefile for Docker
...
The Docker version is in the Makefile su always re-upload if changed.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-27 11:29:31 +01:00
Justin Cormack
a25973608e
update Docker to 1.12.3
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-27 09:14:20 +01:00
Justin Cormack
f625a63084
Update to docker 1.12.3-rc1
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-25 10:06:52 +01:00
Justin Cormack
142d621c06
go fmt
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-21 15:35:10 +01:00
Justin Cormack
29196a5872
update C build base images for Musl update
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-20 13:23:12 +01:00
Justin Cormack
9059240d47
Update to Go 1.7.3
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-20 13:17:16 +01:00
Justin Cormack
867557a6b2
Merge pull request #614 from justincormack/git-go
...
Add git to Go build package
2016-10-17 09:49:52 +01:00
Justin Cormack
2c2f600995
add git to Go build package
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-16 13:49:28 +01:00
Justin Cormack
0b41443ae3
remove temporary force curl before hub updated
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-14 21:58:30 +01:00
Justin Cormack
310a0af538
Increase default memlock ulimit
...
Fix #610
Users can override, but the default is low.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-14 11:27:45 +01:00
Justin Cormack
1d5f679746
Default to overlay2
...
If there is no storage-driver set in daemon.json and no
aufs directory in the docker directory, use overlay2 as the storage
driver.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-13 16:08:20 +01:00
Justin Cormack
be7fcd72f4
temporarily force curl as image not yet available
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-12 00:48:18 +01:00
Justin Cormack
71ec0982ce
Update Docker to 1.12.2
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-11 19:26:45 +01:00
Justin Cormack
8106f7a174
Make the Docker download more robust to pipefail errors
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-11 19:26:45 +01:00
Justin Cormack
47124e8282
do not remove build containers
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-11 16:12:40 +01:00
Justin Cormack
864a34759a
Sort block devices
...
See #589 for discussion.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-10 15:09:54 +01:00
Justin Cormack
7ed9a36ba9
Merge pull request #589 from nathanleclaire/azure_recent_fixes
...
Fixes for Azure hostname and swap disk
2016-10-10 15:08:30 +01:00
Justin Cormack
588798404f
Do not create latest tags for base images
...
As we never use these, do not create them.
Also update images where applicable.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-10 14:55:48 +01:00
Justin Cormack
64fd8d7a5c
Update docker to 1.12.2-rc3
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-08 13:00:15 +02:00
Nathan LeClaire
744fab2941
Fixes for Azure hostname and swap disk
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-10-06 14:40:11 -07:00
Justin Cormack
4e2f887f40
add ncurses to C build for menuconfig
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-01 18:26:38 +01:00
Justin Cormack
652d5eddf3
Use build container id rather than tagging builds
...
This means that multiple builds will not conflict, so we can
remove the lock from the CI. Also quieter when no errors.
Some still left to do, only done the ones used in build and CI
initially. Some of the others will be cleaned up anyway later.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-29 20:21:17 +01:00
Justin Cormack
bf29850d3c
Use patched aufs-utils so can compile kernel with alpine
...
This is going to be submitted upstream.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-29 16:17:46 +01:00
Justin Cormack
09ad0a2aa2
update Docker to 1.12.2-rc1
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-28 08:51:07 +01:00
Justin Cormack
3bb527c6bb
Fix code for downloading Docker for release candidates
...
These always need to be downloaded with curl.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-27 22:26:29 +01:00
Justin Cormack
ff744d8acc
fix checking for debug key exists
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-26 22:24:48 +01:00
Justin Cormack
14ef46ee94
Fix dhcp ntp on osx
...
1. Upstream issue in Alpine that default directory is not used.
2. dhcp appends ntp servers, so delete default first.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-26 21:39:20 +01:00
Justin Cormack
7ec4d05b1e
Merge pull request #531 from rneugeba/hvtools-out
...
remove special hack hvtools
2016-09-24 14:29:55 +01:00
Justin Cormack
c001ded03b
Copy docker-init if present
...
Fix #552
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-23 18:11:05 +01:00
Justin Cormack
a2c3991580
Switch to dhcpcd
...
Should fix issue with not sending hostname which Azure needs.
This should be requesting all the dhcp features we currently use.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-23 15:52:30 +01:00
Rolf Neugebauer
93490ac710
packages: remove hvtools
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-23 11:03:40 +01:00
Justin Cormack
9c5381e5a8
Merge pull request #546 from rneugeba/if-clean
...
Clean up network interface
2016-09-23 10:41:15 +01:00
Rolf Neugebauer
aceebda3db
net: consolidate DHCP onto eth0 only
...
- rename DfW main interface eth0
- remove eth1 DHCP config
- create tap device in init script not interfaces file
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-22 18:12:45 +01:00
Justin Cormack
30991d26d4
Do not fail if disk is partitioned but has no swap
...
Fix #543
Also clean up quoting and unused parts a little.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-22 16:30:28 +01:00
Rolf Neugebauer
a0632f1e78
net: rename Hyper-V internal network to hvint0 and configure it
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-22 16:17:26 +01:00
Rolf Neugebauer
eee8a92d03
tap-vsockd: better error handling
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +01:00
Rolf Neugebauer
082a66d1ea
9pmount: Don't init variables if they are unconditionally assigned later
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +01:00
Rolf Neugebauer
31430016b2
transfused: Use Linux coding style (mostly)
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +01:00
Rolf Neugebauer
afb6b0b830
tap-vsockd: Use Linux coding style (mostly)
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +01:00
Rolf Neugebauer
3f63cfb3b7
9pmount: Use Linux coding style (mostly)
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +01:00