Commit Graph

9017 Commits

Author SHA1 Message Date
Phil Estes
ee027d4e4b Merge pull request #1309 from crosbymichael/opts-doc
Add doc for extending client opts
2017-08-08 17:33:39 -04:00
Michael Crosby
67572b6370 Merge pull request #1307 from crosbymichael/spec-opts
Add cgroup paths and hostname spec opts
2017-08-08 16:58:04 -04:00
Michael Crosby
bed8df119e Add cgroup paths and hostname spec opts
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-08 15:52:56 -04:00
Michael Crosby
1907116bdd Add doc for extending client opts
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-08 15:39:59 -04:00
Michael Crosby
1f04eddad1 Merge pull request #1306 from estesp/error-no-container
Delete command should require at least one container ID
2017-08-08 11:29:56 -04:00
Phil Estes
8ebbd1cdf9
Delete command should require at least one container ID
Also fix help/usage to reveal delete accepts multiple container IDs.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-08-08 11:13:23 -04:00
Phil Estes
42c1c9a990 Merge pull request #1301 from crosbymichael/task-force
Add WithProcessKill DeleteOpt
2017-08-08 10:48:28 -04:00
Michael Crosby
d8c075aadc Add WithProcessKill DeleteOpt
Add an option that allows users for force kill and delete a process/task
when calling `Delete`

Fixes #1274

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-08 10:37:17 -04:00
Michael Crosby
d4be9822ed Merge pull request #1303 from estesp/cleanup-workdir
Fix bundle removal with the reappearance of state dir
2017-08-08 10:19:29 -04:00
Ian Campbell
7008be890f Add static-binaries target
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-08 10:31:36 +01:00
Lantao Liu
69251dd7ec Merge pull request #116 from Random-Liu/fix-devices
Handle device symlink.
2017-08-07 19:11:11 -07:00
Lantao Liu
4c5cea9258 Handle device symlink.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-08 00:53:15 +00:00
Stephen Day
a2add74524 Merge pull request #1302 from dmcgowan/fix-blob-by-tag-attempt
pull: avoid attempting blobs endpoint when digest is not provided
2017-08-07 17:29:10 -07:00
Lantao Liu
be54e9a6c0 Merge pull request #115 from Random-Liu/support-container-streaming
Add container Exec support.
2017-08-07 17:04:01 -07:00
Lantao Liu
75731c8feb Start running container Exec cri validation test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 22:49:06 +00:00
Lantao Liu
54286313ce Add container Exec support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 22:49:06 +00:00
Lantao Liu
8b56c91ec5 Extract execInContainer
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 22:35:50 +00:00
Phil Estes
c8cd3d9080
Fix bundle removal with the reappearance of state dir
Bundle removal now requires removing both workdir and path locations on
delete in shim.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-08-07 17:50:22 -04:00
Derek McGowan
2b0aa29c7d
Avoid attemping blobs endpoint when digest is not provided
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-08-07 13:55:47 -07:00
Derek McGowan
738c22a756 Merge pull request #1299 from crosbymichael/ctr
Update ctr containers and tasks command
2017-08-07 13:32:03 -07:00
Phil Estes
cdd03c983f Merge pull request #1300 from crosbymichael/ops
Add Ops/Admin Guide to containerd
2017-08-07 16:27:53 -04:00
Michael Crosby
2fb2168bae Merge pull request #1224 from epilatow/solaris.cc.20170719.0
Add solaris build support
2017-08-07 16:15:07 -04:00
Edward Pilatowicz
56c1f5c184 Add solaris build support
Signed-off-by: Edward Pilatowicz <edward.pilatowicz@oracle.com>
2017-08-07 12:40:21 -07:00
Lantao Liu
53a8cdf14f Vendor kubernetes streaming server
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 19:05:16 +00:00
Michael Crosby
00288bcb58 Update ctr containers and tasks command
This moves container and tasks commands under the containers and tasks
top level commands.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-07 14:45:21 -04:00
Michael Crosby
a543d05708 Add ops guide for containerd
This adds an explaination to some of the config file settings and what
the accomplish in containerd.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-07 14:41:27 -04:00
Michael Crosby
f2ba04ffa4 Set subreaper true in default linux config
This sets the subreaper to true in the default linux config as the
common usecase is to not run containerd as pid 1.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-07 14:40:26 -04:00
Lantao Liu
6c2d1ba8db Merge pull request #112 from Random-Liu/Sirupsen-to-sirupsen
Add script to rewrite `Sirupsen` to `sirupsen` in vendor.
2017-08-07 09:40:01 -07:00
Phil Estes
e9b86af848 Merge pull request #1283 from mlaventure/resurrect-state-dir
Resurrect State directory
2017-08-07 10:41:21 -04:00
Phil Estes
fc9410888f Merge pull request #1294 from crosbymichael/gettingstarted
Add getting started guide
2017-08-07 10:36:17 -04:00
Michael Crosby
b20fd92a13 Merge pull request #1298 from miaoyq/add-start-cmd
Add `start` subcommand in `ctr`.
2017-08-07 10:21:35 -04:00
Michael Crosby
60f7eee27b Merge pull request #1275 from mlaventure/travis-ineffassign
Enable ineffassign in CI
2017-08-07 09:21:53 -04:00
Michael Crosby
a88397e9f6 Merge pull request #1296 from stevvooe/api-stability-tooling
api: generate merged descriptors when building protobufs
2017-08-07 09:19:11 -04:00
Michael Crosby
d6c171ea89 Add getting started guide
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-07 09:17:27 -04:00
Yanqiang Miao
ac72bbab26 Add start subcommand in ctr.
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-08-05 09:39:11 +08:00
Lantao Liu
ac4c5e8989 Add script to rewrite Sirupsen to sirupsen in vendor.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-05 00:37:19 +00:00
Stephen J Day
a73eb2b2ce
api: generate merged descriptors when building protobufs
When we generate protobufs, descriptors outlining all messages and
services are merged into a single file that can be used to identify
unexpected changes to the API that may affect stability. We follow a
similar process to Go's stability guarantees using the protobuf
descriptors to identify changes before they become a problem.

