Commit Graph

6 Commits

Author SHA1 Message Date
Guenther Meyer
cb5dfda6f6 nerdctl: renamed upstream branch master to main
Signed-off-by: Guenther Meyer <g.meyer@signum-media.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-12-01 17:01:29 -05:00
Bruce Ashfield
08a59b4d93 nerdctl: reproducibility, path -trmpath to build
To avoid go embedding references to the build dir into binaries,
we pass -trimpath to the build.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-09-12 14:36:56 -04:00
Bruce Ashfield
e43460f5ed nerdctl: update to 0.22.2
Bumping nerdctl to version v0.22.2-2-ge084a2d, which comprises the following commits:

    013ebdc Bump github.com/containerd/nydus-snapshotter
    37cb3fe Fix `can't get final child's PID from pipe` on rootless (v0.22.1 regression)
    fbbf10e Bump github.com/compose-spec/compose-go from 1.3.0 to 1.4.0
    7f94a17 fix(hosts): extra-host params should be 'domain:ip'
    a4fd8fa go-ipfs (0.13.1) -> Kubo (0.14.0)
    f3001be doc: readme and help msg about firewall plugin
    0e81051 ps_linux_test.go: improve variable names
    cae0f01 README.md: `nerdctl system prune` is now available
    8f57e95 add label display support in ps subcommand
    2dfa2a4 Bump github.com/compose-spec/compose-go from 1.2.9 to 1.3.0
    d0fe7ab skip reconfig network when missing
    83ce9a0 Add extra logging warning for log options
    09bd981 Pass https://index.docker.io/v1/ to GetAuthConfig() for Docker Hub
    17771d0 Refactor: Abstract the way to  handle remote snapshotter
    0ff788b Add the ability to inspect volume sizes
    3676219 Bump github.com/containernetworking/cni from 1.1.1 to 1.1.2
    8b6417c fix stats values
    bcedaae optimize tests of stop the sleep container
    014525f support system prune
    81a9a9b add labels in container inspect using dockercompat mode
    81095fb fix yaml pkg vulnerability
    1bb09dd support network prune
    bc68696 Add oom-score-adj option while running
    3507d0b remove useless args from load
    d7ba334 rewrite test of run with init flag
    1f7ec3f Bump github.com/compose-spec/compose-go from 1.2.8 to 1.2.9
    5ecf242 Bump github.com/containerd/go-cni from 1.1.6 to 1.1.7
    cccf19e test fluentd log driver without build image
    1199ac5 small refactor for rmAction
    a4b51e2 bridge network use free subnet
    e027ce4 Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
    0818f7d Bump docker/build-push-action from 3.0.0 to 3.1.0
    a78de9a support --network=container:<contaienr> for sharing network namespace
    df376b8 Remove duplicate host record when update the DNS
    685371e TestRunWithJsonFileLogDriver: make log message more specific
    357fdfd Fallback to Containerfile when Dockerfile is not present.
    de3d05a README.md: clean up
    e06e3a6 ignore force remove container error
    4a7f6eb support force remove image
    f2cc696 fix stats for no-stream
    a7dd254 fix flaky test TestRunWithJsonFileLogDriver
    663541c README.md: clean up
    ad0e42f infoutil: make runc version output consistent with Docker
    e016c55 infoutil: relax buildctl version format
    2087827 fix found multiple IDs when container walker
    0e07104 update buildg (0.3.0)
    bd78358 update IPFS (0.13.1)
    ddf5b5a update stargz-snapshotter (0.12.0)
    8f5ac28 refactor container restart command
    70826c7 update imgcrypt (1.1.6)
    08f9f6b Display buildkit and runc version in nerdctl
    2c5bd7f Log matches of log paths to understand TestRunWithJsonFileLogDriver flakiness
    15decf3 wait for detached container running before exec
    fa392af Add document about overlaybd
    41c63f3 fix json file logging filenames
    9c63c61 container exit should terminate tail logs
    ff6e75f update unimplemented flags for run
    28de2e3 support volume prune
    a74e852 add update flag blkio-weight
    eb3715a fix dockerfile local dir
    e20c145 support image prune
    79ed9ca TestRunCgroupV1: fix cgroup version check
    d746ab9 fix broken deps for dbus
    5e91753 add flag kernel-memory
    9b4287e typo and return error
    67e2ded remove failed container state
    efd3961 adjust ps header
    b35ae67 cli: implement -s/--size option for nerdctl ps command
    e8127e6 docs: add nydus snapshotter description
    f20cb34 Validate formats before ticking
    8b5a0ec Bump github.com/containerd/nydus-snapshotter
    fb3eb33 fix error message
    5f41b41 support container prune
    4637c99 add TabReader for test
    4f9c3ed fix some error
    86056b8 Enable staticcheck in golangci-lint
    34e3ad8 feat: makes nerdctl available to pull nydus images
    76fbdbe Support multiple tags in nerdctl build.
    e56ac42 Fixed gosimple errors in issue #1134
    afb0c57 bind-mounts: add rbind option defaultly
    6a382f7 support stop-signal and stop-timeout
    f9522ae support dns-search and dns-option for compose
    486100d volume: set fstype to bind if mount options contains bind or rbind
    eaf3354 remove invalid debug
    50a8eaa show name for images
    0b67272 support dns-search and dns-opt
    2f79653 fix: using default resolver
    2b5a45b add group-add flag for run
    a5b0d1d go mod tidy
    b1930a7 1117: specify needsLoading when output flag is specified.
    abaa167 Bump github.com/compose-spec/compose-go from 1.2.7 to 1.2.8
    7954e19 Bump github.com/ipfs/go-ipfs-http-client from 0.3.1 to 0.4.0
    12aae30 Bump github.com/multiformats/go-multiaddr from 0.5.0 to 0.6.0
    8b34083 Fix typo in instructions on how to run docker compat tests.
    daea277 Bump github.com/spf13/cobra from 1.4.0 to 1.5.0
    b1b226f Bump gotest.tools/v3 from 3.2.0 to 3.3.0
    0bcefdc Update golangci-lint version to 1.46.2
    063c025 fix stylecheck errors
    75ff587 CI: unparallelize TestRunAddHost
    1c191a1 add umask
    676c5c3 Validation for nerdctl load to fail when stdin is empty.
    1192a04 Fixed gosimple errors in issue #1134
    02582d0 go.mod: golang.org/x/* master
    e86deda go.mod: github.com/containerd/containerd v1.6.6 (=> v1.6.1-0.20220616041926-9c6154bff158)
    c078e20 pkg/logging: refactor
    92e3cc2 Initialize the log file to fix `nerdctl compose up` error
    5c3aec6 add memory-reservation memory-swappiness
    7fbafcb fix swap memory
    261da0c Add GitLab Container Registry documentation
    4f6b914 MAINTAINERS: add Zheao Li as a REVIEWER
    04a8450 update IPFS (0.13.0)
    8ac66ef update fuse-overlayfs (1.9)
    21edc9d update runc (1.1.3)
    ffdc0aa fix log-driver  name not check error
    8717e4f Implement fluentd logging driver
    a817a8b add flag memory-swap
    44c80db Adding tests for start and handling AkihiroSuda feedback
    db4a505 Adding --attach flag to start
    0b9e9cb add flag oom-kill-disable
    404c532 [#868] Update moby/sys to fix the FreeBSD build
    3b1df0e Bump github.com/docker/cli
    d50fec4 Bump github.com/docker/docker
    cfe8ca0 Bump github.com/moby/sys/mount from 0.3.2 to 0.3.3
    6386775 update buildg (0.2.0)
    26639fd update containerd (1.6.6)
    35f60d6 go.mod: github.com/containerd/containerd v1.6.1-0.20220606171923-c1bcabb45419
    8a36c0d persist default network config
    bb3f9ee Bump github.com/vishvananda/netlink from 1.2.0-beta to 1.2.1-beta.2
    eae4b2d Bump github.com/containernetworking/cni from 1.1.0 to 1.1.1
    3007fc8 Bump github.com/containerd/go-cni from 1.1.5 to 1.1.6
    b00fa84 fix squashes --add-host with the same ip
    dd8a0ff Implement journald logging driver
    f087279 Bump github.com/compose-spec/compose-go from 1.2.6 to 1.2.7
    60b77c1 Bump github.com/containerd/cgroups from 1.0.3 to 1.0.4
    96a3276 CI: TestRunCgroupV2: add --memory-swap=-1 for Docker with cgroup v2
    5a47349 CI: skip TestRunCgroupConf for Docker
    e077b38 CI: use GHA ubuntu-22.04 for cgroup2 tests
    08924b9 docs/compose.md: update the compatibility information
    423600f Bump github.com/compose-spec/compose-go from 1.2.5 to 1.2.6
    793a95d enbale entrypoint as stringArray
    feb1316 Bump github.com/compose-spec/compose-go from 1.2.4 to 1.2.5
    193e8d6 Bump up buildg to v0.1.0
    04f9b47 update BuildKit (0.10.3)
    0aeed30 update runc (1.1.2)
    fc87586 go.mod: golang.org/x/* master
    f66b943 refactor TestRunIpcHost
    b7d9eee create/run: add ipc flag to create and run commands
    998f457 Bump github.com/docker/cli
    47e7eb7 Bump github.com/docker/docker
    773a413 Support interactive debugging of Dockerfile
    d81dcf3 logging: ensure that MagicArgv1 is always argv1
    004f2ff README.md: typo
    70c90f1 Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
    7c3fd8f add bind-nonrecursive for mount
    47ff895 fix flaky test TestComposeConfigWithComposeFileEnv
    c5841dd pkg/taskutil: let StdinCloser implement io.Closer
    c9881fd supporting COMPOSE_FILE environment variable
    b4f2e5f Support logging in compose file
    0fc816a Support for networks in compose files
    0b9d48e Bump github.com/docker/docker
    e031d13 update containerd (1.6.4)
    abaa4d0 Support riscv64
    49f6d78 Bump github.com/docker/cli
    7e3dc43 Bump docker/build-push-action from 2.10.0 to 3.0.0
    450486a Bump docker/login-action from 1.14.1 to 2.0.0
    e11fb20 Bump docker/metadata-action from 3.8.0 to 4.0.1
    d3e449a implement log opt with containerd logging driver
    97ece6a enhancement restart policy
    81528d5 support rename container
    56b0f10 update BuildKit (0.10.2)
    e258cda update RootlessKit (1.0.1)
    489a521 update slirp4netns (1.2.0)
    d73ef7a fix default driver capability for gpus
    ed10fec Bump docker/metadata-action from 3.7.0 to 3.8.0
    f853dc4 Bump github.com/containerd/go-cni from 1.1.4 to 1.1.5
    18ea81f Fix `flag -t needs -i to be specified together` restriction
    b2fa405 Makefile: avoid flattening `nerdctl-X.Y.Z-go-mod-vendor.tar.gz`
    ff1aec4 info: add --mode=native to show full plugin info
    a629145 update containerd (1.6.3)
    62979d7 Bump gotest.tools/v3 from 3.1.0 to 3.2.0
    6d1bfc6 fixes #1004 : Build image only when changes merged to master
    10990ad Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5
    dbc0ec5 Bump github.com/ipfs/go-ipfs-http-client from 0.3.0 to 0.3.1
    c63982b Bump actions/checkout from 3.0.1 to 3.0.2
    85ca787 [Carry 643] cp cmd
    90a3a2c Bump github.com/tidwall/gjson from 1.14.0 to 1.14.1
    8385be4 add test case for nerdctl inspect to check mounts field
    a766555 show mounts info for nerdctl inspect

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-09 14:26:28 -04:00
Bruce Ashfield
bff2ad3131 nerdctl: move SRC_URI appends to include file
This makes the main recipe more readable, and allows us to
clearly see changes to the SRC_URI and the main recipe
separately.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-21 14:02:04 -04:00
Bruce Ashfield
c6464d8f04 nerdctl: update to v0.18
Bumping nerdctl to version v0.18.0-61-g48f189a, which comprises the following commits:

    8385be4 add test case for nerdctl inspect to check mounts field
    a766555 show mounts info for nerdctl inspect
    1547f73 Add flag ipfs-address to push to remote IPFS node
    2db1039 update stargz-snapshotter (0.11.4), IPFS (0.12.2)
    7b1c33d Import NOTICE from Docker/Moby
    bc66bfa CI: upload go-mod-vendor.tar.gz as a backup
    43f7b6b Dockerfile: update Ubuntu to 22.04
    6c22944 Follow-up to `Support --init argument in nerdctl run command`
    a8c3de4 Bump github.com/moby/sys/mount from 0.3.1 to 0.3.2
    c4cf6a0 Bump actions/checkout from 3.0.0 to 3.0.1
    90a91d2 Bump github.com/compose-spec/compose-go from 1.2.2 to 1.2.4
    839faf5 Added volume remove fixes(issue #971)
    f8272ed Support --init argument in nerdctl run command
    175923e Export OS Platform and Arch information in `nerdctl version` command
    b3504ce feat: container image build ci for push image to github registry
    8dc5fc5 seccomp: relax restrictions depending on --cap-add
    65170cb Bump actions/setup-go from 2 to 3
    fe6a7e8 inspect: add type flag to inspect command
    ac58d8c CI: relax timeout
    96b5e49 nerdctl wait: fix flakeness and error handling
    ba0624d Deflake TestComposeKill
    401b541 update BuildKit (0.10.1)
    1a3dfe9 Bump github.com/containerd/continuity from 0.2.2 to 0.3.0
    800d9ee Bump github.com/ipfs/go-ipfs-http-client from 0.2.0 to 0.3.0
    72a2923 Bump github.com/ipfs/interface-go-ipfs-core from 0.6.1 to 0.6.2
    7c78e79 Bump github.com/compose-spec/compose-go from 1.2.1 to 1.2.2
    8941220 update runc (1.1.1)
    6fdf4d1 go.mod: vishvananda/netlink v1.2.0-beta
    457317a build: fix `content digest ... not found` for built multi-platform image
    500f039 Bump github.com/compose-spec/compose-go from 1.1.0 to 1.2.1
    929298c Format created to be compatible with docker inspect
    0564fc1 Remove orphan containers before the service has be started
    b66451e update RootlessKit (1.0.0), imgcrypt (1.1.4)
    50cbdfc Add check of snapshotter when sharing images
    9c3cca2 docs: clarify availability of optional features
    e45c8ea Bump github.com/docker/docker
    589fc27 Bump github.com/docker/cli
    6f5d0d2 Bump github.com/ipfs/interface-go-ipfs-core from 0.6.0 to 0.6.1
    4372842 Fix nerdctl ignores BUILDKIT_HOST
    0c334bd Support assign static IP address in `compose up` command by using ipv4_address field
    facc229 CI: set fail-fast to false
    fcdaa2e Add a document about setting up `nerdctl build` with BuildKit
    ae1399a CNI: switch away from `isolation` plugin to `firewall` plugin with `ingressPolicy`
    0cb1fe6 update containerd (1.6.2)
    7f13c20 Fix `nerdctl build` logs error even when succeeds
    8e3923c Bump github.com/containerd/go-cni from 1.1.3 to 1.1.4
    d948091 avoid nil authconfig && display warning msg for unencrypted  passwd
    d8167e0 docs: clarify that P2P image distribution (IPFS) is completely optional
    ba88f62 update CNI plugins (1.1.1), stargz-snapshotter (0.11.3), IPFS (0.12.1)
    19bf1d3 enhance namespace management
    1231875 push: skip foreign layers
    87aa769 Support --ip argument when run the container
    8ec0672 rootless: Support BuildKit containerd worker
    21d0350 Bump github.com/ipfs/interface-go-ipfs-core from 0.5.2 to 0.6.0
    debe171 CI: remove integration test with contianerd v1.4.5
    fb0339e build with go 1.18
    c0e0edf fix login on defaultRegistry
    7e68a87 Support fallback to plain http in nerdctl login
    7cb387d Follow-up to `Add GitHub issue templates`
    701a55c Add GitHub issue templates
    a9e5022 Windows CI: install git
    2bcbdcb refactor netutil
    b75b86c Bump github.com/docker/cli
    94d9169 Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
    04199ec Bump github.com/docker/docker
    12ca1b0 fix make failed when use go1.16
    3e073bc build(deps): bump github.com/containernetworking/plugins
    802db60 Update the README.md to remind people to upgrade the Go version
    f20ef09 add macvlan/ipvlan doc for cni
    d56bdd6 pkg/portutil: improve rootless error message
    b154105 update stargz-snapshotter (0.11.2)
    3f1ffe2 Support allocate host port when try to run container
    9c14a02 CI: temporarily remove FreeBSD integration tests
    0e7ddc9 Attempt to deflake TestPushInsecureWithLogin
    1b1f1df build test-integration image in arm64
    1dcc70c update containerd, CNI plugins, IPFS, Stargz Snapshotter
    e8f7b6a Bump github.com/compose-spec/compose-go from 1.0.9 to 1.1.0
    63ba16a Bump github.com/containerd/containerd from 1.6.0 to 1.6.1
    b6850ff Bump golangci/golangci-lint-action from 2 to 3.1.0
    f4d689d Bump actions/checkout from 2 to 3
    f15e589 add ipam-driver and ipam-opt flags for create network
    47190c4 Separate network code

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-21 13:59:32 -04:00
Bruce Ashfield
51013405c2 nerdctl: introduce recipe
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-21 17:31:28 -04:00