Commit Graph

37 Commits

Author SHA1 Message Date
Kris Nova ca2e851d87 Getting FreeBSD Compiling 2017-09-06 06:35:07 +08:00
Michael Crosby 1494d8f3b8 Update go-runc and console packages
This fixes an issue in the console package with width and height swapped
when making the ioctls.

It also updates the packages to point to their new location under the
containerd org.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-09 15:52:54 -07:00
Michael Crosby a34bc2b1b9 Update containerd with temp console path
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-01 16:43:10 -07:00
Michael Crosby b9c50a50e9 Update runc to b6b70e53451794e8333e9b602cc096b47a20bd0f
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-27 14:13:35 -07:00
Michael Crosby 24d74f8dd0 Update codegangsta to urfave cli package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-27 13:28:31 -07:00
Michael Crosby d47b9efd90 Update vendor for go-runc and console
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-27 13:25:18 -07:00
Kenfe-Mickael Laventure c9d7df5d5d Update logrus to v0.11.2
This fixes logrus terminal detection.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-02-10 15:27:13 -08:00
Kenfe-Mickael Laventure aff808ece6 Update protobuf and grpc to match docker/swarmkit
protobuf: 8ee79997227bf9b34611aee7946ae64735e6fd93
grpc: v1.0.4

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-23 15:27:12 -08:00
Michael Crosby 2e28d8007a Bump runc version to ac031b5bf1cc92239461125f4c1ff
log:

`git log--no-merges 02f8fa7863dd3f82909a73e2061897828460d52f..ac031b5bf1cc92239461125f4c1ffb760522bbf2`