Please see README.md for details.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-08-04 16:50:28 -07:00
Stephen Day
e8625bcdfb Merge pull request #1295 from mlaventure/separate-client-opts
Move client's options to separate files
2017-08-04 14:11:48 -07:00
Michael Crosby
de7afd8aa8 Merge pull request #1293 from dmcgowan/fix-snapshotter-run
Fix ctr run bug when snapshotter is provided
2017-08-04 17:07:49 -04:00
Kenfe-Mickael Laventure
56b18c1d1f
Move client's options to separate files
This should help in discovering the available options for a given object.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-08-04 13:56:16 -07:00
Lantao Liu
9add0139c0 Merge pull request #111 from Random-Liu/use-client-for-execsync
Use containerd client for container execsync
2017-08-04 13:43:12 -07:00
Derek McGowan
5a74a46d42
Fix bug where snapshots got created with wrong snapshotter
Snapshotters for run must be created with requested snapshotter.
The order of the options is important to ensure that the snapshotter
is set before the snapshots are created.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-08-04 13:32:33 -07:00
Derek McGowan
6c1a04f3a4 Merge pull request #1292 from stevvooe/cleanup-protobuf-imports
api: cleanup protobuf imports
2017-08-04 13:21:27 -07:00
Kenfe-Mickaël Laventure
bf913547f8 Merge pull request #1290 from Random-Liu/cleanup-io-properly
Cleanup FIFOs on error.
2017-08-04 22:02:24 +02:00
Stephen J Day
d986a187d7
api: cleanup protobuf imports
There were a few files printing warnings during the build due to
erroneous imports. These imports have now been removed.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-08-04 12:57:43 -07:00
Lantao Liu
73735c4dba Cleanup FIFOs on error.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-04 18:58:10 +00:00
Lantao Liu
bf270fae1c Use containerd client for container execsync.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-04 18:32:39 +00:00
Phil Estes
bb39d1d982 Merge pull request #1289 from mlaventure/add-missing-return
Add missing return when failing to write tar header
2017-08-04 13:50:21 -04:00
Kenfe-Mickael Laventure
308ebe7e43
Add missing return when failing to write tar header
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-08-04 10:41:38 -07:00
Derek McGowan
99315f8e02 Merge pull request #1285 from crosbymichael/client-godoc
Update godoc for client package
2017-08-04 10:38:53 -07:00