Commit Graph

8430 Commits

Author SHA1 Message Date
Phil Estes
fdf7a795bc
Clarify requirements for identifiers validation
Fix commentary to be clear that the RFC1035 2.3.1 rules are not
explicitly enforced by the identifiers regex.

Add a test to show the lessened restrictions for digits to follow hyphen
and period.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-11-04 21:22:10 -05:00
Phil Estes
76aa4e546e
Use common identifiers package with less restrictive regex
Regular expressions in the namespaces package are redundant with the
pre-existing validator in the "identifiers" package; replace this custom
usage with the validator in "identifiers"

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-11-04 21:22:01 -05:00
Derek McGowan
4d7739527e
Merge pull request #3796 from crosbymichael/cgo
Add CGO makefile flag
2019-11-04 14:28:38 -08:00
Michael Crosby
84879b7c48 Add CGO makefile flag
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-11-04 16:25:58 -05:00
Michael Crosby
f9d8f0e56e
Merge pull request #3794 from fahedouch/server_test
add tests to server_test
2019-11-04 10:37:26 -05:00
fahedouch
7c016b655b
add tests to server_test
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
2019-11-04 09:15:05 -05:00
Lantao Liu
8f9eff4fec Support disk usage in windows snapshot.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-11-01 00:12:10 -07:00
Lantao Liu
9f79be1b88
Merge pull request #1331 from erikwilson/fix-http-localhost
Fix using `http` for localhost, 127.0.0.1 and ::1 by default
2019-11-01 00:09:53 -07:00
Erik Wilson
7cc3938717 Set default scheme in registryEndpoints for host
Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2019-10-31 10:30:17 -07:00
Mike Brown
5abebfa27a
Merge pull request #1330 from mikebrow/update-support-statement-oct29
missed the release version for HEAD in table-1
2019-10-31 11:56:04 -05:00
Maksym Pavlenko
257a7498d0
Merge pull request #3790 from ameyag/windows-shim-install
Windows process shim installer
2019-10-30 22:46:10 -07:00
Ameya Gawde
d21f0f116e
windows process shim installer
Signed-off-by: Ameya Gawde <ameya.gawde@docker.com>
2019-10-30 16:22:02 -07:00
Mike Brown
a3d180b094 HEAD is not needed in support tables
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2019-10-30 11:22:41 -05:00
Phil Estes
342ce3e602
Merge pull request #3789 from AkihiroSuda/vendor-20191030
bring back aufs and zfs
2019-10-30 12:29:13 +01:00
Akihiro Suda
a2688b972c bring back aufs and zfs
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-30 17:51:27 +09:00
Mike Brown
73e5fa0f34
Merge pull request #1328 from Random-Liu/make-localhost-http
Use `http` for localhost and 127.0.0.1 by default.
2019-10-29 12:43:07 -05:00
Lantao Liu
41f73f79fe
Merge pull request #1329 from Random-Liu/update-support-metrics
Update support metrics.
2019-10-29 10:23:11 -07:00
Michael Crosby
4a1a1bc626
Merge pull request #3784 from tiborvass/ppc64
ppc64: -buildmode=pie is not supported
2019-10-29 11:23:32 -04:00
Michael Crosby
62b13256ef
Merge pull request #3786 from Random-Liu/not-found-error-if-no-platform
Return not found error if no platform matched.
2019-10-29 11:21:56 -04:00
Lantao Liu
78be736622 Return not found error if no platform matched.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-28 22:37:07 -07:00
Lantao Liu
bd54412b81 Update support metrics.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-28 19:19:28 -07:00
Lantao Liu
65b9c31805 Use http for localhost, 127.0.0.1 and ::1 by default.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-28 19:07:43 -07:00
Tibor Vass
d12b53a072 ppc64: -buildmode=pie is not supported
I needed this patch to compile containerd for ppc64.