```
* d5525cc add test cases for exec command
* fd7ab60 libcontainer: make tests to make sure we don't mess with \r
* eea28f4 libcontainer: io: stop screwing with \n in console output
* 603c151 (fork/ambient-tag, ambient-tag) Move ambient capabilties
* behind build tag
* fcc40b7 (fork/remove-exec-panic, remove-exec-panic) Remove panic from
* init
* 34d7c5c fix error message
* 9b15bf1 nsenter: fix up comments
* b15668b Fix all typos found by misspell
* 1535e67 Updating container state and status API in README
* 81d6088 Unify rootfs validation
* 2d0d936 Small correction in update resource file usage
* 16ad385 Correction in util error messages
* 3db2c43 man page update for delete command
* 4d76a85 Clarify libseccomp-devel in guide
* f520eab Remove unnecessary cloneflag validation
* a0f7977 Detect and forbid duplicated namespace in spec
* 6c147f8 Make parent mount private before bind mounting rootfs
* 1ab3c03 validator: actually test success
* 2a94c36 validator: unbreak sysctl net.* validation
* 2c74f86 Employ jq and state command to make sure that pid-file
* contains the right information
* e3cd191 nsenter: un-split clone(cloneflags) for RHEL
* 2cd9c31 nsenter: guarantee correct user namespace ordering
* ed053a7 nsenter: specify namespace type in setns()
* 4cfbd25 Small typo in README
* ba1c0b4 check the arguments for `runc create`
* 41c3581 add test cases about host ns
* bc84f83 fix docker/docker#27484
* f8e6b5a rootfs: make pivot_root not use a temporary directory
* b2a194f Updating bash completion for ps command
* f550f04 fix nits in stderr log
* 596a4c3 add test cases for create command
* 5aef160 add test cases for list command
* c4e7f01 Add an integration test for tmpfs copy up
* c7406f7 Support copyup mount extension for tmpfs mounts
* 4356468 Parse the new extension flags
* f5103d3 config: Add new Extensions flag to support custom mount
* options in runc
* 799911a godeps: Add fileutils dependency
* c179b0f Some refactor and cleanup
* a83f5ba Fix issue in `GetProcessStartTime`
* d223e2a Ignore error when starting transient unit that already exists
* 6e97f3a tests: mask: use test paths rather than /sys
* 528bf37 ps error logging improvement
* 38560a0 checkpoint: fix gofmt
* ed6c5c0 update the man for runc delete command
* a367e4b Add num check for kill command
* 034cba6 Fixing runc panic for missing file mode
* 6932807 Add support for r/o mount labels
* 74bfe50 start mulit-containers with `runc start` command
* 2f5c0af pause and resume multi-containers
* 4b263c9 Fixing runc panic during hugetlb pages
* 1cd0502 Valide platform on loading config.json
* 491cada DupSecOpt needs to match InitLabels
* affc105 tiny fix, add a null check for specs.Resources.Pids.Limit
* dba9253 remove /tmp/bats from dev_runc
* 1b876b0 fix typos with misspell
* 5eaa9ed just fix a typo
* 9df4847 tiny fix
* 7e38b37 Delete: exit with non zero if one of the containers
* encountered an error
* 1a6391b Revert "simplify ps command"
* 98afb73 Add integration test for ps command
* 067ce21 simplify ps command
* 11222ee (fork/kmem) Don't enable kernel mem if not set
* 1a75f81 systemd cgroup driver supports slice management
```
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-04 10:27:16 -07:00
Kenfe-Mickael Laventure fa71c585c9 Use golang.org/x/net/context for now
We'll move to "context" once the grpc, protobuf and protoc-gen-go packages have
done so (see https://github.com/grpc/grpc-go/issues/711)

This also forced me to manually update tonistiigi/fifo to use the old
context path for now.

This change ensures we stay compatible with go1.6.x

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-10-31 07:51:27 -07:00
Tonis Tiigi e1055c4cb5 Fix problems with hanging fifos
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-10-17 09:43:23 -07:00
Kenfe-Mickael Laventure df0a2094f0 Vendor updated runc and runtime-spec
runc: 02f8fa7863dd3f82909a73e2061897828460d52f
runtime-spec: 1c7c27d043c2a5e513a44084d2b10d77d1402b8c

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-10-03 10:15:18 -07:00
Mike Danese ea36fe0bb7 vendor: update grpc to v1.0.1-GA
The currently used go-grpc client is rather old (a commit from May).
Since then a GA release has been cut, so let's use that.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-09-12 11:36:39 -07:00
Alexander Morozov d5f9910cee Add grpc health check service
Also, block on dial in integration tests

Signed-off-by: Alexander Morozov <lk4d4math@gmail.com>
2016-09-09 13:14:47 -07:00
Kenfe-Mickael Laventure dfb626dccc Use protobuf Timestamp type instead of uint64
This will ensure nanoseconds are taken in account.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-07-01 09:37:21 -07:00
Michael Crosby d307ab6fa2 Bump runc to 85873d917e86676e44ccb80719fcb47a79467
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-13 12:50:23 -07:00
Kenfe-Mickaël Laventure 8040df4e89 New oom sync (#257)
* Vendor in runc afaa21f79ade3b2e99a68f3f15e7219155aa4662

This updates the Dockerfile to use go 1.6.2 and install pkg-config are
both are now needed by runc.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>

* Add support for runc create/start operation

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>

* Remove dependency on runc state directory for OOM handler

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>

* Add OOM test

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-06-09 13:33:26 -07:00
Amit Krishnan 62e1370f91 containerd build clean on Solaris (#203)
* containerd build clean on Solaris

Signed-off-by: Amit Krishnan <krish.amit@gmail.com>

* Vendor golang.org/x/sys

Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
2016-05-19 10:12:50 -07:00
Michael Crosby 614df93b92 Update grpc and protobufs dep (#243)
* Update grpc and protobufs dep

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

* Fix grpc error check

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-05-18 09:16:55 -07:00
Kenfe-Mickael Laventure 2f69e11b1a Vendor in runc d49ece5a83da3dcb820121d6850e2b61bd0a5fbe
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-05-09 08:53:43 -07:00
Michael Crosby 3062918899 Merge pull request #230 from amitkris/uprev_solaris_deps
uprev dependencies required for build clean on Solaris
2016-05-06 10:48:49 -07:00
Michael Crosby 4a341841c5 Update runc to 89c3c97a8482f3a57cd4bb683df1a7b2c61405d8
Fixes #211

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-05-04 11:36:07 -07:00
Amit Krishnan aff023c8a2 Uprev docker/docker/pkg/term and runc/libcontainer
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
2016-05-02 13:40:23 -07:00
Michael Crosby 7a1d28e42b Bump runc and runtime-specs deps
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-04-26 13:38:36 -07:00
Aleksa Sarai 20ef099321 vendor: pull in requirements for docker/pkg/listeners
Since we're using the docker "library" for socket activation (and
dealing with sockets in general), we need to vendor the requirements for
the library. Also, include go-winio even though Windows isn't a
supported target at the moment.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-04-23 02:17:25 +10:00
Michael Crosby d7fb9f0538 Bump runc to e87436998478d222be209707503c27f6f91be
Fixes for cgroup memory updates and process labeling.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-04-21 17:49:52 -07:00
Kenfe-Mickael Laventure 9992d2e1bd Vendor go-check in
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-25 11:03:48 -07:00
Kenfe-Mickael Laventure 00358ec939 Update vendor.sh to use fix hashes
This ensure that users can reproduce a containerd build exactly as it
was done during release.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-24 19:05:29 -07:00
Tonis Tiigi 918728900a vendor: update runc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-03-22 21:08:21 -07:00
Tonis Tiigi 85202e62bf vendor: clean runs unused files
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-03-22 21:08:15 -07:00
Michael Crosby b4c901f34a Revert "Switch to new vendor directory layout"
This reverts commit d5742209d3.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-17 16:10:24 -07:00
Marcos Lilljedahl d5742209d3 Switch to new vendor directory layout
Fixes #113

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2016-03-16 01:56:22 -03:00
Michael Crosby 2db0341e38 Update runc and specs vendor deps
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-15 11:19:21 -07:00
Michael Crosby a46c45d05d Update specs and runc dependencies
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-07 10:30:59 -08:00
Michael Crosby 532697f32f Add all pids to state output
Also update libcontainer dep

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-02-11 14:07:34 -08:00
Michael Crosby cf28969328 Fix tty and io permission for userns
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-02-11 11:23:35 -08:00
Alexander Morozov e17cf1ad4f Vendor dependencies
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-01-05 14:56:27 -08:00