Commit Graph

2433 Commits

Author SHA1 Message Date
Justin Cormack
9d225884ba Weekly report for March 26 2017
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-26 12:42:41 +01:00
Justin Cormack
7925c86ae7 Add link to reports from main README
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-26 12:42:14 +01:00
Justin Cormack
1ef7c5c839 Merge pull request #1386 from justincormack/containerdup
Update containerd to current master
2017-03-25 20:07:15 +00:00
Justin Cormack
7b79053306 Update containerd to current master
- now supports image pull and run end to end
- update runc to last version before spec update fix #1302
- remove ext2 utils from init

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-25 18:15:52 +00:00
Justin Cormack
4fa2cc4cbe 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
6a29d153f5 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
1c0a86caee 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
668408614f 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
603a08b405 Merge pull request #1381 from riyazdf/fmt-fixes
fmt string fixes
2017-03-24 17:34:53 +00:00
Riyaz Faizullabhoy
6b6912a2db fmt string fixes
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-24 10:19:21 -07:00
Justin Cormack
6c1786dd79 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
904d7589ca Merge pull request #1380 from justincormack/hyperkit-go-up
Update hyperkit Go bindings
2017-03-24 17:16:38 +00:00
Justin Cormack
ead0d2f2a3 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
ab5cb52823 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
eac7ab7db0 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
2be31831d8 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
f3c1115f82 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
130e546fcf 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
6bba73ec0b 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
a75989f447 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
cc5f42dc9d 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
c76074ff66 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
86b8f7b9c2 Merge pull request #1367 from riyazdf/readme-enhancements
readme: edits to security language
2017-03-22 14:22:01 -07:00
Riyaz Faizullabhoy
2a9b73ff50 Merge pull request #1368 from riyazdf/wireguard-more-info
wireguard: more details in roadmap
2017-03-22 14:21:47 -07:00
Riyaz Faizullabhoy
60816eaa48 wireguard: more details in roadmap
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-22 14:18:42 -07:00
Riyaz Faizullabhoy
5cfd1389c4 readme: edits to security language
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-22 14:16:22 -07:00
Rolf Neugebauer
e276de9b49 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
38a47ea52e 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
ed34b12fd8 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
bc67e30127 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
ebc5057839 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
757905d845 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
448a0e4335 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
1f14c347f6 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
c4fcac7f02 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
ea4ceab3f8 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
759637b3f0 moby: Introduce the "build" subcommand
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-22 14:38:02 +00:00
Rolf Neugebauer
a188c21ddd 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
4fbb787c6a Merge pull request #1359 from justincormack/pkg
Move installable packages to pkg
2017-03-22 13:45:09 +00:00
Justin Cormack
905636d642 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
b6ef5d4e88 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
b3b5ec7fe5 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
7c4768bb54 Merge pull request #1353 from tych0/selinux
projects: add selinux project
2017-03-21 18:43:18 +00:00
Tycho Andersen
7c873da17b 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
ae423e428b selinux: add readme
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-21 12:08:14 -06:00
Tycho Andersen
a8bab0bddb projects: add selinux project
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-21 11:42:11 -06:00
Justin Cormack
70574bb0b5 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
cc7d80be13 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
9e89b2c30f Merge pull request #1351 from justincormack/cmd
Move Go code to `src/cmd`
2017-03-21 15:26:28 +00:00
Justin Cormack
e643f4a454 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