Signed-off-by: Tibor Vass <tibor@docker.com>
2019-10-28 22:47:47 +00:00
Michael Crosby
cedd3cb16c
Merge pull request #3782 from mrueg/vndr-autocompl
Makefile: Drop vndr whitelist
2019-10-28 11:28:36 -04:00
Manuel Rüger
5e5584196b
Makefile: Drop vndr whitelist
Since autocompletions moved to contrib/ in
https://github.com/containerd/containerd/pull/3766

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2019-10-28 15:16:45 +01:00
Michael Crosby
edb6f2344a
Merge pull request #3780 from AkihiroSuda/1.1-eol
RELEASES.md: 1.1 EOL
2019-10-28 10:10:16 -04:00
Lantao Liu
aeebf37ab7
Merge pull request #1326 from Random-Liu/add-container-compute-stats
[WCOW] Add container compute stats support.
2019-10-27 23:57:28 -07:00
Lantao Liu
d95e21c89b Add container compute stats support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-25 14:32:02 -07:00
Lantao Liu
a7c5a650ff
Merge pull request #1324 from Random-Liu/stdout-non-block
Avoid O_NONBLOCK on stdout in the windows test.
2019-10-25 10:52:11 -07:00
Phil Estes
aeec80fca1
Merge pull request #3773 from Random-Liu/use-logrus-trace
Use logrus trace support.
2019-10-25 07:45:31 -04:00
Lantao Liu
20e844a227 Use logrus trace support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-24 20:12:19 -07:00
Akihiro Suda
0c01992f9c
Merge pull request #3709 from Zyqsempai/3708-added-filters-to-shapsotters-api
Added filters to snapshots API
2019-10-25 11:52:20 +09:00
Derek McGowan
66aa1d3ef6
Add snapshot walk implementations
Temporarily remove zfs and aufs until interface update

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-10-24 11:11:22 -07:00
bpopovschi
e8c14c07c6
Added filters to snapshots API
Signed-off-by: bpopovschi <zyqsempai@mail.ru>
2019-10-24 11:11:22 -07:00
Phil Estes
c59561a08e
Merge pull request #3763 from AkihiroSuda/disable-mknod00-in-userns
apply: use naive applier when running in UserNS
2019-10-24 14:06:37 -04:00
Phil Estes
f05e19c5c6
Merge pull request #3777 from Random-Liu/fix-containerd-config
Fix `containerd config dump`.
2019-10-24 11:50:15 -04:00
Akihiro Suda
f593efdf0c RELEASES.md: 1.1 EOL
v1.1 reached EOL on October 23, 2019

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-24 19:38:49 +09:00
Lantao Liu
aaccfcbe2b Fix containerd config dump.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-23 22:38:18 -07:00
Akihiro Suda
8ce2ad6b7c
Merge pull request #1323 from Random-Liu/use-logrus-trace
logrus supports trace level now.
2019-10-24 13:46:09 +09:00
Akihiro Suda
c224edc5c6 apply: use naive applier when running in UserNS
`OverlayConvertWhiteout` calls `mknod c 0 0` which is not allowed when
running in a user namespace, even in Ubuntu kernel.

Although there is an alternative hacky way to create whiteouts without
calling mknod as Moby `overlay2` actually does(see #3762), let's use
naive applier when running in UserNS and call it a day.

Close #3762

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-24 13:33:09 +09:00
Akihiro Suda
125d169345
Merge pull request #1318 from PeriferalDevice/#1317
Containerd version updated for kubernetes ansible example.
2019-10-24 12:17:35 +09:00
Akihiro Suda
966b1b8e30
Merge pull request #3775 from jterry75/vendor_hcsshim
Update Microsoft/hcsshim vendor
2019-10-24 12:15:23 +09:00
Lantao Liu
132a35942f Avoid O_NONBLOCK on stdout in the windows test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-23 15:26:41 -07:00
Justin Terry (VM)
37b56cafc6 Add ctr metrics support for Windows/LCOW containers
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-10-23 13:50:34 -07:00
Justin Terry (VM)
178469e2ae Update Microsoft/hcsshim vendor
Updates Microsoft/hcsshim vendor commit hash to a recent version that now:
1. Supports container stats via the Stats RuntimeV2 gRPC call.
2. Fixes a regression when issuing a resize of the pty after the container has
exited which previously in Docker was expected to be a non-error case.
3. Puts in a workaround when using a non-default sandbox size for Windows
containers due to a platform bug. This expansion now happens in the go library
itself.

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-10-23 11:48:43 -07:00
Lantao Liu
6ab2e10869 logrus supports trace level now.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-23 00:00:27 -07:00
Mike Brown
fe757946ca
Merge pull request #1319 from Random-Liu/fix-containerd-build
Fix containerd build, use `libbtrfs-dev` when available.
2019-10-22 13:11:28 -05:00
Phil Estes
4523ab734a
Merge pull request #3766 from estesp/move-autocomplete
Move autocomplete files to contrib/
2019-10-22 08:42:11 -04:00
Lantao Liu
8bfff7dbd2 Fix containerd build, use libbtrfs-dev when available.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-21 23:12:34 -07:00
Akihiro Suda
0d8fc0a487
Merge pull request #3767 from thaJeztah/bump_grpc
bump google.golang.org/grpc v1.23.1
2019-10-22 11:47:18 +09:00