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
Justin Cormack
30047cb226
Remove extraneous docker rm
...
fix #879
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-19 17:08:33 +00:00
Justin Cormack
705632ff66
Support Docker 1.12 on OSX
...
I had occasion to use a Moby build of 1.12 on Docker for Mac today
and I had to patch this in. Given that we re-added support for 1.12
for cloud, for CS, may as well support on OSX too as we are still
doing releases.
The fix is a bit messy (hence the flag), as it writes to the file
system but we will remove it later, or work around the write if
we need to continue to support 1.12 outside the 1.12.x branch.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-17 00:02:45 -08:00
Justin Cormack
158924114a
Update Docker to 1.13.0-rc4
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-16 21:40:38 -08:00
Justin Cormack
b1a95e7f6f
Merge pull request #901 from rneugeba/perf
...
Add Linux perf utility
2016-12-16 13:31:47 -08:00
Rolf Neugebauer
d3889c2445
build: update packages to new alpine-build-c base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-12-16 16:21:39 +00:00
Simon Ferquel
5c096a83c1
Remove vsudd output from the console.
...
vsudd is quite verbose, and we are confident enough about its stability.
This will clean Pinata logs as well indirectly
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
2016-12-16 15:53:20 +01:00
David Sheets
58706fd84e
transfused: use memcmp instead of a loop for checking init message
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
9d5309953f
transfused: use read_exactly in subproto reading
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
ac7316427c
transfused: use read_exactly in init thread message reading
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
fdc8afd32d
transfused: factor read_exactly out of read_message
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
8580cfec80
transfused: minor formatting fixup
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
b9ff275a88
transfused: replace brittle init control message writing with write_exactly
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
6cf50dd803
transfused: replace brittle event pid writing with write_exactly
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
78328cf026
transfused: improve write_exactly error handling
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
David Sheets
6b1ef63d79
transfused: improve read_message robustness
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-12-15 11:03:29 +00:00
Justin Cormack
2c55470450
Merge pull request #877 from justincormack/swap-safety
...
Make sure we do not create a swap file if /var not mounted
2016-12-13 16:25:57 -08:00
Justin Cormack
7403c94ef4
Only default to experimental if dockerd supports it
...
This allows 1.12 engine to still be supported on master.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-13 14:45:13 -08:00
Justin Cormack
8575ea050c
Make sure we do not create a swap file if /var not mounted
...
See #875
This will only happen if there has been some sort of error
before, but lets not make it worse.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-13 09:49:13 -08:00
Justin Cormack
9fc867629f
Improve mkfs options
...
- make quiet
- force, so some adjustments are not checked see https://github.com/docker/pinata/issues/6198
- set resize_inode as we do resize partitions on cloud and they could have very few inodes otherwise
- inline all the default options and remove the config file, so script is more standalone
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-12 10:36:49 -08:00
Justin Cormack
a7f57526a5
Containerize test suite
...
- run test suite under containerd
- in future this should be converted to Go not shell see #860
- test suite is now in its own initrd, can be run on any platform not just qemu
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-09 17:13:16 -08:00
Riyaz Faizullabhoy
6db87549c4
Set CONFIG_LEGACY_VSYSCALL to NONE and vsyscall=emulate
...
Regenerated the kernel config from container, which bumped the kernel
version and included some other fixes. Also bumps the check-config
container to check for VSYSCALL_NATIVE
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-09 12:09:35 -08:00
Nathan LeClaire
fbf1f435aa
Bump Azure SHA for v.1.13.0-rc3-beta13
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-12-08 12:37:08 -08:00
Riyaz Faizullabhoy
44a5cfb874
Change -1 to 1 in DOCKER_CONTENT_TRUST value
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-07 17:28:52 -08:00
Justin Cormack
6d8925f012
Update Docker to 1.13.0-rc3
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-05 20:31:16 -08:00
Nathan LeClaire
82d92fd11b
Merge pull request #746 from justincormack/no-2375
...
Stop Docker listening on port 2375
2016-12-05 13:43:36 -08:00
Nathan LeClaire
5bca9e0192
Bump digest and re-add DOCKER_FOR_IAAS_VERSION for Azure
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-12-02 18:30:33 -08:00
Justin Cormack
c6163f7ffd
Merge pull request #762 from simonferquel/vsudd_dontretry_on_dockerd
...
[vsudd] Don't retry when dockerd is not running
2016-12-02 08:23:23 -08:00
Justin Cormack
9916e7510d
Merge pull request #828 from justincormack/azure-quoting
...
Missing quote in azure init script
2016-12-02 06:12:54 -08:00
Justin Cormack
6e10fa9399
Missing quote in azure init script
...
Fix #826
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-02 14:03:21 +00:00
Justin Cormack
933372e45a
Run rngd inside a system container
...
- this needs an init as it does not respond to stop signals, so include tini
- needs CAP_SYS_ADMIN to write to kernel entropy estimate
- set kernel.random.write_wakeup_threshold so that rngd does not need sysctl write access
- build patches from Alpine, but statically linked
- remove rngd from base image, means we no longer need community repository
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-02 14:00:12 +00:00
Justin Cormack
842527996c
Merge pull request #825 from justincormack/go-up
...
Update to Go 1.7.4
2016-12-02 01:59:39 -08:00
Justin Cormack
1ecdeeed44
Update to Go 1.7.4
...
Security update.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-02 09:51:36 +00:00
Riyaz Faizullabhoy
aa4e996d16
Bump windows azure linux agent to include openssl config swapping logic
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-01 19:15:50 -08:00
Justin Cormack
cb486e5cc5
Merge pull request #820 from riyazdf/digests-and-trust
...
Use digests for external images and scripts where possible
2016-12-01 12:57:32 -08:00
Riyaz Faizullabhoy
4011d4842a
Use digests instead of tags where possible
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-01 09:39:02 -08:00
Riyaz Faizullabhoy
4068e792fd
Use DCT in library run command
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-01 09:27:01 -08:00
Justin Cormack
ae885bd714
Use DOCKER_CONTENT_TRUST=1 when pulling library images
...
When building the base images always test signatures.
This will be the default at some point.
Add a test that content trust is working.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-30 13:35:38 +00:00
Justin Cormack
8d3691fabb
Containerize binfmt_misc
...
- statically make containerd symlinks so rootfs can be read only
- run binfmt_misc in a containerd container
- ship arm, aarch64, ppc64le qemu static versions that always "just work" as this is supported in Linux 4.8
fix #53
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-30 12:49:37 +00:00
Simon Ferquel
641669cafb
Redirect vsudd stdout/stderr to console
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
2016-11-30 10:31:11 +01:00
Simon Ferquel
a12a833b20
[vsudd] Don't retry when dockerd is not running
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
2016-11-30 10:31:11 +01:00
Justin Cormack
e7ea0fbd37
Use shell to execute userdata
...
/tmp is mounted `noexec`, just use the shell to execute the userdata.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-29 15:19:09 +00:00
Justin Cormack
8a5d7ecadf
Fix directories under /var after formatting
...
- /var/lock test
- add /var/cache subdirectories
- move old boot2docker directories
fix #801
fix #792
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-28 16:12:51 +00:00