Akihiro Suda
bcfb5e7cee
Revert "Makefile: remove FORCE dependency"
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-19 01:28:43 +00:00
Michael Crosby
7465a6de1b
Merge pull request #427 from docker/rootfs-poc
...
rootfs: pseudo-implementation of rootfs unpacking
2017-01-18 11:51:24 -08:00
Stephen Day
3cd4f25c11
Merge pull request #438 from crosbymichael/remove-mnt-cmd
...
Remove shelling out to mount
2017-01-18 11:43:35 -08:00
Michael Crosby
a7a6270f2a
Remove shelling out to mount
...
Also remove the target from the Mount struct because it should not be
used at all. The target can be variable and set by a caller, not by the
snapshot drivers.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-18 11:10:31 -08:00
Michael Crosby
e3595680a9
Merge pull request #423 from AkihiroSuda/list
...
ctr: add commands: `list` and `inspect`
2017-01-18 10:03:51 -08:00
Michael Crosby
7d0b1eef8e
Merge pull request #440 from coolljt0725/readme_typo
...
typo: fix typo in README.md
2017-01-18 09:37:33 -08:00
Lei Jitang
1640c297d3
typo: fix typo in README.md
...
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2017-01-17 23:01:23 -05:00
Akihiro Suda
8bd1b0d2e4
ctr: add commands: list
and inspect
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-18 02:47:42 +00:00
Stephen J Day
8b5c7ce901
vendor: include github.com/opencontainers/image-spec
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-01-17 17:08:37 -08:00
Stephen J Day
460314d667
rootfs: pseudo-implementation of rootfs unpacking
...
This defines a new package for assembling rootfs with layers and
snapshots. We define some base types and operations that represent the
boiled down process of the unpacking a rootfs.
This code is untested but provides a base to work towards a full
implementation of rootfs unpacking.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-01-17 17:05:28 -08:00
Kenfe-Mickaël Laventure
abc1bf4dea
Merge pull request #429 from datawolf/io-set-termios-onlcr-for-master
...
Set -ONLCR on created consoles
2017-01-17 14:07:50 -08:00
Michael Crosby
c0fdda03cc
Merge pull request #432 from AkihiroSuda/makefile-non-force
...
Makefile: remove FORCE dependency
2017-01-17 10:58:54 -08:00
Michael Crosby
7d39f2d0e6
Merge pull request #430 from hqhq/fix_check_error
...
Fix go vet errors
2017-01-17 10:51:35 -08:00
Michael Crosby
87ece31efe
Merge pull request #435 from hqhq/fix_stdio
...
Fix io closer
2017-01-17 10:03:36 -08:00
Qiang Huang
9a5b17009c
Fix io closer
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2017-01-17 19:04:20 +08:00
Akihiro Suda
029265f67c
Makefile: remove FORCE dependency
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-16 08:58:20 +00:00
Qiang Huang
5d6fa7b886
Fix go vet errors
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2017-01-14 21:43:31 +08:00
Wang Long
7c473041a0
io: stop screwing with \n in console output
...
The default terminal setting for a new pty on Linux (unix98) has +ONLCR,
resulting in '\n' writes by a container process to be converted to
'\r\n' reads by the managing process. This is quite unexpected, To fix it, make
the terminal sane after opening it by setting -ONLCR.
this patch fix method comes from: eea28f480d
thanks @cyphar Aleksa Sarai <asarai@suse.de>
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2017-01-14 07:00:50 +00:00
Stephen Day
e6f6261bae
Merge pull request #426 from stevvooe/separate-drivers
...
snapshots: separate implementations into packages
2017-01-13 16:20:33 -08:00
Stephen J Day
e3f83fd53d
snapshots: separate implementations into packages
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-01-13 15:32:41 -08:00
Michael Crosby
c7f77f475a
Merge pull request #425 from crosbymichael/jan13
...
Add status report for Jan 13, 2017
2017-01-13 11:21:52 -08:00
Michael Crosby
d3fadb5436
Add status report for Jan 13, 2017
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-13 10:29:52 -08:00
Phil Estes
6f8d541d2b
Merge pull request #419 from AkihiroSuda/clean-vendor
...
vendor: clean up
2017-01-13 12:43:27 -05:00
Phil Estes
2c11108748
Merge pull request #421 from AkihiroSuda/testflags
...
Makefile: new variable: TESTFLAGS
2017-01-13 12:42:40 -05:00
Akihiro Suda
3793d19bfe
Makefile: new variable: TESTFLAGS
...
e.g.
$ TESTFLAGS="-race -v -parallel 16" make test
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-13 04:28:24 +00:00
Akihiro Suda
c9a3036468
vendor: clean up
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-13 03:07:00 +00:00
Michael Crosby
8bc78b2a4a
Merge pull request #400 from estesp/dev-start-guide
...
Add simple quick-start for developers
2017-01-12 14:47:47 -08:00
Phil Estes
3695767b12
Add simple quick-start for developers
...
Simple documentation on getting started with the codebase.
Expects the vendor/ PR to be in place so that there are
no requirements on the developer acquiring Go dependency
packages.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-01-12 16:50:07 -05:00
Michael Crosby
f082890e46
Merge pull request #418 from mlaventure/ctr-term-handling
...
ctr: set raw mode when using --tty
2017-01-12 11:51:43 -08:00
Kenfe-Mickael Laventure
a60487b782
ctr: set raw mode when using --tty
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 11:39:09 -08:00
Michael Crosby
3945ca3c58
Merge pull request #417 from mlaventure/containerd-shim
...
Add containerd-shim runtime
2017-01-12 11:33:28 -08:00
Kenfe-Mickael Laventure
2a20ea7daf
Vendor github.com/docker/docker/pkg/term
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 11:24:31 -08:00
Kenfe-Mickael Laventure
478f50fb2e
Vendor golang.org/x/sys/unix
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 11:21:06 -08:00
Kenfe-Mickael Laventure
5b40adf9af
execution: add shim runtime
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:45:33 -08:00
Kenfe-Mickael Laventure
37a113f9fb
execution: properly monitor restored processes
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:31:42 -08:00
Kenfe-Mickael Laventure
3cb57fa2d6
Add containerd-shim binary
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:29:37 -08:00
Kenfe-Mickael Laventure
3234546ee6
ctr: take console flag in account when readying IOs
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:24:22 -08:00
Kenfe-Mickael Laventure
8e603d2e48
ctr: use full path for bundle in run
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:23:29 -08:00
Kenfe-Mickael Laventure
f9aac9d599
ctr: add delete command
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:15:27 -08:00
Kenfe-Mickael Laventure
851d811eb2
execution/oci: use package sys for subreaper
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 09:55:17 -08:00
Michael Crosby
6a8d5fdd37
Merge pull request #415 from AkihiroSuda/update-vendor
...
vendor: add missing deps and remove `go get` in .travis.yml
2017-01-12 09:51:06 -08:00
Akihiro Suda
4a7a8efc2d
vendor: add missing deps and remove go get
in .travis.yml
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-12 08:24:48 +00:00
Stephen Day
9a740a0a42
Merge pull request #414 from samuelkarp/snapshot-tests
...
snapshot: Fix leaked mounts and temp directories
2017-01-11 17:19:39 -08:00
Samuel Karp
2c36c387de
snapshot: Fix leaked mounts and temp directories
...
Signed-off-by: Samuel Karp <skarp@amazon.com>
2017-01-12 01:12:37 +00:00
Michael Crosby
e2eb06dd3d
Remove networking from roadmap and readme
...
ref: https://github.com/docker/containerd/issues/362
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-11 16:15:01 -08:00
Michael Crosby
f0e1216d92
Update roadmap with milestones
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-11 16:07:41 -08:00
Stephen Day
4b19b0dec9
Merge pull request #412 from gianarb/coverage-gitignore
...
Put coverage files in gitignore
2017-01-11 16:03:22 -08:00
Michael Crosby
5ac8610e2c
Merge pull request #411 from dqminh/fix-some-check
...
fix ineffassign: use processes array
2017-01-11 15:41:26 -08:00
Gianluca Arbezzano
225412d081
Put coverage files in gitignore
...
```
23:59 $ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
events/coverage.txt
gc/coverage.txt
log/coverage.txt
snapshot/coverage.txt
```
I run `make coverage` and I just noticed that all generated files are
not in gitignore.
Signed-off-by: Gianluca Arbezzano <ga@thumpflow.com>
2017-01-12 00:00:02 +01:00
Daniel Dao
726b88f9b7
fix ineffassign: use processes array
...
uses processes variable instead of calling the Processes() func again
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2017-01-11 22:33:19 +00:00