Set your daemon.json to something like:
```
{
"experimental": true,
"metrics-addr": "0.0.0.0:4999"
}
```
and your metrics will be at `localhost:4999/metrics`
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Save some downloading as the user probably has these installed
already; still fall back if not found to downloading from CI.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
OS X CI endpoints won't need to do a build, the artifacts can be pulled
from mobylinux/media. This requires docker, which may not be available.
- 'get-regextract' make target pulls media without Docker using the
regextract utility, which it will fetch from CI if needed.
- Add initrd-test.img to mobylinux/media image
Addresses #1046
Signed-off-by: Robb Kistler <robb.kistler@docker.com>
This is temporary, it should be under `containers/` just as soon
as we have a manifest setup.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
After freeing the head of the perfstat block list, we must set it to NULL
to indicate that new blocks must be allocated. Previously, we risked
segfaults by trying to use a freed list.
Signed-off-by: David Sheets <dsheets@docker.com>
- make a `bin/` directory
- make hyperkit-test pass, as it writes to pty so redirect was not working
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Do not build by default, as we are not using yet.
Clean up the gitignores at the same time as they were affected.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This adds two new control channel requests, START_PERFSTAT and
STOP_PERFSTAT, that begin and end performance statistics collection
respectively. START_PERFSTAT takes the name of the mountpoint on which
to enable statistics collection and returns the current monotonic time.
STOP_PERFSTAT takes the name of the mountpoint on which to disable
statistics collection and returns the current monotonic time and the
message timings that have been collected.
Performance statistics are collected in a linked list of blocks. pthread
locks are used for synchronization.
Signed-off-by: David Sheets <dsheets@docker.com>
This will potentially leave stuff in lost+found but may be able to
recover from more filesystem corruption.
See #736
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This means the base system build and kernel build can be split
without dependencies, and just assembled later.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>