Justin Cormack
c28e9c57f3
Merge pull request #1385 from rneugeba/infra
...
infrakit: Move the hyperkit instance plugin into the source directory
2017-03-25 13:28:35 +00:00
Rolf Neugebauer
48845bcfd9
infrakit: Move the hyperkit instance plugin into the source directory
...
- The tools directory ideally should not contain source code
- Removes double vendoring of packagages
- Makes it easer to hook the build into the top-level Makefile
Eventually, the plugin should be moved to the infrakit repo.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-25 13:02:45 +01:00
Justin Cormack
30c39863c1
Merge pull request #1382 from justincormack/moby-run
...
Use moby run to run hyperkit in Makefile
2017-03-24 19:07:48 +00:00
Justin Cormack
33ca4fe868
Use moby run to run hyperkit in Makefile
...
- cut down the hyperkit script but leave as reference for now
- an error left over after shutdown that needs removing at some point
fix #1375
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-24 18:52:42 +00:00
Justin Cormack
83d3393957
Merge pull request #1381 from riyazdf/fmt-fixes
...
fmt string fixes
2017-03-24 17:34:53 +00:00
Riyaz Faizullabhoy
dc30fc067c
fmt string fixes
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-24 10:19:21 -07:00
Justin Cormack
3302a9b477
Merge pull request #1379 from justincormack/pull
...
Add a moby build --pull option to force pulling images
2017-03-24 17:16:55 +00:00
Justin Cormack
37cfdff3f8
Merge pull request #1380 from justincormack/hyperkit-go-up
...
Update hyperkit Go bindings
2017-03-24 17:16:38 +00:00
Justin Cormack
fe9d5f0cd1
Add a moby build --pull option to force pulling images
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-24 17:15:34 +00:00
Justin Cormack
e58606daa0
Update hyperkit Go bindings
...
Fixes location of hyperkit executable with recent builds of Docker for Mac
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-24 16:31:08 +00:00
Justin Cormack
8b677a54d9
Merge pull request #1378 from justincormack/riddler-files
...
Use Go code to extract rootfs from system containers
2017-03-24 13:36:51 +00:00
Justin Cormack
d8fc863e98
Use Go code to extract rootfs from system containers
...
- this removes the use of riddler to extract the rootfs, use code
we were using for rootfs. riddler now just geenrates the config,
next stage is to generate this ourselves
- change the naming of the daemons so no longer include number as we
do not guarantee ordering as they start up simultaneously
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-24 13:05:28 +00:00
Justin Cormack
62053160bf
Merge pull request #1372 from rneugeba/kern-up
...
kernel: Update kernel to 4.4.45/4.9.17/4.10.5
2017-03-23 17:38:47 +00:00
Rolf Neugebauer
16da19b74d
kernel: Update kernel to 4.4.45/4.9.17/4.10.5
...
In 4.10.5 and 4.9.17 include a fix for the VMBus memory leak,
cherry-picked from char-misc: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=5e030d5ce9d99a899b648413139ff65bab12b038
This patch was tested with the 4.10.5 kernel and the Hyper-V
Socket stress test. It was forwarded to stable@vger to be
included in one of the next stable releases.
Also remove the CPU ACCT revert as 17.03.1-rc1 is out and has a fix
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-23 17:20:30 +01:00
Justin Cormack
f756188a21
Merge pull request #1357 from thebsdbox/vmdk
...
added the capability to produce a vmdk file through Moby
2017-03-23 11:25:58 +00:00
dan
8e6b2cfd46
Added the capability to output moby images as vmdk files for use with VMware Workstation/Fusion
...
Corrected naming from vmware->vmdk and fixed Makfile
Fixed mistake outputting a vhd instead of a vmdk in output.go
Build vmdk image and added to Docker Hub, corrected link in output.go
Modified directories to confirm to standard mkimage-<imgType>
Signed-off-by: Dan Finneran <dan@thebsdbox.co.uk>
2017-03-23 11:16:40 +00:00
Justin Cormack
0529e7fc67
Merge pull request #1370 from justincormack/no-docker2tar
...
Remove docker2tar docker image, use Docker directly from Go
2017-03-23 09:44:21 +00:00
Justin Cormack
40d007aac8
Remove docker2tar docker image, use Docker directly from Go
...
Removing the left over indirect creates that use the Docker socket
and run in containers not directly.
See #1347
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-22 22:26:13 +00:00
Riyaz Faizullabhoy
dc036938a7
Merge pull request #1367 from riyazdf/readme-enhancements
...
readme: edits to security language
2017-03-22 14:22:01 -07:00
Riyaz Faizullabhoy
b1da5b23ff
Merge pull request #1368 from riyazdf/wireguard-more-info
...
wireguard: more details in roadmap
2017-03-22 14:21:47 -07:00
Riyaz Faizullabhoy
3039ebd5d5
wireguard: more details in roadmap
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-22 14:18:42 -07:00
Riyaz Faizullabhoy
61e8a3c4af
readme: edits to security language
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-22 14:16:22 -07:00
Rolf Neugebauer
5e9d092b5b
Merge pull request #1363 from rneugeba/tests
...
Add virtio and Hyper-V socket stress tests
2017-03-22 18:12:03 +00:00
Rolf Neugebauer
800c712658
test: Add initial support for virtio and Hyper-V socket stress tests
...
Containerise the stress tests for virtio and Hyper-V
sockets from https://github.com/rneugeba/virtsock
See README.md for more details
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 17:15:17 +00:00
Rolf Neugebauer
8752077ae0
Merge pull request #1361 from rneugeba/cmd2
...
moby: Log error when the kernel untar fails
2017-03-22 15:19:05 +00:00
Rolf Neugebauer
f4414f2fed
test: Create a EFI bootable ISO for LTP
...
Previously, this was disabled because the fixed sized FAT
partition was too small. With d8d6a85
the FAT partition is
dynamically sized and the ISO can be build.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 15:16:07 +00:00
Rolf Neugebauer
cee857f8a4
moby: Log error when the kernel untar fails
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 15:14:17 +00:00
Rolf Neugebauer
d2e53018c6
Merge pull request #1360 from rneugeba/cmd
...
Introduce subcommands to 'moby' and add a 'run' sub command
2017-03-22 14:53:07 +00:00
Justin Cormack
e0fabb6485
Merge pull request #1356 from justincormack/roadmap
...
Add the beginings of a roadmap and faq
2017-03-22 14:52:53 +00:00
Justin Cormack
4b03b2b6db
Add the beginings of a roadmap and faq
...
Needs expansion, but got to start somewhere...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-22 14:48:50 +00:00
Rolf Neugebauer
f16eaba5eb
docs: Add 'moby run' to the README
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 14:47:56 +00:00
Rolf Neugebauer
709e99bbd6
moby: Add a 'run' command to execute an image on hyperkit
...
'moby run' will use the kernel and initrd image produced
by 'moby build' and, on macOS, will run it inside a
hyperkit VM. This assumes that you have a recent version
of Docker for Mac installed as it re-uses the hyperkit
and VPNKit from it.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 14:47:56 +00:00
Rolf Neugebauer
dd71aeb39f
moby: Introduce the "build" subcommand
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 14:38:02 +00:00
Rolf Neugebauer
13d6a2461d
moby: Factor out build code into a separate source file
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 14:38:02 +00:00
Justin Cormack
8c61fc7b49
Merge pull request #1359 from justincormack/pkg
...
Move installable packages to pkg
2017-03-22 13:45:09 +00:00
Justin Cormack
1fb69b9bbf
Move installable packages to pkg
...
Still leaves some intermediate repos in `base/`
See #1266
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-22 12:33:11 +00:00
Justin Cormack
bd57bc034f
Merge pull request #1355 from justincormack/sshd-logs
...
Make sshd output to stderr not syslog
2017-03-22 10:36:15 +00:00
Justin Cormack
cb47179e7e
Make sshd output to stderr not syslog
...
This way we get to see the logs.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-22 09:43:32 +00:00
Justin Cormack
87836853da
Merge pull request #1353 from tych0/selinux
...
projects: add selinux project
2017-03-21 18:43:18 +00:00
Tycho Andersen
d69c69c90a
selinux: include libselinux-utils as well
...
This adds things like getenforce and setenforce.
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-21 12:11:00 -06:00
Tycho Andersen
348e83f3e4
selinux: add readme
...
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-21 12:08:14 -06:00
Tycho Andersen
31b0c2a9b6
projects: add selinux project
...
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-21 11:42:11 -06:00
Justin Cormack
c2149ec091
Merge pull request #1352 from riyazdf/wireguard-kernel-build-fix
...
wireguard: include Dockerfile and kernel debug config for build
2017-03-21 17:09:36 +00:00
Riyaz Faizullabhoy
7b65b444e2
wireguard: include Dockerfile and kernel debug config for build
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-21 09:59:40 -07:00
Justin Cormack
d24f5b4158
Merge pull request #1351 from justincormack/cmd
...
Move Go code to `src/cmd`
2017-03-21 15:26:28 +00:00
Justin Cormack
4dd51b4ada
Move Go code to src/cmd
...
This does not get everything where we want it finally, see #1266
nor the optimal way of building, but it gets it out of top level.
Added instructions to build if you have a Go installation.
Not moving `vendor` yet.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-21 14:37:23 +00:00
Justin Cormack
26b4acd135
Merge pull request #1350 from justincormack/cleaner
...
Teach make clean about more cleanliness
2017-03-21 14:22:35 +00:00
Justin Cormack
fb17c955ad
Teach make clean about more cleanliness
...
We were not deleting many of the kinds of build artifact.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-21 13:42:51 +00:00
Justin Cormack
6eb7a0e584
Merge pull request #1349 from justincormack/remove-tar2initrd
...
We no longer directly convert to initrd, we use Go libraries for this
2017-03-21 11:51:56 +00:00
Justin Cormack
3092d2ca03
We no longer directly convert to initrd, we use Go libraries for this
...
Removed unused tooling.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-21 11:47:16 +00:00