Commit Graph

4116 Commits

Author SHA1 Message Date
Lifubang
557e8e0b0d fix delete running bundle dir when run t start cmd again
Signed-off-by: Lifubang <lifubang@acmcoder.com>

code optimization after review

Signed-off-by: Lifubang <lifubang@acmcoder.com>
2018-09-21 06:33:23 +08:00
Justin Terry (VM)
547bb94e4b Fix ctr run for Windows containers
1. Fixes bugs in ctr run that were introduced by 1d9b969
2. Adds support for the --isolated flag that runs Windows HyperV
cotainers instead of process isolated containers on Windows.

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2018-09-20 14:28:36 -07:00
Derek McGowan
2623241d50
Merge pull request #2671 from crosbymichael/ttrpc
Update ttrpc for client timeout support
2018-09-20 13:48:50 -07:00
Derek McGowan
99fc40fd60
Merge pull request #2666 from dmcgowan/update-version-1.2-rc.0
Update version for v1.2.0-rc.0
2018-09-20 13:30:58 -07:00
Michael Crosby
d16cc3a02e Update ttrpc for client timeout support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-09-20 15:28:52 -04:00
Derek McGowan
65e0214895
Update version for v1.2.0-rc.0
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-20 11:23:42 -07:00
Derek McGowan
7dc7c5e9ed
Update mailmap
Fix ordering for Xuean Yan

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-20 11:23:42 -07:00
Justin Terry (VM)
7768ab1b5e Update runhcs-shim to use go-bindings
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2018-09-20 10:40:33 -07:00
Phil Estes
16b42fce94
Merge pull request #2653 from liyongxin/master
typo fix oci/typo_spec_opts_test
2018-09-20 10:07:00 -04:00
Michael Crosby
15861305e5
Merge pull request #2616 from Lihua93/master
Typo fix
2018-09-20 09:40:07 -04:00
Phil Estes
41615e8ded
Remove a TODO from the code comments that is complete
WithUser... helpers do support non-snapshot rootfs now.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-09-20 09:07:36 -04:00
Yongxin Li
03b1dae195 typo fix
Signed-off-by: Yongxin Li <yxli@alauda.io>
2018-09-20 10:56:42 +08:00
Lihua Tang
af23a4c1f2 fix: typo omitted -> ommitted
Signed-off-by: Lihua Tang <lhtang@alauda.io>
2018-09-20 10:30:30 +08:00
Derek McGowan
308d3cb60e
Merge pull request #2665 from dmcgowan/update-mailmap
Update mailmap
2018-09-19 14:59:50 -07:00
Derek McGowan
9faeea1e5e
Merge pull request #2649 from estesp/nonewpriv-flag
Add flag to ctr for running with "NoNewPrivileges: false"
2018-09-19 11:17:05 -07:00
Michael Crosby
b38b4427f6
Merge pull request #2640 from mxpv/pgzip
Support parallel decompression (pigz)
2018-09-19 13:58:16 -04:00
Phil Estes
7141ea3c0e
Merge pull request #2664 from crosbymichael/proc
Add nosuid,noexec,nodev to proc
2018-09-19 13:55:30 -04:00
Derek McGowan
5600adc86d
Merge pull request #2663 from crosbymichael/publish
Reduce publish connection timeout
2018-09-19 10:51:55 -07:00
Derek McGowan
4d0e744d17
Update mailmap
Add consistent contributor names and emails

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-19 10:46:02 -07:00
Michael Crosby
94c33d4f94 Add nosuid,noexec,nodev to proc
This is to match the same mount options as the host.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-09-19 13:29:56 -04:00
Michael Crosby
1ad49689d3 Reduce publish connection timeout
Fixes #2662

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-09-19 11:21:40 -04:00
Phil Estes
1ac5ac652b
Merge pull request #2633 from dmcgowan/import-docker
Support importing docker images
2018-09-19 09:52:47 -04:00
Maksym Pavlenko
e8fac24e7b
Remove decompression benchmark, use sync.Once for initialization
Benchmark gist: https://git.io/fASMy

Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2018-09-18 17:09:12 -07:00
Michael Crosby
3c2668dce4
Merge pull request #2661 from Random-Liu/update-release-note
Update v1.2.0-rc release note.
2018-09-18 15:41:36 -04:00
Lantao Liu
2da1358f86 Update v1.2.0-rc release note.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-09-18 10:27:33 -07:00
Michael Crosby
d97a907f7f
Merge pull request #2658 from dmcgowan/release-notes-1.2-rc
Add release notes for containerd 1.2.0
2018-09-18 10:30:18 -04:00
Yongxin Li
bd902372de typo fix oci/typo_spec_opts_test
Signed-off-by: Yongxin Li <yxli@alauda.io>
2018-09-18 10:33:23 +08:00
Derek McGowan
47583aad28
Add release notes for containerd 1.2.0
Prepare release notes ahead of 1.2.0-rc.1

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-17 16:36:03 -07:00
Derek McGowan
ef39bba476
Merge pull request #2656 from Random-Liu/update-cri-release-1.2
Update cri to 9f39e32895.
2018-09-17 16:03:30 -07:00
Michael Crosby
59087b7dc0
Merge pull request #2650 from estesp/supplemental-gids-by-default
Add additional GIDs by default if they exist in /etc/group
2018-09-17 18:36:24 -04:00
Derek McGowan
da6d29033c
Clean up error messages
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-17 14:41:43 -07:00
Derek McGowan
a62be324b7
Unify docker and oci importer
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-17 14:41:43 -07:00
Maksym Pavlenko
003b27eff4
Move compression benchmark test data to gist
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2018-09-17 13:41:04 -07:00
Maksym Pavlenko
4d7d63f390
Improve layer decompression speed by using pigz
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2018-09-17 13:41:04 -07:00
Lantao Liu
ab9942cbf9 Update cri to 9f39e32895.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-09-17 11:37:24 -07:00
Derek McGowan
d09a1c6a95
Merge pull request #2655 from crosbymichael/slack
Update slack invite link for direct signup
2018-09-17 11:35:52 -07:00
Michael Crosby
0f99d24d3d Update slack invite link for direct signup
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-09-17 14:12:23 -04:00
Derek McGowan
0dc7636c0b
Merge pull request #2644 from madhanrm/vendor_win
Vendor in runtime spec referencing windows namespace
2018-09-14 18:06:29 -07:00
Derek McGowan
074459cb51
Merge pull request #2651 from estesp/travis-darwin-cleanup
Remove setup steps unnecessary when travis runs on darwin
2018-09-14 15:29:30 -07:00
Derek McGowan
bce20b75da
Simplify docker importer
Support any layout and rely on manifest.json to reference blobs

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-14 14:21:27 -07:00
Derek McGowan
9e6db71954
Add docker importer
Update ctr to support all formats by default

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-14 14:21:26 -07:00
Derek McGowan
f57c5cdefb
Refactor image importer
Allow customization of reference creation.
Add option for digest references.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-14 14:21:26 -07:00
Phil Estes
85e8221f10
Tests should set up snapshot prior to any use of fs
These tests would have failed if any image had a USER declaration in it,
but because the test image never has, these were never caught. Adding
supplemental GIDs on any image revealed the issue.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-09-14 14:36:01 -04:00
Phil Estes
13931e41d6
Add additional GIDs by default if they exist in /etc/group
If we are using an image config, we should by default add any additional
GIDs that are found from reading /etc/group, even if the default user is
root.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-09-14 13:28:50 -04:00
Phil Estes
b215a65f7d
Remove setup steps unecessary when travis runs on darwin
Many of the setup/dev programs installed are not used because no testing
is executed on GOOS=darwin builds. Makes sense to remove them and make
darwin runs much shorter.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-09-14 13:16:22 -04:00
Phil Estes
c28ce39cea
Add flag to ctr for running with NoNewPrivileges: false
Add flag and With-helper to set NoNewPrivileges to false since it is on
by default in the default UNIX spec for containerd, but off by default
in Docker and CRI plugin use. This allows for easy testing with it off
for comparison.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-09-14 11:03:58 -04:00
Phil Estes
05984a966d
Merge pull request #2642 from dmcgowan/fix-commit-already-exists
Fix content store bug when already exists
2018-09-14 09:09:22 -04:00
Derek McGowan
6875d3df3a
Always check exists on commit error
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-09-14 01:26:03 -07:00
Madhan Raj Mookkandy
744d93e960 Vendor in runtime spec referencing windows namespace
Signed-off-by: Madhan Raj Mookkandy <madhanm@microsoft.com>
2018-09-13 18:03:18 -07:00
Michael Crosby
c95bb88fa3
Merge pull request #2634 from jhowardmsft/boltdb
Move to supported boltdb
2018-09-13 20:42:00 -04:00