Skip to content

Commit

Permalink
Import NOTICE from Docker/Moby
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Apr 15, 2022
1 parent f92bae5 commit 7b1c33d
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 0 deletions.
38 changes: 38 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -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).
1 change: 1 addition & 0 deletions cmd/nerdctl/top.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions extras/rootless/containerd-rootless-setuptool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions extras/rootless/containerd-rootless.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions pkg/buildkitutil/buildkitutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
7 changes: 7 additions & 0 deletions pkg/composer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
1 change: 1 addition & 0 deletions pkg/inspecttypes/dockercompat/dockercompat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions pkg/inspecttypes/dockercompat/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions pkg/mountutil/mountutil_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions pkg/resolvconf/resolvconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions pkg/strutil/strutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 7b1c33d

Please sign in to comment.