From d79544de7643ac194b47777cecf54e7630f874db97dc3d77499ffe6fb2eb439c Mon Sep 17 00:00:00 2001 From: Mark Nefedov Date: Sun, 10 Nov 2024 17:54:26 +0000 Subject: [PATCH] Update to version 2.0.0 OBS-URL: https://build.opensuse.org/package/show/devel:microos/nerdctl?expand=0&rev=30 --- .gitattributes | 23 + .gitignore | 1 + _service | 19 + _servicedata | 4 + nerdctl-1.7.5.tar.xz | 3 + nerdctl-1.7.6.tar.xz | 3 + nerdctl-1.7.7.tar.xz | 3 + nerdctl-2.0.0.tar.xz | 3 + nerdctl.changes | 1287 ++++++++++++++++++++++++++++++++++++++++++ nerdctl.spec | 66 +++ vendor.tar.xz | 3 + 11 files changed, 1415 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-1.7.7.tar.xz create mode 100644 nerdctl-2.0.0.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..c65e1c6 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + https://github.com/containerd/nerdctl.git + git + v2.0.0 + @PARENT_TAG@ + enable + v(.*) + + + + + *.tar + xz + + + xz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..d196933 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/containerd/nerdctl.git + ef588dafa080e3dbc9c061ff3802affb66aef291 \ 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-1.7.7.tar.xz b/nerdctl-1.7.7.tar.xz new file mode 100644 index 0000000..33210b3 --- /dev/null +++ b/nerdctl-1.7.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdf3df3f480b84ff0e10cc0bf8e4577b857d8b5b1c2720ef0b44a9f42c8b33b2 +size 383716 diff --git a/nerdctl-2.0.0.tar.xz b/nerdctl-2.0.0.tar.xz new file mode 100644 index 0000000..6a4a938 --- /dev/null +++ b/nerdctl-2.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e38ece0d6e99994bd032bd57a8e0a6cb99144bd9d1db0beaa5789645cc65401a +size 1146928 diff --git a/nerdctl.changes b/nerdctl.changes new file mode 100644 index 0000000..b747c1c --- /dev/null +++ b/nerdctl.changes @@ -0,0 +1,1287 @@ +------------------------------------------------------------------- +Thu Nov 07 05:32:02 UTC 2024 - madhankumar.chellamuthu@suse.com + +- Update to version 2.0.0: + * update SOCI snapshotter (0.8.0) + * update containerd-fuse-overlayfs (2.0.0) + * update BuildKit (0.17.0) + * update runc (1.2.1) + * update containerd (2.0.0) + * build(deps): bump github.com/containerd/containerd/v2 + * build(deps): bump github.com/containerd/typeurl/v2 from 2.2.1 to 2.2.2 + * build(deps): bump github.com/containerd/containerd/api + * build(deps): bump actions/checkout from 4.2.1 to 4.2.2 + * build(deps): bump github.com/containerd/errdefs from 0.3.0 to 1.0.0 + * add 'none' logger + * fix: not to be deleted a container created with --rm when detaching + * fix: Allow to untag images associated with running or paused containers by nerdctl rmi -f + * Enable network_inspect tests to run on windows + * Annotate non-windows compatible image tests + * Enable issues tests to run on Windows + * Enable image_remove tests to run on windows + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump github.com/containerd/typeurl/v2 from 2.2.0 to 2.2.1 + * Enable GHA cache for image build dependencies + * Fix prior test-porting not aligned with description + * Move from AlpineImage to CommonImage to enable windows tests + * Add Infinity constant to enable windows testing compat + * Remove leftover workaround for fixed bug + * Reduce calls to data.Identifier() + * Rewrite container_stats tests + * build(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 + * Fix convert unable to find image + * Rewrite container_top tests + * Remove fixed-bug workaround + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.8 to 0.12.9 + * Container create tests cleanup + * Update busybox image (support sleep inf) + * Fix test leaking tagged Alpine image + * Rewrite container prune test + * Rewrite container remove test + * Rewrite container diff test + * Align gitignore and dockerignore + * Rewrite container_wait tests + * go.mod: github.com/containerd/imgcrypt/v2 v2.0.0-rc.1 + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump github.com/containerd/continuity from 0.4.3 to 0.4.4 + * build(deps): bump github.com/compose-spec/compose-go/v2 + * add white image + * update Kubo (0.31.0) + * update Nydus (2.3.0) + * update CNI plugins (1.6.0) + * update containerd (2.0.0-rc.6) + * build(deps): bump github.com/containerd/containerd/v2 + * build(deps): bump actions/checkout from 4.2.1 to 4.2.2 + * Add new requirements (HyperV, CgroupsAccessible) + * build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 + * update runc (1.2.0) + * Add container run from oci-archive + * Ensure rm uses -f when cleaning + * Remove no-op description from top-level tests + * Remove old build tag syntax + * Refactor load from archive functionality + * Move image load func to imgutil package + * CI: enable no-retry/retry testing separation and workflows cleanup + * fix: Allow to delete images when names of images are short digest ids of another images. + * Add legacy tests into the 'retry' bucket + * Fix ensurecontainerstarted logic and better debug + * Separate lint + enable on other platforms + * Enhance debugability for kubernetes rig + * Workaround and document weird docker issue + * Registry testing tooling cleanup + * Kuberneters testing tooling cleanup + * Rewrite commit tests + * Fix and enable CI unit testing for windows + * Rewrite build tests + * build(deps): bump go.uber.org/mock from 0.4.0 to 0.5.0 + * Chores: spurious comments and syntax simplification + * Fix semantic of Fail to not care about exit code + * (Un-)marking flaky tests + * Fix duplicated test title + * Change compose lock to use DataStore() + * [fix] fix image filter with nonexist image + * Enable image completion on all platforms + * Remove unbuffer from test + * Add pseudo tty support for tests + * Skip TestAttach until we fix it + * build(deps): bump github.com/containerd/accelerated-container-image + * Add delay to tentatively fix flakyness with Docker + * "ns:" network mode to use existing network namespace + * Fix over-eager windows path restrictions + * Add image load quiet mode + * Quiet ancillary image pulls + * Minor debugging / cleanup chores + * RootFul/RootLess > Rootful/Rootless + * Lint fixes + * Global compose lock + * Consistently enforce rmi -f in tests cleanup + * Cleanup code to use simplified referenceutil package + * Cleanup referenceutil + * Skip TestRunWithTtyAndDetached on Windows + * fix: nerdctl stats on a container without a memory limit returns host memory limit + * Update containerd (1.7.23) in CI + * removing ipfs binary from nerdctl-full + * Add container run --security-opt systempaths=unconfined + * Alleviate image --filter missing digest issue + * Fix CNI concurrency issue + * build(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11 + * Migration aftermath + * Migrate image tests + * Migrate IPFS tests + * ./cmd/nerdctl/. + issues + completion touchups + * ./cmd/nerdctl/network touchups + * ./cmd/nerdctl/system touchups + * ./cmd/nerdctl/volume touchups + * Test tooling iteration + * Enforce global lock in oci hooks + * build(deps): bump github.com/cyphar/filepath-securejoin + * build(deps): bump github.com/compose-spec/compose-go/v2 + * Update runc (1.1.15) + * build(deps): bump actions/checkout from 4.2.0 to 4.2.1 + * Remove images from Docker Hub from tests, fix #3498 + * Tests for net inspect + * Fix netwalker issues + * switch cosign registry from GCR to GHCR + * build(deps): bump the golang-x group with 5 updates + * Update BuildKit (0.16.0) + * Update to containerd 1.7.22, 1.6.36 in CI + * build(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 + * Fix tests broken by tooling update + * Fix parallelism for docker + * Increase delay of delayOnceReader to reduce flakyness of TestAttach + * Test tooling fixes + * Make CreateNetwork safer wrt concurrency + * Fix IPFS missing layer issue + * 3452: Filter Volumes by name if any of the names match + * Update to containerd 2 rc.5 + * Fix Docker Hub push regression + * Fix login persistence regression against Hub + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.6 to 0.12.7 + * Fix broken TestImageInspectDifferentValidReferencesForTheSameImage + * build(deps): bump github.com/containerd/containerd/v2 + * build(deps): bump github.com/cyphar/filepath-securejoin + * build(deps): bump docker/build-push-action from 6.8.0 to 6.9.0 + * fix: Cleaning up orphaned directories and files when containers creation fails + * [fix] filter images panic + * build(deps): bump docker/build-push-action from 6.7.0 to 6.8.0 + * build(deps): bump actions/checkout from 4.1.7 to 4.2.0 + * Migrate completion tests to new tooling + * Migrate network tests to new tooling + * Migrate system tests to new tooling + * Fix tests and add regression tests for #3425 + * EnsureAllContent on tag + * EnsureAllContent on save + * EnsureAllContent on convert + * EnsureAllContent on commit + * Add fetch and EnsureAllContent methods + * Fix regression from #3446 + * build(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.10 + * build(deps): bump github.com/go-viper/mapstructure/v2 + * remove is shareable test + * Testtool initial documentation + * Move root and volume tests to new test tooling + * Adding NG test tooling + * increase golangci-lint timeout to 10min + * Prevent concurrency on commit and remove + * build(deps): bump github.com/go-viper/mapstructure/v2 + * build(deps): bump the docker group with 2 updates + * Fix panic 'provided file is not a console' + * build(deps): bump the docker group with 2 updates + * Fix test to workaround docker credstore symlink fault + * build(deps): bump github.com/cyphar/filepath-securejoin + * build(deps): bump github.com/containerd/accelerated-container-image + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump the docker group with 2 updates + * Fix Windows path check in 'LogURIGenerator' + * build(deps): bump the golang-x group with 2 updates + * build(deps): bump the golang-x group with 3 updates + * Hostsstore resolution cleanup + * Dockerfile: runc: set CC and STRIP explicitly + * Adding document about pkg/store + * Move testing.md to docs/dev + * Fix TestRunApparmor: relax stdout matching to not fail when testing rootless + * Fix TestLoadStdinFromPipe: do not leak test images breaking tests using prune + * Enforce linting for freebsd and windows + * Fix freebsd lint + * Fix windows linter complaints + * Refactor: cleanup prompting + * Refactor filestores using store.Store + * Remove mock for mountutil tests + * Add generic filestore + * Auth code refactor: credstore and registry URL + * chore: update runc to v1.1.14 + * Minor cleanup, post-refactoring of cmd + * Move cmd/system to subpackage + * Moving cmd compose and inspect to subpackages + * Move cmd/container to subpackage + * Move cmd/internal to subpackage + * cmd/AppArmor moved to subpackage + * Move cmd/image & cmd/builder to subpackages + * Move ipfs to subpackage + * Move a bunch of helpers + * Move login/logout to subpackage + * Move namespace code to subpackage + * Move network to cmd/nerdctl/network + * Move IsExactArgs and FindIPv6 to helpers + * Rename completion.ShellCompleteX methods to completion.X + * Move volume actions under subpackage + * Move UnknownSubcommandAction to helpers + * Move constants Categroy/Management to helpers + * Move completion to sub package + * Move away flagutil under helpers + * Add Confirm helper + * Fix TestDiff failure with docker + * Add a locking mechanism to prevent concurrent subpackage testing + * Adapt testing so that subpackages are not parallelized + * Do not load build output if dest is specified + * Fix nsenter working dir for child + * Move testing to container v2 rc4 + * build(deps): bump github.com/containerd/containerd/v2 + * Disable flaky #827 test + * build(deps): bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0 + * build(deps): bump github.com/coreos/go-iptables from 0.7.0 to 0.8.0 + * build(deps): bump the docker group with 2 updates + * Prevent presumably bogus reentrancy onPostStop when onCreateRuntime errored + * Namestore hardening, workaround #3351 + * Hardening lifecycle state store + * Changing bufio.Scanner to bufio.Reader to support large message + * Add lint-imports to the default lint task + * Allow Canary to fail the build + * Add reg. test for 'stop created' + * Release any existing ip lease onCreateRuntime (workaround #3355) + * Allow containers to re-acquire their own name (fix #3354) + * build(deps): bump github.com/containerd/accelerated-container-image + * build(deps): bump github.com/vishvananda/netlink from 1.2.1 to 1.3.0 + * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 + * build(deps): bump github.com/containerd/containerd/api + * stop: do not error on created containers (fix #3353) + * Rollback rename in case of error + * Ignore + * Fix docker hub lag on golang versions breaking canary + * build(deps): bump github.com/vishvananda/netlink + * Remove Docker incompat from image prune and build tests + * Fix image prune filter until test rmi cleanup not running. + * chore: fix some function names + * Add regression tests for network host + * Fix --add-host not working with network host + * Rename variable for readability + * Use host hostname with network host + * Fix rename failure with network host/none + * Fix panic on malformed add-host argument + * K8s minor cleanup (rename and -f on delete) + * Implement windows filename restrictions + * fix: filter container state without option "-a" + * ParentMain/nsenter: do not fail if getwd errors + * Add builder OCI layout build context + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.5 to 0.12.6 + * build(deps): bump tonistiigi/xx from 1.4.0 to 1.5.0 + * Fix import order + * Workaround goimports-reviser bug + * update RootlessKit (2.3.1) + * build(deps): bump github.com/rootless-containers/rootlesskit/v2 + * update soci-snapshotter (0.7.0) + * update BuildKit (0.15.2) + * update kind (0.24.0) + * update Go (1.23) + * update Debian (12) + * update golangci-lint (1.60.1) + * Fix govet: printf: non-constant format string + * Fix S1009 (see https://staticcheck.dev/docs/checks#S1009) + * Fix SA4032 (see https://staticcheck.dev/docs/checks#SA4032) + * Add lint job for canary and minor shell script cleanup + * Add image prune --filter support + * Refactor imgutil filtering + * Include init NetworkSettings within inspect response + * Kube on the CI + * support ci arm64 + * fix: relax identifier limits + * Add builder prune --all and --force flag support + * Ensure binfmt does install emulation for arm7 on the CI + * build(deps): bump docker/build-push-action from 6.6.1 to 6.7.0 + * build(deps): bump the docker group with 2 updates + * fix set go env in windows + * build(deps): bump github.com/go-viper/mapstructure/v2 + * Fix panics involving -ti when not on a tty + * Go imports tooling + * Import ordering consistency + * Move projectloader to testutil + * use slice.Contains + * Get rid of naked returns + * archived mitchellh/mapstructure -> go-viper/mapstructure + * Use http.ErrSchemeMismatch + * feat(compose): add mac-address parsing + * gofumpt lint + * enforce registry default host for login + * Uniformize import style + * Fix docker/errdefs -> containerd/errdefs + * Fix godoc to align with style + * build(deps): bump github.com/containerd/accelerated-container-image + * migrate to github.com/moby/sys/userns + * Make windows filelocking exclusive + * Containerd v2 + * build(deps): bump golang.org/x/sys in the golang-x group + * feat: adding filter infrastructure + status and event filter + * build(deps): bump docker/build-push-action from 6.5.0 to 6.6.1 + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump the golang-x group with 4 updates + * build(deps): bump the golang-x group with 2 updates + * build(deps): bump github.com/containerd/nydus-snapshotter + * add unpack commit images. + * Add SOCI handler wrapper + * feat: tail JSON log + * fix: output log after log rotation + * gracefully terminate containers on nerdctl compose down + * test: increase max-size && decrease log output + * Remove gjson dependency + * build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 + * fix: sort images&containers by created_at + * build(deps): bump github.com/cyphar/filepath-securejoin + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump the docker group with 2 updates + * feat: add Status and ID as event attributes + * build(deps): bump github.com/awslabs/soci-snapshotter + * build(deps): bump github.com/containerd/containerd + * containerd/containerd/errdefs -> containerd/errdefs + * build(deps): bump github.com/containernetworking/cni from 1.2.2 to 1.2.3 + * build(deps): bump the docker group with 2 updates + * build(deps): bump docker/login-action from 3.2.0 to 3.3.0 + * build(deps): bump docker/build-push-action from 6.4.1 to 6.5.0 + * build(deps): bump github.com/moby/sys/mount in the moby-sys group + * Reuse Makefile for CI commands + * build(deps): bump github.com/compose-spec/compose-go/v2 + * build(deps): bump github.com/rootless-containers/rootlesskit/v2 + * build(deps): bump docker/build-push-action from 6.4.0 to 6.4.1 + * Add `shellcheck` lint to CI + * build(deps): bump github.com/moby/sys/signal in the moby-sys group + * feat: support for -a and --attach in run + * Account for availability delay of golang docker image + * Fix shellscript issues + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.4 to 0.12.5 + * build(deps): bump docker/build-push-action from 6.3.0 to 6.4.0 + * Move image pull args into ImagePullTypes + * Enhance Makefile + * Remove no longer useful DOCKER_BUILDKIT=1 + * fix: add login component username validation + * pkg/portutil: add ipv6 host ip test + * pkg/portutil: use net.SplitHostPort to parse ip address with port + * Update go.mod + * Normalize curl invocations + * Adding a canary CI target to test against upcoming / unreleased versions + * Silence apt-get and uniformize calls format + * Update FUSE and buildkit in dockerfile + * build(deps): bump github.com/cyphar/filepath-securejoin + * build(deps): bump github.com/containerd/typeurl/v2 from 2.1.1 to 2.2.0 + * Test fixes + * CI: shrink test matrix + * Workaround delayed log file creation + * Fix test: wait for systemd to come up + * Move to 24.04 for docker integration testing + * Fix nerdctl info missing on Windows + * fix the created tasks cannot be deleted + * rootless: add `Requires=dbus.socket` + * Fix IPFS test flakyness + * Ensure we dont fail if containers disappear (#3167) + * Do not hard error if containers are gone + * build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 + * build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 + * Improve tests debugging output + * Volume QA: inspect, prune, create and other volume fixes + * test-integration-rootless: enable BuildKit for RootlessKit v2 + * Dependabot: add groups + * nerdctl run -v: dismiss warning "expected an absolute path, got a relative path" + * Workaround flaky save + * Re-enable project checks for .md only changes + * Separate and expand information for newcomers on testing + * Make systemctl happy by not passing an explicit signal for kill + * build(deps): bump golang.org/x/term from 0.21.0 to 0.22.0 + * Add logo + * Cleanup login command (remove global var and normalize to other commands + * build(deps): bump docker/build-push-action from 6.2.0 to 6.3.0 + * Fix wrong assumption about container availability + * update containerd (1.7.19) + * Rewrite container remove + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/docker/cli + * fix missing name container stats + * build(deps): bump docker/build-push-action from 6.1.0 to 6.2.0 + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/containerd/go-cni from 1.1.9 to 1.1.10 + * CI: update Ubuntu (24.04) + * feat: support for --sig-proxy in run + * build(deps): bump github.com/containernetworking/cni from 1.2.1 to 1.2.2 + * pkg/defaults: add defaults_darwin.go + * Fix check for empty $HOME and $XDG_RUNTIME_DIR + * build(deps): bump docker/build-push-action from 6.0.2 to 6.1.0 + * build(deps): bump docker/build-push-action from 6.0.1 to 6.0.2 + * update soci-snapshotter (0.6.1) + * update Nydus (2.2.5) + * update gotestsum (1.12.0) + * update Kubo (0.29.0) + * CI: cross: do not use Go 1.21 for nerdctl-full deps + * update golangci-lint (1.59.1) + * update BuildKit (0.14.1) + * update CNI plugins (1.5.1) + * update containerd (2.0.0-rc.3) + * Volume QA: remove (fixes and tests) + * Dockerfile: use Go 1.22 for runc + * Bump compose-go to v2 + * Remove duplicate function + * Add HOSTNAME environment variable + * fix: close the hosts file + * Aftermath docker migration: fix racyness in tests + * Implement network namespacing + * build(deps): bump docker/build-push-action from 6.0.0 to 6.0.1 + * Replace SetEnv invocation by base.Env to unlock parallelization + * Add mechanism to prevent Cmd from executing multiple times + * MAINTAINERS: move Ye Sijun (junnplus) from a COMMITTER to a EMERITUS + * build(deps): bump github.com/containernetworking/cni from 1.2.0 to 1.2.1 + * build(deps): bump docker/build-push-action from 5.4.0 to 6.0.0 + * build(deps): bump github.com/containernetworking/plugins + * Disable build and publish on PR for purely md changes + * Add doc note about --ip and bridge + * Docker v26 compatibility & test fixes + * Add --pull option to build command + * update containerd (1.7.18), runc (1.1.13) + * MAINTAINERS: promote Kay Yan (yankay) from a REVIEWER to a COMMITTER + * Restore logger output + * build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 + * build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 + * build(deps): bump actions/checkout from 4.1.6 to 4.1.7 + * test-integration-docker-compatibility: install Docker v24 + * build(deps): bump github.com/containerd/platforms from 0.2.0 to 0.2.1 + * Safer / faster convert zstd + * Revamped testregistry and login tests + * build(deps): bump docker/build-push-action from 5.3.0 to 5.4.0 + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.3 to 0.12.4 + * Caching and list optimizations + * MAINTAINERS: move Hanchin Hsieh (yuchanns) from a REVIEWER to a EMERITUS + * MAINTAINERS: promote Jin Dong (djdongjin) from a REVIEWER to a COMMITTER + * fix container list with json format + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/containerd/containerd from 1.7.17 to 1.7.18 + * build(deps): bump github.com/docker/docker + * build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 + * build(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 + * update imgcrypt (1.1.11) + * Remove spurious debugging leftover + * Fix wrong package import + * CI: .md files changes should not trigger tests + * Disabling test on unsupported platforms + * Image inspect rework + * State how to run a single integration test + * Image history enhancements + * build(deps): bump docker/login-action from 3.1.0 to 3.2.0 + * build(deps): bump github.com/containerd/imgcrypt from 1.1.10 to 1.1.11 + * update slirp4netns (1.3.1) + * update containerd (1.7.17) + * update CNI plugins (1.5.0) + * go.mod: github.com/containernetworking/plugins v1.5.0 + * build(deps): bump github.com/awslabs/soci-snapshotter + * Do not obtain task info when it is not necessary in commit command + * add retry on test + * support image label + * chore: remove impossible error check + * Implement container inspect --size, SizeRootFs and SizeRw + * Implementing StartedAt for containers + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/docker/cli + * build(deps): bump actions/checkout from 4.1.5 to 4.1.6 + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/containerd/containerd from 1.7.16 to 1.7.17 + * Support DHCP IPAM opts and set the hostname + * Fix cni plugins sha after spurious 1.4.1 re-release + * build(deps): bump actions/checkout from 4.1.4 to 4.1.5 + * build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 + * Re-acquire name in onStartContainer (see #2992) + * Add missing alias for container rm/remove + * build(deps): bump github.com/docker/cli + * Allow directories for --device and in-container path + * Fix some /etc/ file permissions (see #2684) + * build(deps): bump github.com/containerd/platforms from 0.1.1 to 0.2.0 + * build(deps): bump github.com/docker/docker + * Fix markdown link + * build(deps): bump golangci/golangci-lint-action from 5.1.0 to 6.0.1 + * build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 + * inspect: show mounts info from CRI/ctr containers + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 + * build(deps): bump github.com/cyphar/filepath-securejoin + * CI: use Go 1.22 + * build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.1.0 + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/rootless-containers/rootlesskit/v2 + * fix: set mountpoint RW and Propagation in internal mount label + * skip Kubo 0.28.0 + * update RootlessKit (2.1.0) + * update slirp4netns (1.3.0) + * update BuildKit (0.13.2) + * update containerd (1.7.16) + * build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 + * build(deps): bump github.com/containerd/containerd from 1.7.15 to 1.7.16 + * fix: error check in the ensureFile func + * build(deps): bump actions/checkout from 4.1.3 to 4.1.4 + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.2 to 0.12.3 + * build(deps): bump actions/checkout from 4.1.2 to 4.1.3 + * build(deps): bump github.com/Microsoft/go-winio from 0.6.1 to 0.6.2 + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/containernetworking/cni from 1.1.2 to 1.2.0 + * build(deps): bump github.com/awslabs/soci-snapshotter + * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 + * build(deps): bump github.com/fahedouch/go-logrotate from 0.2.0 to 0.2.1 + * build(deps): bump github.com/docker/cli + * build(deps): bump github.com/docker/docker + * build(deps): bump github.com/containerd/accelerated-container-image + * fix follow tail of rotate log + * fix: cleanup volume dir if create volume failed + * build(deps): bump github.com/klauspost/compress from 1.17.7 to 1.17.8 + * build(deps): bump github.com/rootless-containers/bypass4netns + * Rationalise build constraints for Go 1.19 onwards + * Implement autodetection of Windows buildkitd socket + * Enable building on Windows hosts + * Remove unused defaults.BuildKitHost + * bypass4netns: allow ignoring bind + * update bypass4netns (0.4.1) + * build(deps): bump github.com/containerd/accelerated-container-image + * update containerd (1.7.15) + * build(deps): bump github.com/containerd/containerd from 1.7.14 to 1.7.15 + * build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 + * build(deps): bump golang.org/x/net from 0.23.0 to 0.24.0 + * build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 + * build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 + * annotations: add `nerdctl/bypass4netns-ignore-subnets` (`[]string`) + * Implement `nerdctl run --annotation` (introduced in Docker v24) + * update BuildKit (0.13.1) + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.1 to 0.12.2 + * build(deps): bump github.com/docker/docker + * CI: FreeBSD: use Go 1.22 + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/Microsoft/hcsshim from 0.12.0 to 0.12.1 + * deflake TestImageConvertEStargz + * not check return of rmi in pushImageToIPFS + * pkg/api/types: remove dependencies on nerdctl + * build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 + * update cosign image to latest release + * build(deps): bump docker/build-push-action from 5.2.0 to 5.3.0 + * update imgcrypt (1.1.10) + * build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 + * feat(compose_up): add --abort-on-container-exit flag + * build(deps): bump github.com/containerd/imgcrypt from 1.1.9 to 1.1.10 + * build(deps): bump github.com/containerd/accelerated-container-image + * build(deps): bump docker/login-action from 3.0.0 to 3.1.0 + * update Kubo (0.27.0) + * update RootlessKit (2.0.2) + * update CNI plugins (1.4.1) + * build(deps): bump github.com/containernetworking/plugins + * build(deps): bump actions/checkout from 4.1.1 to 4.1.2 + * refactor: replace os.MkdirTemp with t.TempDir with cleanup + * update containerd (1.7.14),(1.6.30) + * CI: update FreeBSD to 14 + * build(deps): bump github.com/containerd/containerd from 1.7.13 to 1.7.14 + * feat: add extra contexts to buildctl call #2835 + * update BuildKit (0.13.0) + * build(deps): bump docker/build-push-action from 5.1.0 to 5.2.0 + * feat: create network cleanup function for kill and stop cmd + * build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 + * build(deps): bump github.com/rootless-containers/rootlesskit/v2 + * build(deps): bump github.com/Microsoft/hcsshim from 0.11.4 to 0.12.0 + * chore: remove useless error check + * Enhance default platform comparision for image shareablity #2810 + * build(deps): bump golang.org/x/net from 0.21.0 to 0.22.0 + * build(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 + * Use json marshal/unmarshal to copy + * fix: typos + * build(deps): bump github.com/containerd/accelerated-container-image + * build(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0 + * fix: add onstartcontainer hook + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/klauspost/compress from 1.17.6 to 1.17.7 + * Rootlesskit Network Design + * update BuildKit (0.13.0-rc1) + * CI: test compilation with Go 1.22 + * build(deps): bump github.com/tidwall/gjson from 1.17.0 to 1.17.1 + * build(deps): bump github.com/opencontainers/image-spec + * platform: support loongarch64 + * doc: should use master tag for binfmt + * Remove the support for the old CNI isolation plugin + * rootless: fix `Not Authorized(uid): org.fedoraproject.FirewallD1.config` + * build(deps): bump github.com/opencontainers/runtime-spec + * Fix soci image push with multi-platforms flags + * build(deps): bump golangci/golangci-lint-action from 3.7.1 to 4.0.0 + * build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 + * build(deps): bump golangci/golangci-lint-action from 3.7.0 to 3.7.1 + * build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 + * build(deps): bump tonistiigi/xx from 1.3.0 to 1.4.0 + * update slirp4netns (1.2.3) + * build(deps): bump github.com/rootless-containers/rootlesskit/v2 + * update RootlessKit (2.0.1) + * build(deps): bump github.com/containerd/console from 1.0.3 to 1.0.4 + * build(deps): bump github.com/klauspost/compress from 1.17.5 to 1.17.6 + * `containerd-rootless-setuptool.sh uninstall` cleanup all relevant services + * support build attest + * Add support to run systemd in containers (with --systemd flag) + * Support --ipc=container: option + * build(deps): bump github.com/containerd/nydus-snapshotter + * update BuildKit (0.13.0-beta3) + * build(deps): bump docker/metadata-action from 5.5.0 to 5.5.1 + * build(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7.13 + * update Kubo (0.26.0) + * update bypass4netns (0.4.0) + * update runc (1.1.12) + * update containerd (1.7.13) + * [Carry 2535] rootless: support detach-netns mode + * update RootlessKit (2.0.0) + * update BuildKit (0.13.0-beta2) + * containerd-rootless-setuptool.sh: avoid creating buildkitd.toml + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/containerd/nydus-snapshotter + * build(deps): bump github.com/klauspost/compress from 1.17.4 to 1.17.5 + * containerd/containerd/platforms -> containerd/platforms + * Retag images when tag is already present in nerdctl build + * CI: use standard GHA runner for Windows too + * build(deps): bump github.com/opencontainers/image-spec + * CI: use standard GHA runners + * build(deps): bump actions/cache from 3 to 4 + * update gpu image to 12.3 + * go.mod: github.com/rootless-containers/rootlesskit/v2 v2.0.0 + * go.mod: module github.com/containerd/nerdctl/v2 + +------------------------------------------------------------------- +Fri Sep 20 11:44:25 UTC 2024 - danish.prakash@suse.com + +- Update to version 1.7.7: + * Update containerd version to 1.7.22 + * Update deprecated packages + * Fix S1009 (see https://staticcheck.dev/docs/checks#S1009) + * Update golangci-lint version and go mod cleanup + * Add ubuntu 22.04 test to the matrix + * update debian (12) + * build(deps): bump tonistiigi/xx from 1.4.0 to 1.5.0 + * update soci-snapshotter (0.7.0) + * update Nydus (2.2.5) + * Update go mod and go sum + * CI: update Ubuntu (24.04) + * update Go (1.23) + * update Kubo (0.29.0) + * update bypass4netns (0.4.1) + * update RootlessKit (2.3.1) + * update slirp4netns (1.3.1) + * update imgcrypt (1.1.11) + * update BuildKit (0.15.2) + * fix: Anchor Docer Version to v24 and update dependencies + * fix: Update Test for CNI plugin upgrade + * Include init NetworkSettings within inspect response + * feat: adding filter infrastructure + status and event filter + * feat: add Status and ID as event attributes + * feat: support for -a and --attach in run + * feat: support for --sig-proxy in run + * fix: Test create with mac address after updating cni version + * chore: update runc to v1.1.14 + * update CNI plugins (1.5.1) + * update Dockerfile go version to 1.22 to support containerd v2 builds + * build(deps): bump github.com/containerd/accelerated-container-image + +------------------------------------------------------------------- +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..6883632 --- /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: 2.0.0 +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.22 +Requires: buildkit >= 0.13.0 +Requires: cni-plugins +Requires: containerd +Requires: iptables +Requires: rootlesskit >= 2.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}/v2/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..0b6e3eb --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9ef84df262338e7ec5e3d3ab648fe33348c89a534324dcb3e2cc85d71b3a8a0 +size 3746560