From 996d22bc2a00eb9a03bc4df3821202ec7e89e6c300f5a951ca90f5dcfe76d2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 18 Jul 2024 08:27:14 +0000 Subject: [PATCH] Update to version 1.7.6 OBS-URL: https://build.opensuse.org/package/show/devel:microos/nerdctl?expand=0&rev=26 --- .gitattributes | 23 ++ .gitignore | 1 + _service | 19 ++ _servicedata | 4 + nerdctl-1.7.5.tar.xz | 3 + nerdctl-1.7.6.tar.xz | 3 + nerdctl.changes | 621 +++++++++++++++++++++++++++++++++++++++++++ nerdctl.spec | 66 +++++ vendor.tar.xz | 3 + 9 files changed, 743 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 nerdctl-1.7.5.tar.xz create mode 100644 nerdctl-1.7.6.tar.xz create mode 100644 nerdctl.changes create mode 100644 nerdctl.spec create mode 100644 vendor.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..35dca8b --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + https://github.com/containerd/nerdctl.git + git + v1.7.6 + @PARENT_TAG@ + enable + v(.*) + + + + + *.tar + xz + + + xz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..e8f5b72 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/containerd/nerdctl.git + 845e989f69d25b420ae325fedc8e70186243fd93 \ No newline at end of file diff --git a/nerdctl-1.7.5.tar.xz b/nerdctl-1.7.5.tar.xz new file mode 100644 index 0000000..46b6b39 --- /dev/null +++ b/nerdctl-1.7.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c69e72113419560cf6f677c8af9c3ff2b782320809cc5d0cd020eb7c1bf5069 +size 378080 diff --git a/nerdctl-1.7.6.tar.xz b/nerdctl-1.7.6.tar.xz new file mode 100644 index 0000000..a544308 --- /dev/null +++ b/nerdctl-1.7.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a02c887cb2be9fd81f7e22baff3effd8c4ed55413fcbf817b6764a349c240bfa +size 378116 diff --git a/nerdctl.changes b/nerdctl.changes new file mode 100644 index 0000000..3fd15cd --- /dev/null +++ b/nerdctl.changes @@ -0,0 +1,621 @@ +------------------------------------------------------------------- +Wed Jul 17 06:03:52 UTC 2024 - danish.prakash@suse.com + +- Update to version 1.7.6: + * update containerd (1.7.16) + * update containerd (1.7.15) + * update cosign image to latest release + * github.com/containerd/containerd v1.7.16 + * golang.org/x/net v0.24.0 + +------------------------------------------------------------------- +Sat Mar 23 13:23:12 UTC 2024 - mark_nefedov@outlook.com + +- Update to version 1.7.5: + * update imgcrypt (1.1.10) + * build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 + * update Kubo (0.27.0) + * update RootlessKit (2.0.2) + * update CNI plugins (1.4.1) + * update slirp4netns (1.2.3) + * update containerd (1.7.14),(1.6.30) + * build(deps): bump github.com/containerd/containerd from 1.7.13 to 1.7.14 + * build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 + * CI: test compilation with Go 1.22 + * rootless: fix `Not Authorized(uid): org.fedoraproject.FirewallD1.config` + * update RootlessKit (2.0.1) + +------------------------------------------------------------------- +Mon Feb 05 08:16:42 UTC 2024 - danish.prakash@suse.com + +- Update to version 1.7.3: + * build(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7.13 + * update BuildKit (0.12.5) + * update Kubo (0.26.0) + * update bypass4netns (0.4.0) + * update runc (1.1.12) + * update containerd (1.7.13) + * update RootlessKit (2.0.0) + * build(deps): bump github.com/containerd/containerd from 1.7.11 to 1.7.12 + * add allow option in build + * Document that profiles are supported + * build(deps): bump github.com/rootless-containers/bypass4netns + * containerd-rootless-setuptool.sh nsenter: inherit RootlessKit env + * shfmt containerd-rootless-setuptool.sh + * fix: return error if volume create failed + * build(deps): bump golang.org/x/net from 0.19.0 to 0.20.0 + * build(deps): bump github.com/docker/go-connections from 0.4.0 to 0.5.0 + * build(deps): bump docker/metadata-action from 5.4.0 to 5.5.0 + * build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 + * build(deps): bump golang.org/x/term from 0.15.0 to 0.16.0 + * logging: respect ctx + * update runc (v1.1.10) + * cniNetworkManager: move Windows-specific variable to `_windows.go` + * nerdctl rm: fix printing `error=""` on warning + * build(deps): bump go.uber.org/mock from 0.3.0 to 0.4.0 + * build(deps): bump github.com/containerd/cgroups/v3 from 3.0.2 to 3.0.3 + * Add docs for trouble shooting nvidia gpu operator + * Remove "soci image rpull" from testing suite + * fix typo in filename + * Fix #2199 to allow users to bind a named pipe on Windows. + * go.mod: clean up + * fix groupadd in compose + * build(deps): bump github.com/awslabs/soci-snapshotter + * build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 + * build(deps): bump docker/metadata-action from 5.3.0 to 5.4.0 + * docs: Fix typo in command-reference.md + * fix etchosts in host network + * implement persistent logging for contaiers running in foreground + * fix deadlinks in the notation doc + * build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 + * update BuildKit (0.12.4) + * update containerd (1.7.11) + * build(deps): bump github.com/containerd/containerd from 1.7.10 to 1.7.11 + * Dedup mounts for /etc/hosts /etc/resolv.conf + * build(deps): bump actions/setup-go from 4 to 5 + * build(deps): bump github.com/containerd/nydus-snapshotter + * nerdctl run: reset the default value of limits. + * build(deps): bump docker/metadata-action from 5.2.0 to 5.3.0 + * update CNI plugins (1.4.0) + * build(deps): bump github.com/containernetworking/plugins + * build(deps): bump github.com/klauspost/compress from 1.17.3 to 1.17.4 + * build(deps): bump docker/metadata-action from 5.0.0 to 5.2.0 + * update containerd (1.7.10) + * fix typo + * build(deps): bump github.com/containerd/containerd from 1.7.9 to 1.7.10 + * update golangci-lint (1.55.2) + * build(deps): bump golang.org/x/net from 0.18.0 to 0.19.0 + * build(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0 + * update Nydus (2.2.4) + * update Kubo (0.24.0) + * update containerd (1.7.9) + * build(deps): bump github.com/containerd/accelerated-container-image + * Fix nerdctl system info : sort problem. + * remove incompatible in TestComposeExecTTY + * build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 + * build(deps): bump github.com/compose-spec/compose-go + * fix: typo + * build(deps): bump github.com/klauspost/compress from 1.17.2 to 1.17.3 + * Add SOCI index digest flag + * docs: read-only (RRO) bind-mount have been support by docker + * build(deps): bump github.com/containerd/containerd from 1.7.8 to 1.7.9 + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump docker/build-push-action from 5.0.0 to 5.1.0 + * Deflake TestContainerListWithFilter + * build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 + * build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 + * build(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 + * build(deps): bump golang.org/x/net from 0.17.0 to 0.18.0 + * [build][iidfile] Setthe same permissions as docker + * build(deps): bump golang.org/x/text from 0.13.0 to 0.14.0 + * chore(test): remove some incompatible in compose test + * Add diff command to docs & fix usage message + * Use prepared Stdout + * Fix wrong comment of completion + * Fix missing error handling + * Support diff command's autocompletion + * Remove diff test from windows + * Add comment to diff test + * Add `diff` command + +------------------------------------------------------------------- +Mon Dec 04 07:00:42 UTC 2023 - danish.prakash@suse.com + +- Update to version 1.7.0: + * build(deps): bump github.com/Microsoft/hcsshim from 0.11.2 to 0.11.4 + * update containerd-fuse-overlayfs (1.0.8) + * Fix unstable sort of container list in compose + * update imgcrypt (1.1.9) + * update BuildKit (0.12.3) + * update runc (1.1.10) + * update containerd (1.7.8) + * nerdctl ps: implement `--format {{.Label "foo"}}` + * Dockerfile: stargz-snapshotter v0.15.1 + * fix add-host overwritten + * build(deps): bump github.com/containerd/stargz-snapshotter/ipfs + * build(deps): bump github.com/containerd/imgcrypt from 1.1.8 to 1.1.9 + * build(deps): bump github.com/containerd/stargz-snapshotter + * nerdctl-full: compile ipfs (Kubo) as a static binary + * nerdctl-full: compile containerd as static binaries + * Support IPv6 for nerdctl network + * Add support to CernVM-FS Snapshotter + * build(deps): bump github.com/docker/cli + * support running container with network id + * build(deps): bump github.com/containerd/containerd from 1.7.7 to 1.7.8 + * build(deps): bump github.com/docker/docker + * compose_config_test: workaround for Docker Compose v2.23.0 + * Vagrantfile.freebsd: pin generic/freebsd13 to version 4.3.2 + * build(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3 + * fix ps format names + * support ip-masq option + * build(deps): bump github.com/klauspost/compress from 1.17.1 to 1.17.2 + * Replace logrus.SetOutput() with log.L.Logger.SetOutput() + * docs: minor soci push fix + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/containerd/continuity from 0.4.2 to 0.4.3 + * build(deps): bump tonistiigi/xx from 1.2.1 to 1.3.0 + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/Microsoft/hcsshim from 0.11.1 to 0.11.2 + * build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 + * build(deps): bump actions/checkout from 4.1.0 to 4.1.1 + * build(deps): bump github.com/klauspost/compress from 1.17.0 to 1.17.1 + * Use https://github.com/containerd/log for logging + * build(deps): bump github.com/containerd/accelerated-container-image + * fix: typo + * nerdctl compose: fix --env-file + * build(deps): bump github.com/containerd/nydus-snapshotter + * chore: unnecessary code + * build(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 + * fix: call client close + * go.mod: github.com/containerd/containerd v1.7.7 + * dockerconfigresolver: nullify DefaultTLS when DefaultScheme == "http" + * update gotestsum (1.10.0) + * update Kubo (0.23.0) + * update containerd-fuse-overlayfs (1.0.7) + * update slirp4netns (1.2.2) + * update containerd (1.7.7) + * containerd/containerd/log -> containerd/log + * chore: Comment should with an optional leading article + * build(deps): bump golang.org/x/net from 0.15.0 to 0.16.0 + * release.yml: migrate from `hub` to `gh` + * build(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0 + * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 + * build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 + * build(deps): bump golang.org/x/sys from 0.12.0 to 0.13.0 + * build(deps): bump github.com/containerd/nydus-snapshotter + * Fix port allocate iptables regex + * CNI: prioritize `/opt/cni/bin` over `/usr/lib/cni` + * build(deps): bump github.com/containerd/nydus-snapshotter + * docs: minor fixes to soci documentation + * update toml to v2 + * fix: client close connection + * Support zstd (non-chunked) conversion + * build(deps): bump github.com/tidwall/gjson from 1.16.0 to 1.17.0 + * build(deps): bump actions/checkout from 4.0.0 to 4.1.0 + * chore: Comment should with an optional leading article + * build(deps): bump github.com/Microsoft/hcsshim from 0.11.0 to 0.11.1 + * add missing flags for compose ps + * add featrue network filter + * build(deps): bump github.com/compose-spec/compose-go + * image: dedup same platform entry + +------------------------------------------------------------------- +Tue Oct 10 06:16:47 UTC 2023 - Danish Prakash + +- Bump go version to 1.21 (bsc#1215611) + +------------------------------------------------------------------- +Wed Sep 27 06:21:54 UTC 2023 - danish.prakash@suse.com + +- Update to version 1.6.0: + * nerdctl version: skip inspecting rootless daemon if the daemon is not running + * docs: add SOCI snapshotter guideline in README.md + * build(deps): bump github.com/klauspost/compress from 1.16.7 to 1.17.0 + * build(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1 + * update containerd (1.7.6) + * feat: support push with soci + * nerdctl compose cp: support rootless + * compose: silence "build.config should be relative path" warning + * Implement `nerdctl compose exec -T` + * docs: fix docs for supported quiet flag of push command + * build(deps): bump github.com/opencontainers/image-spec + * add feature nerdctl compose cp + * build(deps): bump github.com/containerd/nydus-snapshotter + * seccomp: rename "default" to "builtin" to follow Docker 23 + * update golangci-lint (1.54.2) + * update soci-snapshotter (0.4.0) + * update Nydus (2.2.3) + * update Kubo (0.22.0) + * update fuse-overlayfs (1.13) + * update slirp4netns (1.2.1) + * update RootlessKit (1.1.1) + * update imgcrypt (1.1.8) + * update BuildKit (0.12.2) + * update containerd (1.7.6) + * build(deps): bump github.com/containerd/containerd from 1.7.5 to 1.7.6 + * build(deps): bump docker/login-action from 2.2.0 to 3.0.0 + * build(deps): bump docker/setup-qemu-action from 2 to 3 + * build(deps): bump docker/metadata-action from 4.6.0 to 5.0.0 + * build(deps): bump docker/setup-buildx-action from 2 to 3 + * build(deps): bump docker/build-push-action from 4.2.1 to 5.0.0 + * build(deps): bump github.com/compose-spec/compose-go + * remove useless option from containerd-rootless-setuptool + * build(deps): bump docker/build-push-action from 4.1.1 to 4.2.1 + * MAINTAINERS: add Kay Yan (yankay) as a REVIEWER + * fix bash completion of volume rm + * build(deps): bump github.com/cyphar/filepath-securejoin + * adjust writers fmt + * fix container_create_windows_test + * add missing zero-length list check + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/docker/docker + * build(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 + * build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 + * build(deps): bump golang.org/x/text from 0.12.0 to 0.13.0 + * build(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0 + * build(deps): bump actions/checkout from 3.6.0 to 4.0.0 + * fix nerdctl run -v when host folder does not exist for bind mounts + * build(deps): bump github.com/awslabs/soci-snapshotter + * Makefile: install docs + * Makefile: fix overriding GO command + * Makefile: add GO_BUILD_FLAGS variable + * Makefile: derive BINDIR from PREFIX + * fix: grammatical errors + * fix: succeeded typo + * build(deps): bump github.com/containerd/containerd from 1.7.3 to 1.7.5 + * build(deps): bump actions/checkout from 3.5.3 to 3.6.0 + * Support copying out of volumes in stopped containers + * Fix typo + * pkg/version: fulfill fields from `debug/buildinfo` + * Fix usage of `errors.Join` + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/containerd/imgcrypt from 1.1.7 to 1.1.8 + * build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 + * support test integration docker 23 compatibility + * support volume create anonymous + * update runc (1.1.9) + * Remove dependency on github.com/hashicorp/go-multierror + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/tidwall/gjson from 1.15.0 to 1.16.0 + * Update to Go 1.21 in CI + * build(deps): bump github.com/fahedouch/go-logrotate from 0.1.3 to 0.2.0 + * FreeBSD: Linux Container Support and BuildKit Integration + * build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 + * CI: Windows: enable Hyper-V containers + * fix attach help is messed up + * build(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 + * CI: move Windows tests to GHA + * CI: move FreeBSD tests to GHA + * test-integration-docker-compatibility: install Docker 20.10 + * build(deps): bump github.com/coreos/go-iptables from 0.6.0 to 0.7.0 + * .cirrus.yml: fix FreeBSD CI failure + * build(deps): bump golang.org/x/net from 0.12.0 to 0.13.0 + * feat: add 'nerdctl container attach' + * Bump containerd to 1.7.3 + * Remove special case for Windows when mounting view + * Add lease to prevent containerd GC + +------------------------------------------------------------------- +Tue Aug 08 12:58:24 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.5.0: + * fix: registry missing layer when concurrently push image + * update build dependencies + * feat: add `stats` command to `container` + * registry documentation update + * feat: adding support for lazy-pulling with soci in pull and run command + * Add network flag to nerdctl build + * Re-enable revive rules + * Add functionality to copy files into and out of stopped containers. + * Fix subnet overlapping + * fix compose lacking support for replicas = 0 + * Fix minor typo in volume flags docs + * Fix flaky windows test + * Add metadata to volume create return + * Remove warning msg when inspect containers without task + * feat: add --volumes-from support in run command + * Fix the rule of port allocate when executing -p multiple times for one command + * Optimize for itoa operations + * fix the restart policy in kill + * refactor: container stats command + * fix update restart policy + * fix restart policy behaviour inconsistent + * Prevent timing flakyness for `--since/--until` in TestLogs. + * docs: fixed typo in command ref for nerdctl logs follow + * feat: support '--detach-keys' for 'nerdctl (run|start)' + * User docker compose v2 for docker-comppatible test + * Adding ability to inject secrets into compose build command + * Add `shm_size` service option support in Compose files + * Ignore dependencies for compose build and logs + * Sort OCI mounts for Docker compliance in nested mount scenario + +------------------------------------------------------------------- +Mon May 22 06:05:24 UTC 2023 - danish.prakash@suse.com + +- Update to version 1.4.0: + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/containerd/continuity from 0.4.0 to 0.4.1 + * build(deps): bump github.com/docker/docker + * nerdctl system prune: skip pruning build cache if buildkit is not running + * Silence `WARN[0000] failed to get unpacked size of image` + * build(deps): bump github.com/containerd/continuity from 0.3.0 to 0.4.0 + * build(deps): bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2 + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 + * go.mod: containerd/cgroups/v3 v3.0.1, docker/docker v24.0.0 + * nerdctl images: Remove TODOs about VirtualSize + * build(deps): bump github.com/containerd/accelerated-container-image + * CI: update containerd (1.7.1) + * update runc (1.1.7) + * update fuse-overlayfs (1.12) + * update containerd-fuse-overlayfs (1.0.6) + * update gotestsum (1.10.0) + * update Kubo (0.20.0) + * update Nydus (2.2.1) + * update BuildKit (0.11.6) + * update CNI plugins (1.3.0) + * update containerd (1.7.1) + * build(deps): bump github.com/containerd/accelerated-container-image + * Allow printing of container logs that are not running. + * build(deps): bump github.com/containerd/containerd from 1.7.0 to 1.7.1 + * build(deps): bump github.com/containernetworking/plugins + * build(deps): bump github.com/containerd/typeurl/v2 from 2.1.0 to 2.1.1 + * build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 + * go.mod: github.com/opencontainers/image-spec v1.1.0-rc3 + * build(deps): bump github.com/docker/cli + * build(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 + * build(deps): bump github.com/docker/docker + * Update Windows tests to use the check HyperV helper + * build(deps): bump github.com/Microsoft/hcsshim + * Add Windows tests for the container commands + * build(deps): bump golang.org/x/term from 0.7.0 to 0.8.0 + * build(deps): bump golang.org/x/sync from 0.1.0 to 0.2.0 + * [Refactor] Refactor the run command in createContainer. + * Fix: incorrect json format output with `stat` command + * testutil: Add Hyper-V support check + * Add Cosign keyless mode required args for nerdctl compose + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/docker/docker + * vendor: bump nydus-snapshotter v0.8.0 + * convert: enable oci option for nydus conversion type by default + * Add Cosign keyless mode required args for nerdctl pull and run + * build(deps): bump github.com/containerd/accelerated-container-image + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/klauspost/compress from 1.16.4 to 1.16.5 + * build(deps): bump docker/metadata-action from 4.3.0 to 4.4.0 + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/opencontainers/runtime-spec + * build(deps): bump github.com/docker/docker + * fix nerdctl exec init console size 0 0 problem + * add tests + * build(deps): bump github.com/Microsoft/go-winio from 0.6.0 to 0.6.1 + * add image information to compose ps + * add json format to compose images + +------------------------------------------------------------------- +Thu Apr 20 13:01:57 UTC 2023 - danish.prakash@suse.com + +- Update to version 1.3.1: + * update kubo (0.19.1) + * update nydus (2.2.0) + * go.mod: fix format + * test: add test for piping of `nerdctl run` with `-t` + * build(deps): bump actions/checkout from 3.5.1 to 3.5.2 + * cmd/image/list: Fix typo breaking --no-trunc + * Resolve Go cache warnings in CI workflows + * Use pushRef instead of ref to build signPef + * Add destination ports from iptables to used ports while allocating host ports + * build(deps): bump actions/checkout from 3.5.0 to 3.5.1 + * build(deps): bump github.com/containerd/accelerated-container-image + * run: make tty output behaviour compatible to docker and `nerdctl exec` + * build(deps): bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1 + * build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 + * build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 + * build(deps): bump golang.org/x/text from 0.8.0 to 0.9.0 + * build(deps): bump github.com/klauspost/compress from 1.16.3 to 1.16.4 + * compose: implement Bind.CreateHostPath + +------------------------------------------------------------------- +Wed Apr 05 13:27:20 UTC 2023 - danish.prakash@suse.com + +- Update to version 1.3.0: + * bump: buildkit to v0.11.3, fuse-overlayfs to v1.10, kubo to v0.18.1 + * build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 + * build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 + * build(deps): bump github.com/ipfs/go-cid from 0.4.0 to 0.4.1 + * pkg/mountutil: improve error messages + * use digest instead of a tag while signing + * Add manugupt1's GPG key + * build(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/compose-spec/compose-go + * Support quiet in push cmd + * Refactor image sign and verify logic + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump actions/checkout from 3.4.0 to 3.5.0 + * Fix nerdctl help show the hidden commands + * set container state error + * build(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 + * rootlessutil: always claim non-rootless on non-Linux. + * Refactor run command networking options for Windows support. + * Fix the top command on Windows + * Add support for showing image size on inspect + * build(deps): bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 + * Completely skip syslog-related tests on Windows. + * test: rootless: main: use v2 config + * Upgrade cosign to 2.0.0 in tests + * Add unit test for exposing devices to Windows containers + * Add MAINTAINERS_GUIDE.md + * build(deps): bump actions/checkout from 3.3.0 to 3.4.0 + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump actions/setup-go from 3 to 4 + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/klauspost/compress from 1.16.0 to 1.16.3 + * build(deps): bump github.com/fatih/color from 1.14.1 to 1.15.0 + * update containerd (1.7.0) + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/containerd/containerd + * build(deps): bump github.com/containerd/containerd + * Drop dependency on ctr/commands + * Drop dependency on ctr/commands/content + * Drop dependency on ctr/commands/tasks + * remote snapshotters: migrate to containerd-based label management + * build(deps): bump github.com/containerd/containerd + * Port Windows device support from containerd + * build(deps): bump golang.org/x/crypto from 0.6.0 to 0.7.0 + * Add notation signing and verification + * build(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 + * handle container deps removal with postsop hooks + * build(deps): bump github.com/containerd/containerd + * Update naming of filter containers function && `container list` handler + * build(deps): bump github.com/compose-spec/compose-go + * build(deps): bump github.com/containerd/nydus-snapshotter + * Fix `operation not permitted` with systemd-homed + * build(deps): bump github.com/containerd/go-cni + * build(deps): bump github.com/containerd/nydus-snapshotter + * feat: resolve special ip host-gateway + * cmd/compose: add support for profiles + * refactor(container-list): separate main logic out of printing logic + +------------------------------------------------------------------- +Tue Feb 28 05:39:54 UTC 2023 - danish.prakash@suse.com + +- Update to version 1.2.1: + * update containerd (1.6.19) + * update Kubo (0.18.1) + * update Nydus (2.1.4) + * update BuildKit (0.11.3) + * build(deps): bump github.com/klauspost/compress from 1.15.15 to 1.16.0 + * build(deps): bump github.com/containerd/containerd + +- Add _service file + +------------------------------------------------------------------- +Sat Dec 17 13:38:00 UTC 2022 - contact@marknefedov.dev +- Update to version 1.1.0: + * nerdctl compose: + * New commands: nerdctl compose (stop|restart|rm|images|exec|pause|unpause|top|port) + * New flags: nerdctl compose ps --format=json + * New YAML properties: x-nerdctl-{verify,cosign-public-key,sign,cosign-private-key} + * nerdctl image convert: + * New estargz flags: --estargz-min-chunk-size=, --estargz-external-toc, --estargz-keep-diff-id + * New zstd flags: --zstdchunked-record-in, --zstdchunked-compression-level, --zstdchunked-chunk-size + * Support OverlayBD (--overlaybd, --overlaybd-fs-type, --overlaybd-dbstr + * nerdctl network rm: + * Support removing a network by ID + * nerdctl-full: + * Update containerd (1.6.12), fuse-overlayfs (1.10), RootlessKit (1.1.0), Kubo (0.17.0), Stargz Snapshotter (0.13.0), BuildKit (0.10.6) + +------------------------------------------------------------------- +Sat Nov 12 20:24:02 UTC 2022 - contact@marknefedov.dev +- Update to version 1.0.0: + * nerdctl run + * Add --log-driver=syslog + * Add --log-opt=log-path= option for json-file logging drivers + * Add --mac-address flag + * Support --pid=container: + * nerdctl build: + * Support --build-arg args without explicit value + * Support --output=DIR as an alias of --output type=local,dest= + * nerdctl compose: + * Add nerdctl compose version command + * nerdctl-full: + * Update imgcrypt (1.1.7), BuildKit (0.10.5), stargz-snapshotter (0.12.1), Kubo (0.16.0) + +------------------------------------------------------------------- +Fri Apr 22 12:25:02 UTC 2022 - rpm@fthiessen.de + +- Update to version 0.19.0: + * Add nerdctl cp command + * nerdctl run: + * seccomp: relax restrictions depending on --cap-add + * Add --init flag for enabling tini + * nerdctl build: Fix content digest ... not found for + multi-platform images + * nerdctl push: Add --ipfs-address flag to push to a + remote IPFS node + * nerdctl inspect: Add --type=(container|image) flag + * nerdctl container inspect: Add Mounts field for Docker + compatibility + * nerdctl image inspect: Fix the format of Created field + for Docker compatibility + * nerdctl volume rm: Refuse removing volumes in use +- Update to version 0.18.0: + * nerdctl build: Support using containerd worker, for efficiency + and for supporting local base images + * nerdctl network create: Switch away from CNI isolation plugin + to firewall plugin (>= 1.1.0), with ingressPolicy + * nerdctl run: + * Support automatic host port assignment for nerdctl run -p + * Add --ip option + * nerdctl namespace: Add nerdctl namespace (create|inspect|remove|update) commands + * nerdctl push: Add --allow-nondistributable-artifacts option + * Update to use Go 1.18 +- Update to version 0.17.1: + * nerdctl network create: + * Add --driver=(macvlan|ipvlan) + * Add --ipam-driver=dhcp +- Update to version 0.17.0: + * Rootless containers can be now executed without slirp4netns overhead. + * nerdctl run: + * Support bypass4netns to bypass slirp4netns overhead: + nerdctl run --label nerdctl/bypass4netns=true + * Add nerdctl run --mount + * nerdctl images: Show blob sizes + * nerdctl history: Add nerdctl history command + * Compose: Support multi compose files + * Kata: Support CNI networking for Kata +- Update to version 0.16.0: + * Support nerdctl.toml for global configuration + * nerdctl pull, nerdctl push, nerdctl login: + Support /etc/containerd/certs.d//hosts.toml + (~/.config/containerd/certs.d//hosts.toml) for configuring certs + * nerdctl run: + * Add --verify=cosign and --cosign-key=KEY flags for cosign integration + * Automatically generate a container name from the image name + * Add --cpuset-mems, --cpu-quota, and --cpu-period options + * Add --rdt-class option for Intel RDT classes + * nerdctl commit: + * Add --pause=false option + * Support overriding ENTRYPOINT with --change option + * nerdctl ipfs registry: Add --read-retry-num and --read-timeout options + * nerdctl build: + * Add --label option + * Add a dummy --rm option + * nerdctl create: Add nerdctl create command + * nerdctl network rm: Remove bridge network interface + * nerdctl compose: + * Support specifying service name for nerdctl compose pull/push + * Support labels in nerdctl compose up --build + * Support specifying subnets + * Add --services, --volumes, and --hash options for nerdctl compose config + * Add nerdctl compose kill command +- Update to version 0.15.0: + * nerdctl pull: + * Support verifying Cosign signatures: nerdctl pull --verify=cosign + * Support OverlayBD + * Add --quiet option (#599, thanks to @Junnplus) + * nerdctl push: Support signing Cosign signatures: nerdctl push --sign=cosign + * nerdctl build: Add --iidfile option + * nerdctl commit: Add --change 'CMD ["foo", "bar"]' option + * nerdctl load: Support loading gzipped archive + * nerdctl image convert: Add --zstdchunked option + * nerdctl exec: Add --user option + * nerdctl ps: Add --latest and --last options + * nerdctl stats: Support showing network I/O stats on cgroup v2 hosts + * nerdctl compose: + * Add nerdctl compose up --scale option + * Add nerdctl compose config command + * Support ulimits + * Support interpolating host env vars + +------------------------------------------------------------------- +Tue Nov 23 10:53:55 UTC 2021 - Richard Brown + +- Initial Packaging diff --git a/nerdctl.spec b/nerdctl.spec new file mode 100644 index 0000000..02dbc4d --- /dev/null +++ b/nerdctl.spec @@ -0,0 +1,66 @@ +# +# spec file for package nerdctl +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global provider github +%global provider_tld com +%global project containerd +%global repo nerdctl +%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} +%global import_path %{provider_prefix} + +Name: nerdctl +Version: 1.7.6 +Release: 0 +Summary: Docker-compatible CLI for containerd +License: Apache-2.0 +URL: https://github.com/containerd/nerdctl +Source: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +BuildRequires: golang(API) >= 1.21 +Requires: buildkit +Requires: cni-plugins +Requires: containerd +Requires: iptables +Requires: rootlesskit >= 1.0.0 +Requires: slirp4netns >= 0.4.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +nerdctl is a Docker-compatible CLI for containerd. + +%prep +%setup -qa1 + +%build +CGO_ENABLED=0 +go build -mod=vendor -buildmode=pie -o _output/nerdctl %{provider_prefix}/cmd/nerdctl + +%install +mkdir -p %{buildroot}%{_bindir}/ +install -m 0755 _output/nerdctl %{buildroot}%{_bindir}/nerdctl +install -m 0755 extras/rootless/containerd-rootless-setuptool.sh %{buildroot}%{_bindir}/containerd-rootless-setuptool.sh +install -m 0755 extras/rootless/containerd-rootless.sh %{buildroot}%{_bindir}/containerd-rootless.sh + +%files +%license LICENSE +%doc docs/*.md +%{_bindir}/nerdctl +%{_bindir}/containerd-rootless-setuptool.sh +%{_bindir}/containerd-rootless.sh + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..5485397 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:860ae45c3c7aec50dc40c53135b098a191a3b47ac265e9539ff491b8d452bcf5 +size 3777504