diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000000..a209a6c50c --- /dev/null +++ b/NOTICE @@ -0,0 +1,38 @@ +nerdctl +Copyright The containerd Authors. + +This project contains portions of other projects that are licensed under the terms of Apache License 2.0. +The NOTICE files of those projects are replicated here. + +=== https://github.com/moby/moby , https://github.com/docker/cli === +https://github.com/moby/moby/blob/v20.10.14/LICENSE , https://github.com/docker/cli/blob/v20.10.14/LICENSE +https://github.com/moby/moby/blob/v20.10.14/NOTICE , https://github.com/docker/cli/blob/v20.10.14/NOTICE + +> Docker +> Copyright 2012-2017 Docker, Inc. +> +> This product includes software developed at Docker, Inc. (https://www.docker.com). +> +> This product contains software (https://github.com/creack/pty) developed +> by Keith Rarick, licensed under the MIT License. +> +> The following is courtesy of our legal counsel: +> +> +> Use and transfer of Docker may be subject to certain restrictions by the +> United States and other governments. +> It is your responsibility to ensure that your use and/or transfer does not +> violate applicable laws. +> +> For more information, please see https://www.bis.doc.gov +> +> See also https://www.apache.org/dev/crypto.html and/or seek legal counsel. + +=== https://github.com/docker/compose === +https://github.com/docker/compose/blob/v2.4.1/LICENSE +https://github.com/docker/compose/blob/v2.4.1/NOTICE + +> Docker Compose V2 +> Copyright 2020 Docker Compose authors +> +> This product includes software developed at Docker, Inc. (https://www.docker.com). diff --git a/cmd/nerdctl/top.go b/cmd/nerdctl/top.go index 5e13e6fee7..9f4e0b4496 100644 --- a/cmd/nerdctl/top.go +++ b/cmd/nerdctl/top.go @@ -20,6 +20,7 @@ - https://github.com/moby/moby/blob/v20.10.6/daemon/top_unix.go Copyright (C) The Moby authors. Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/moby/moby/blob/v20.10.6/NOTICE */ package main diff --git a/extras/rootless/containerd-rootless-setuptool.sh b/extras/rootless/containerd-rootless-setuptool.sh index 4aee7dbdd2..7a44799a58 100755 --- a/extras/rootless/containerd-rootless-setuptool.sh +++ b/extras/rootless/containerd-rootless-setuptool.sh @@ -18,6 +18,7 @@ # Forked from https://github.com/moby/moby/blob/v20.10.3/contrib/dockerd-rootless-setuptool.sh # Copyright The Moby Authors. # Licensed under the Apache License, Version 2.0 +# NOTICE: https://github.com/moby/moby/blob/v20.10.3/NOTICE # ----------------------------------------------------------------------------- # containerd-rootless-setuptool.sh: setup tool for containerd-rootless.sh diff --git a/extras/rootless/containerd-rootless.sh b/extras/rootless/containerd-rootless.sh index cfb035ef5a..6c8441b10b 100755 --- a/extras/rootless/containerd-rootless.sh +++ b/extras/rootless/containerd-rootless.sh @@ -18,6 +18,7 @@ # Forked from https://github.com/moby/moby/blob/v20.10.3/contrib/dockerd-rootless.sh # Copyright The Moby Authors. # Licensed under the Apache License, Version 2.0 +# NOTICE: https://github.com/moby/moby/blob/v20.10.3/NOTICE # ----------------------------------------------------------------------------- # containerd-rootless.sh executes containerd in rootless mode. diff --git a/pkg/buildkitutil/buildkitutil.go b/pkg/buildkitutil/buildkitutil.go index 28a5182df4..49ed26fd6a 100644 --- a/pkg/buildkitutil/buildkitutil.go +++ b/pkg/buildkitutil/buildkitutil.go @@ -14,6 +14,13 @@ limitations under the License. */ +/* + Portions from https://github.com/docker/cli/blob/v20.10.9/cli/command/image/build/context.go + Copyright (C) Docker authors. + Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/docker/cli/blob/v20.10.9/NOTICE +*/ + package buildkitutil import ( diff --git a/pkg/composer/config.go b/pkg/composer/config.go index c1676d87c9..b1d42456da 100644 --- a/pkg/composer/config.go +++ b/pkg/composer/config.go @@ -14,6 +14,13 @@ limitations under the License. */ +/* + Portions from https://github.com/docker/compose/blob/v2.2.2/pkg/compose/hash.go + Copyright (C) Docker Compose authors. + Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/docker/compose/blob/v2.2.2/NOTICE +*/ + package composer import ( diff --git a/pkg/inspecttypes/dockercompat/dockercompat.go b/pkg/inspecttypes/dockercompat/dockercompat.go index 06edd8a6fc..56a9e0855e 100644 --- a/pkg/inspecttypes/dockercompat/dockercompat.go +++ b/pkg/inspecttypes/dockercompat/dockercompat.go @@ -18,6 +18,7 @@ Portions from https://github.com/moby/moby/blob/v20.10.1/api/types/types.go Copyright (C) Docker/Moby authors. Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/moby/moby/blob/v20.10.1/NOTICE */ // Package dockercompat mimics `docker inspect` objects. diff --git a/pkg/inspecttypes/dockercompat/info.go b/pkg/inspecttypes/dockercompat/info.go index 482f8aae74..4d112f32d7 100644 --- a/pkg/inspecttypes/dockercompat/info.go +++ b/pkg/inspecttypes/dockercompat/info.go @@ -19,6 +19,7 @@ Portions from https://github.com/docker/cli/blob/v20.10.8/cli/command/system/version.go Copyright (C) Docker/Moby authors. Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/moby/moby/blob/v20.10.8/NOTICE , https://github.com/docker/cli/blob/v20.10.8/NOTICE */ package dockercompat diff --git a/pkg/mountutil/mountutil_linux.go b/pkg/mountutil/mountutil_linux.go index 14498d9fa2..b878f7281a 100644 --- a/pkg/mountutil/mountutil_linux.go +++ b/pkg/mountutil/mountutil_linux.go @@ -35,6 +35,14 @@ import ( "golang.org/x/sys/unix" ) +/* + Portions from https://github.com/moby/moby/blob/v20.10.5/daemon/oci_linux.go + Portions from https://github.com/moby/moby/blob/v20.10.5/volume/mounts/linux_parser.go + Copyright (C) Docker/Moby authors. + Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/moby/moby/blob/v20.10.5/NOTICE +*/ + // getUnprivilegedMountFlags is from https://github.com/moby/moby/blob/v20.10.5/daemon/oci_linux.go#L420-L450 // // Get the set of mount flags that are set on the mount that contains the given diff --git a/pkg/resolvconf/resolvconf.go b/pkg/resolvconf/resolvconf.go index 6e807276d5..31aa269e5f 100644 --- a/pkg/resolvconf/resolvconf.go +++ b/pkg/resolvconf/resolvconf.go @@ -14,6 +14,13 @@ limitations under the License. */ +/* + Portions from https://github.com/moby/moby/blob/6014c1e29dc34dffa77fb5749cc3281c1b4854ac/libnetwork/resolvconf/resolvconf.go + Copyright (C) Docker/Moby authors. + Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/moby/moby/blob/6014c1e29dc34dffa77fb5749cc3281c1b4854ac/NOTICE +*/ + // Package resolvconf provides utility code to query and update DNS configuration in /etc/resolv.conf // originally from https://github.com/moby/moby/blob/6014c1e29dc34dffa77fb5749cc3281c1b4854ac/libnetwork/resolvconf/resolvconf.go package resolvconf diff --git a/pkg/strutil/strutil.go b/pkg/strutil/strutil.go index c0f5dddfdf..4d1eab00b7 100644 --- a/pkg/strutil/strutil.go +++ b/pkg/strutil/strutil.go @@ -14,6 +14,19 @@ limitations under the License. */ +/* + Portions from https://github.com/moby/moby/blob/v20.10.0-rc2/runconfig/opts/parse.go + Copyright (C) Docker/Moby authors. + Licensed under the Apache License, Version 2.0 + NOTICE: https://github.com/moby/moby/blob/v20.10.0-rc2/NOTICE +*/ + +/* + Portions from https://github.com/moby/buildkit/blob/v0.9.1/cmd/buildkitd/config.go#L35-L42 + Copyright (C) BuildKit authors. + Licensed under the Apache License, Version 2.0 +*/ + package strutil import (