Phil Estes
41e3aaee58
Merge pull request #3008 from JoeWrightss/patch-3
...
Fix some misspells in helpers_test.go
2019-02-13 09:58:37 -08:00
zhoulin xie
bfb266ab5d
Fix some misspells in helpers_test.go
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-14 00:02:17 +08:00
Derek McGowan
dc09ed1e1a
Add image handler wrapper
...
Gives clients more control of the pull process, allowing
the client to operate on a descriptor after it has been
pulled. This could be useful for filtering output or
tracking children before they dispatched to. This can
also be used to call custom unpackers to have visibility
into a pulled config in parallel to the downloads.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-12 16:34:06 -08:00
Justin Terry (VM)
a4f7b3758e
Add support for TaskDelete event on exec in RuntimeV2
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-12 15:50:21 -08:00
Lantao Liu
b2cd840042
Merge pull request #1045 from Random-Liu/fix-env-performance-issue
...
Fix env performance issue
2019-02-12 11:03:33 -08:00
Lantao Liu
877c1cadc1
Include default envs from containerd.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-12 10:29:45 -08:00
Lantao Liu
9e2ce3494d
Merge pull request #1042 from Random-Liu/etc-hostname
...
Set /etc/hostname.
2019-02-12 10:15:11 -08:00
Michael Crosby
f5b0fa220d
Merge pull request #2993 from kevpar/lcow-layer-order
...
Fix LCOW layer ordering
2019-02-12 12:21:51 -05:00
Michael Crosby
cb748dba98
Merge pull request #3007 from jterry75/fix_tty_windows
...
Stop sending stderr with TTY on Windows
2019-02-12 10:52:29 -05:00
Lantao Liu
ec6dd37691
Add env cache.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-12 03:02:20 -08:00
Lantao Liu
89717d0b63
Don't log config at info level.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-12 02:07:53 -08:00
Lantao Liu
aed43ef13a
Merge pull request #1043 from thaJeztah/bump_containerd
...
Update containerd to 4543e32a8b
2019-02-12 01:33:56 -08:00
Lantao Liu
089d4fbfb8
Set /etc/hostname.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-12 00:18:00 -08:00
Justin Terry (VM)
00895670e7
Stop sending stderr with TTY on Windows
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-11 23:11:40 -08:00
Nikhil Soni
6a21728fb6
Use defaults package for listing namespace labels
...
Labels that are used for configuring defaults are moved to defaults package
Signed-off-by: Nikhil Soni <krsoninikhil@gmail.com>
2019-02-12 01:24:31 +05:30
Phil Estes
521a44baff
Merge pull request #2997 from thaJeztah/bump_runc_cve_2019-5736
...
Update runc to 6635b4f (CVE-2019-5736)
2019-02-11 07:08:27 -08:00
Sebastiaan van Stijn
14eaad0cd9
Update runc to 6635b4f0c6af3810594d2770f662f34ddc15b40d (CVE-2019-5736)
...
Includes 6635b4f0c6
,
which fixes a vulnerability in runc that allows a container escape (CVE-2019-5736)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-11 15:18:59 +01:00
Phil Estes
b02ab6c742
Merge pull request #2990 from jhowardmsft/jjh/bumpruntimespec
...
Vendor opencontainers/runtime-spec 29686dbc
2019-02-10 16:48:05 -08:00
Sebastiaan van Stijn
bc7d40057d
Update containerd to 4543e32a8b
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-08 16:12:28 +01:00
John Howard
98766e863e
Vendor opencontainers/runtime-spec 29686dbc
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2019-02-07 18:47:53 -08:00
Lantao Liu
04416381c1
Merge pull request #1040 from thaJeztah/remove_normalize_image_ref
...
Replace util.NormalizeImageRef with reference.ParseDockerRef
2019-02-07 18:47:40 -08:00
Kevin Parsons
225d9b120c
Fix LCOW layer ordering
...
Due to an error in the OCI specf for layerFolders, the runhcs shim was
passing the layers for LCOW in reverse order. This fixes the ordering
by simply removing the code which reversed the layers for LCOW.
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-02-07 17:27:01 -08:00
Derek McGowan
4543e32a8b
Merge pull request #2986 from thaJeztah/remove_normalize_image_ref
...
Use distribution's reference.ParseDockerRef
2019-02-07 16:29:21 -08:00
Phil Estes
0922c69a54
Merge pull request #2989 from ehotinger/ehotinger/rmbin
...
Removes the oci.test.exe binary.
2019-02-07 15:46:34 -05:00
Eric Hotinger
0190e5f390
Removes the oci.test.exe binary.
...
Signed-off-by: Eric Hotinger <ehotinger@gmail.com>
2019-02-07 11:55:20 -08:00
Sebastiaan van Stijn
51affb8839
Replace util.NormalizeImageRef with reference.ParseDockerRef
...
Using the utility caused other project to have containerd/cri
as a dependency, only for this utility. The new `reference.ParseDockerRef`
function does the same (it's a copy of this function).
Tests were kept for now, but could be removed in future.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-07 13:22:58 +01:00
Sebastiaan van Stijn
525802f9ce
Use distribution's reference.ParseDockerRef
...
Using the cri utility caused other project to have
containerd/cri as a dependency, only for this utility.
The new `reference.ParseDockerRef` function does the
same (other than having a different name).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-07 13:13:25 +01:00
Sebastiaan van Stijn
3538174e60
Bump github.com/docker/distribution to 0d3efadf0154c2b8a4e7b6621fff9809655cc580
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-07 13:11:46 +01:00
Sebastiaan van Stijn
0ad60d4d9e
Bump docker/distribution to 0d3efadf0154c2b8a4e7b6621fff9809655cc580
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-07 13:02:37 +01:00
Michael Crosby
0b89d42f92
Merge pull request #2981 from jhowardmsft/jjh/ocioptions
...
OCI Modifiers for Windows
2019-02-06 16:06:38 -05:00
Michael Crosby
64e8897159
Merge pull request #2979 from crosbymichael/shim-skel
...
Add shim skeleton code
2019-02-06 15:29:46 -05:00
Michael Crosby
2dacef07ca
Add shim skeleton code
...
This allows runtime authors to quickly bootstrap new shim
implementations.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-06 15:03:02 -05:00
John Howard
59ea134ce1
OCI Modifiers for Windows
...
Signed-off-by: John Howard <jhoward@microsoft.com>
Needed for the containerd work on Windows and integrating the
oci package from containerd into moby.
No longer sets defaults for
- .Process.ConsoleSize
- .Windows.IgnoreFlushesDuringBoot
- .Windows.Network.AllowUnqualifiedDNSQuery
Adds helper functions and tests for
- WithWindowsIgnoreFlushesDuringBoot
- WithWindowNetworksAllowUnqualifiedDNSQuery
Updates `ctr run` on Windows to use the new helper functions,
ConsoleSize is already handled.
2019-02-06 10:44:36 -08:00
Michael Crosby
b94b99d965
Merge pull request #2982 from dmcgowan/metadata-structure-documentation
...
Add structure documentation for metadata
2019-02-06 10:24:04 -05:00
Derek McGowan
d25007e548
Add structure documentation for metadata
...
Adds comment showing the structure of the buckets
as stored in boltdb. Includes all bucket names, key names
and descriptions of the stored values.
Moves the metadata comment to package level to be exposed
in the godoc overview.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-05 14:45:29 -08:00
Lantao Liu
7c2498d2e6
Merge pull request #1037 from Random-Liu/support-unknown-state
...
Support unknown state
2019-02-05 14:06:24 -08:00
Lantao Liu
c27a12dd08
Update containerd to 5ba368748b
.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-05 11:56:24 -08:00
Lantao Liu
f8b3450847
Add integration test for unknown state
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-05 11:56:24 -08:00
Lantao Liu
83af4dad87
Support unknown state for sandbox and container
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-05 11:56:24 -08:00
Lantao Liu
4dc6f6d0b5
Add state machine for sandbox and container
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-05 11:56:24 -08:00
Phil Estes
a410405f5d
Merge pull request #2978 from dmcgowan/cleanup-releases
...
Cleanup releases directory
2019-02-05 18:24:30 +00:00
Derek McGowan
823b7a8a05
Cleanup releases directory
...
Remove pre-release files which do not match the recommended
release process. This will prevent confusion when using
previous releases for reference.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-05 09:29:24 -08:00
Michael Crosby
5ba368748b
Merge pull request #2976 from Random-Liu/fix-potential-panic
...
Fix potential containerd panic.
2019-02-05 09:43:32 -05:00
Lantao Liu
7bd8dcd0d3
Fix potential containerd panic.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-05 00:38:02 -08:00
Phil Estes
ca65dc9316
Merge pull request #2975 from dmcgowan/update-release-docs
...
Add release documentation
2019-02-04 21:28:08 +00:00
Derek McGowan
41f5406211
Add release documentation
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-04 11:54:32 -08:00
Lantao Liu
bfd25c80b4
Change StateUnknown to StateInit
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-04 11:24:49 -08:00
Phil Estes
7dc2c64c9f
Merge pull request #2973 from Ace-Tang/fix_readme
...
readme: fix example for checkpoint
2019-02-04 15:26:01 +00:00
Ace-Tang
f014adfa17
readme: fix example for checkpoint
...
Signed-off-by: Ace-Tang <aceapril@126.com>
2019-02-02 19:57:36 +08:00
Michael Crosby
6b25c1e45c
Merge pull request #2970 from Random-Liu/fix-exec-race-condition
...
Fix exec race condition
2019-02-01 16:08:41 -05:00