diff --git a/.gitignore b/.gitignore index e929781..675b156 100644 --- a/.gitignore +++ b/.gitignore @@ -202,3 +202,11 @@ /skopeo-87484a1.tar.gz /skopeo-a13b581.tar.gz /skopeo-c4998eb.tar.gz +/skopeo-ae26454.tar.gz +/skopeo-662f9ac.tar.gz +/skopeo-23cb1b7.tar.gz +/skopeo-5dd09d7.tar.gz +/skopeo-45a9efb.tar.gz +/skopeo-12ab19f.tar.gz +/skopeo-bbd800f.tar.gz +/skopeo-77293ff.tar.gz diff --git a/containers-policy.json.5.md b/containers-policy.json.5.md index 9c6b43e..4f6d4b6 100644 --- a/containers-policy.json.5.md +++ b/containers-policy.json.5.md @@ -177,7 +177,7 @@ One of the following alternatives are supported: ```json {"type":"matchRepoDigestOrExact"} ``` -- The identity in the signature must be in the same repository as the image identity. This is useful e.g. to pull an image using the `:latest` tag when the image is signed with a tag specifing an exact image version. +- The identity in the signature must be in the same repository as the image identity. This is useful e.g. to pull an image using the `:latest` tag when the image is signed with a tag specifying an exact image version. ```json {"type":"matchRepository"} diff --git a/containers-registries.d.5.md b/containers-registries.d.5.md index 263002b..892f617 100644 --- a/containers-registries.d.5.md +++ b/containers-registries.d.5.md @@ -12,7 +12,7 @@ The registries configuration directory contains configuration for various regist so that the configuration does not have to be provided in command-line options over and over for every command, and so that it can be shared by all users of containers/image. -By default (unless overridden at compile-time), the registries configuration directory is `/etc/containers/registries.d`; +By default, the registries configuration directory is `$HOME/.config/containers/registries.d` if it exists, otherwise `/etc/containers/registries.d` (unless overridden at compile-time); applications may allow using a different directory instead. ## Directory Structure diff --git a/containers-signature.5.md b/containers-signature.5.md index 9f2ba93..1b18ff0 100644 --- a/containers-signature.5.md +++ b/containers-signature.5.md @@ -224,7 +224,7 @@ The contents of this string is not defined in detail; however each implementatio Consumers of container signatures MAY recognize specific values or sets of values of `optional.creator` (perhaps augmented with `optional.timestamp`), and MAY change their processing of the signature based on these values -(usually to acommodate violations of this specification in past versions of the signing software which cannot be fixed retroactively), +(usually to accommodate violations of this specification in past versions of the signing software which cannot be fixed retroactively), as long as the semantics of the invalid document, as created by such an implementation, is clear. If consumers of signatures do change their behavior based on the `optional.creator` value, diff --git a/containers-storage.conf.5.md b/containers-storage.conf.5.md index b229583..c527936 100644 --- a/containers-storage.conf.5.md +++ b/containers-storage.conf.5.md @@ -75,7 +75,7 @@ The `storage.options` table supports the following options: remap-group = "containers" **root-auto-userns-user**="" - Root-auto-userns-user is a user name which can be used to look up one or more UID/GID ranges in the /etc/subuid and /etc/subgid file. These ranges will be partioned to containers configured to create automatically a user namespace. Containers configured to automatically create a user namespace can still overlap with containers having an explicit mapping set. This setting is ignored when running as rootless. + Root-auto-userns-user is a user name which can be used to look up one or more UID/GID ranges in the /etc/subuid and /etc/subgid file. These ranges will be partitioned to containers configured to create automatically a user namespace. Containers configured to automatically create a user namespace can still overlap with containers having an explicit mapping set. This setting is ignored when running as rootless. **auto-userns-min-size**=1024 Auto-userns-min-size is the minimum size for a user namespace created automatically. diff --git a/containers-transports.5.md b/containers-transports.5.md index 6176324..c87283f 100644 --- a/containers-transports.5.md +++ b/containers-transports.5.md @@ -41,10 +41,14 @@ If `name` does not contain a slash, it is treated as `docker.io/library/name`. Otherwise, the component before the first slash is checked if it is recognized as a `hostname[:port]` (i.e., it contains either a . or a :, or the component is exactly localhost). If the first component of name is not recognized as a `hostname[:port]`, `name` is treated as `docker.io/name`. -### **docker-archive:**_path[:docker-reference]_ +### **docker-archive:**_path[:{docker-reference|@source-index}]_ An image is stored in the docker-save(1) formatted file. -_docker-reference_ is only used when creating such a file, and it must not contain a digest. +_docker-reference_ must not contain a digest. +Alternatively, for reading archives, @_source-index_ is a zero-based index in archive manifest +(to access untagged images). +If neither _docker-reference_ nor @_source_index is specified when reading an archive, the archive must contain exactly one image. + It is further possible to copy data to stdin by specifying `docker-archive:/dev/stdin` but note that the used file must be seekable. ### **docker-daemon:**_docker-reference|algo:digest_ diff --git a/containers.conf b/containers.conf index 5ee72e7..acae3dc 100644 --- a/containers.conf +++ b/containers.conf @@ -59,29 +59,25 @@ # List of default capabilities for containers. If it is empty or commented out, # the default capabilities defined in the container engine will be added. # -# default_capabilities = [ -# "AUDIT_WRITE", -# "CHOWN", -# "DAC_OVERRIDE", -# "FOWNER", -# "FSETID", -# "KILL", -# "MKNOD", -# "NET_BIND_SERVICE", -# "NET_RAW", -# "SETGID", -# "SETPCAP", -# "SETUID", -# "SYS_CHROOT", -# ] +default_capabilities = [ + "CHOWN", + "DAC_OVERRIDE", + "FOWNER", + "FSETID", + "KILL", + "NET_BIND_SERVICE", + "SETGID", + "SETPCAP", + "SETUID", +] # A list of sysctls to be set in containers by default, # specified as "name=value", # for example:"net.ipv4.ping_group_range = 0 1000". # -# default_sysctls = [ -# "net.ipv4.ping_group_range=0 1000", -# ] +default_sysctls = [ + "net.ipv4.ping_group_range=0 65536", +] # A list of ulimits to be set in containers by default, specified as # "=:", for example: diff --git a/seccomp.json b/seccomp.json index d2cedab..07cdd6c 100644 --- a/seccomp.json +++ b/seccomp.json @@ -71,7 +71,7 @@ "clock_getres", "clock_gettime", "clock_nanosleep", - "clone", + "clone", "close", "connect", "copy_file_range", @@ -93,6 +93,7 @@ "exit", "exit_group", "faccessat", + "faccessat2", "fadvise64", "fadvise64_64", "fallocate", @@ -220,6 +221,7 @@ "newfstatat", "open", "openat", + "openat2", "pause", "pipe", "pipe2", diff --git a/skopeo.spec b/skopeo.spec index 6d4713b..5f40a89 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -28,7 +28,7 @@ %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} %global git0 https://%{import_path} -%global commit0 c4998ebf3f9a348894e14e586c69e5ba2a12a193 +%global commit0 77293ff9c42a9c8d3db36a6c02fe26c70b232ec9 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) # Used for comparing with latest upstream tag @@ -46,7 +46,7 @@ Epoch: 1 Epoch: 2 %endif Version: 1.1.1 -Release: 37.dev.git%{shortcommit0}%{?dist} +Release: 48.dev.git%{shortcommit0}%{?dist} Summary: Inspect container images and repositories on registries License: ASL 2.0 URL: %{git0} @@ -447,6 +447,43 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_datadir}/%{name}/test %changelog +* Mon Sep 21 2020 Dan Walsh - 1:1.1.1-48.dev.git5d5756c +- Remove fchmodat2 from seccomp.json (This syscall does not exist yet) + +* Fri Sep 18 20:12:04 UTC 2020 RH Container Bot - 1:1.1.1-47.dev.git77293ff +- autobuilt 77293ff + +* Thu Sep 17 2020 Dan Walsh - 1:1.1.1-46.dev.git5d5756c +- Remove NET_RAW, SYS_CHROOT, MKNOD and AUDIT_WRITE from default list of capabilities +- Turn on ping for 65k users + +* Tue Sep 15 11:13:22 UTC 2020 RH Container Bot - 1:1.1.1-45.dev.gitbbd800f +- autobuilt bbd800f + +* Mon Sep 14 16:12:20 UTC 2020 RH Container Bot - 1:1.1.1-44.dev.git12ab19f +- autobuilt 12ab19f + +* Sat Sep 12 2020 Dan Walsh - 1:1.1.1-43.dev.git5d5756c +- update man pages +- Update seccomp rules +- Update configuration files in containers-common +- Update configuration files in containers-storage + +* Fri Sep 11 19:12:27 UTC 2020 RH Container Bot - 1:1.1.1-42.dev.git45a9efb +- autobuilt 45a9efb + +* Wed Sep 9 20:12:20 UTC 2020 RH Container Bot - 1:1.1.1-41.dev.git5dd09d7 +- autobuilt 5dd09d7 + +* Wed Sep 9 09:11:56 UTC 2020 RH Container Bot - 1:1.1.1-40.dev.git23cb1b7 +- autobuilt 23cb1b7 + +* Wed Sep 2 18:10:52 UTC 2020 RH Container Bot - 1:1.1.1-39.dev.git662f9ac +- autobuilt 662f9ac + +* Wed Sep 2 17:11:26 UTC 2020 RH Container Bot - 1:1.1.1-38.dev.gitae26454 +- autobuilt ae26454 + * Fri Aug 28 13:11:42 UTC 2020 RH Container Bot - 1:1.1.1-37.dev.gitc4998eb - autobuilt c4998eb diff --git a/sources b/sources index d25feb8..559ba08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (skopeo-c4998eb.tar.gz) = be31eaa783a4b78a121ae6da73d575988460f73af4d7fcd1580c2fd13ea5e58953172776c05dae8c2ffc1af4dc5b526f42c3d9c6c4f676927c45fd2ca3b95a73 +SHA512 (skopeo-77293ff.tar.gz) = 7ebcca67cff46e846407d15556a310988dc47640c2b0faee2b73a7c44ec78601debdba322020d6c388d1b338c2432944c4972614b42337e80b308d31520ec917 diff --git a/storage.conf b/storage.conf index 77423d3..a341e25 100644 --- a/storage.conf +++ b/storage.conf @@ -47,7 +47,7 @@ additionalimagestores = [ # remap-group = "containers" # Root-auto-userns-user is a user name which can be used to look up one or more UID/GID -# ranges in the /etc/subuid and /etc/subgid file. These ranges will be partioned +# ranges in the /etc/subuid and /etc/subgid file. These ranges will be partitioned # to containers configured to create automatically a user namespace. Containers # configured to automatically create a user namespace can still overlap with containers # having an explicit mapping set.