File libcontainers-common.changes of Package libcontainers-common
4290
1
-------------------------------------------------------------------
2
Fri Sep 17 10:20:19 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
3
4
- Update common to 0.44.0
5
6
0.42.3:
7
8
* (*libimage.Image).HasDifferentDigest: add authentication
9
10
0.42.2:
11
12
Backports for Podman 3.3.2
13
Fix the fallback runtime path
14
Switch default Rootless Networking to "CNI" for OSX
15
libimage: disk usage: catch corrupted images
16
set GOPROXY=https://proxy.golang.org
17
18
19
0.44.0:
20
21
Add HelperBinariesDir field to engine config
22
Add space trimming check in sysctl.Validate
23
Cirrus: Use fresher VM images
24
Fix `pkg/sysctl` path typo
25
Fix the fallback runtime path
26
Switch default Rootless Networking to "CNI" for OSX
27
Update pkg/sysctl/sysctl.go
28
add some cni plugin paths
29
build(deps): bump github.com/containers/image/v5 from 5.15.0 to 5.16.0
30
build(deps): bump github.com/containers/storage from 1.34.0 to 1.35.0
31
build(deps): bump github.com/onsi/gomega from 1.15.0 to 1.16.0
32
build(deps): bump github.com/opencontainers/runc from 1.0.1 to 1.0.2
33
build(deps): bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5
34
docs/containers.conf.5.md: Fix manpage section
35
fix untag + v0.43.2
36
libimage: disk usage: catch corrupted images
37
libimage: relax untag by digest checks
38
path: dest paths inside container should always be treated as *nix type
39
remove-image: Add optional `LookupManifest` to RemoveImagesOptions.
40
runtime: Add ReturnManifestIfPresent to LookupImageOptions
41
runtime: Add `ManifestList` to `LookupImageOptions`
42
seccomp: allow memfd_secret
43
44
0.43.2:
45
46
* libimage: relax untag by digest checks
47
* path: dest paths inside container should always be treated as *nix type
48
49
0.43.1:
50
51
Fix spelling mistakes
52
Fix examples in containers.conf
53
54
55
0.43.0:
56
57
Add documentation for Containerfile and Dockerfile
58
Remove no_libsubid flag
59
Add machine_image to containers.conf
60
build(deps): bump github.com/containers/storage from 1.33.1 to 1.34.0
61
build(deps): bump github.com/opencontainers/selinux from 1.8.2 to 1.8.4
62
Add machine_image to containers.conf
63
Switch default logdriver and eventslogger to journald, if root
64
build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1
65
build(deps): bump github.com/onsi/gomega from 1.14.0 to 1.15.0
66
libimage: {un}tag: reject digests
67
build(deps): bump github.com/docker/docker from 20.10.7+incompatible to 20.10.8+incompatible
68
style: complete containers#556 to-do list part 4
69
build(deps): bump github.com/containers/image/v5 from 5.14.0 to 5.15.0
70
set GOPROXY=https://proxy.golang.org
71
72
73
0.42.1:
74
75
* pull: fallthrough for registry parsing errors
76
77
0.42.0:
78
79
* Remove --accept-repositories flag
80
* pull policy: support camel cases
81
* Use authfile in options to search image
82
* vendor in containers/storage v1.33.0
83
* config: split arguments in DBUS_SESSION_BUS_ADDRESS
84
* pkg/seccomp: avoid DefaultErrnoRet: null
85
* Add and use libimage.Runtime.imageIDsForManifest()
86
* Add libimage/manifests.LockerForImage()
87
* Add support for path based registry in login/logout
88
* libimage: pull: normalize docker-daemon
89
* libimage: report all removed images
90
* libruntime: layer tree: handle empty images
91
* refine dangling filters
92
* libimage.RuntimeFromStore(): stop overriding the BlobInfoCache location
93
* build(deps): bump github.com/opencontainers/runc from 1.0.0 to 1.0.1
94
* pull with custom platform: handle "localhost/"
95
* User option to prepare container after creation for volume copy-up. Docker does this by default.
96
* add config option for ChownCopiedFiles
97
* build(deps): bump github.com/containers/storage from 1.32.5 to 1.32.6
98
* libimage: image tree: fix nil deref
99
100
101
- Update podman to 3.3.1
102
103
3.3.1:
104
105
### Bugfixes
106
- Fixed a bug where unit files created by `podman generate systemd` could not cleanup shut down containers when stopped by `systemctl stop` ([#11304](https://github.com/containers/podman/issues/11304)).
107
- Fixed a bug where `podman machine` commands would not properly locate the `gvproxy` binary in some circumstances.
108
- Fixed a bug where containers created as part of a pod using the `--pod-id-file` option would not join the pod's network namespace ([#11303](https://github.com/containers/podman/issues/11303)).
109
- Fixed a bug where Podman, when using the systemd cgroups driver, could sometimes leak dbus sessions.
110
- Fixed a bug where the `until` filter to `podman logs` and `podman events` was improperly handled, requiring input to be negated ([#11158](https://github.com/containers/podman/issues/11158)).
111
- Fixed a bug where rootless containers using CNI networking run on systems using `systemd-resolved` for DNS would fail to start if resolved symlinked `/etc/resolv.conf` to an absolute path ([#11358](https://github.com/containers/podman/issues/11358)).
112
113
### API
114
- A large number of potential file descriptor leaks from improperly closing client connections have been fixed.
115
116
117
3.3.0:
118
119
### Features
120
- Containers inside VMs created by `podman machine` will now automatically handle port forwarding - containers in `podman machine` VMs that publish ports via `--publish` or `--publish-all` will have these ports not just forwarded on the VM, but also on the host system.
121
- The `podman play kube` command's `--network` option now accepts advanced network options (e.g. `--network slirp4netns:port_handler=slirp4netns`) ([#10807](https://github.com/containers/podman/issues/10807)).
122
- The `podman play kube` commmand now supports Kubernetes liveness probes, which will be created as Podman healthchecks.
123
- Podman now provides a systemd unit, `podman-restart.service`, which, when enabled, will restart all containers that were started with `--restart=always` after the system reboots.
124
- Rootless Podman can now be configured to use CNI networking by default by using the `rootless_networking` option in `containers.conf`.
125
- Images can now be pulled using `image:tag@digest` syntax (e.g. `podman pull fedora:34@sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a`) ([#6721](https://github.com/containers/podman/issues/6721)).
126
- The `podman container checkpoint` and `podman container restore` commands can now be used to checkpoint containers that are in pods, and restore those containers into pods.
127
- The `podman container restore` command now features a new option, `--publish`, to change the ports that are forwarded to a container that is being restored from an exported checkpoint.
128
- The `podman container checkpoint` command now features a new option, `--compress`, to specify the compression algorithm that will be used on the generated checkpoint.
129
- The `podman pull` command can now pull multiple images at once (e.g. `podman pull fedora:34 ubi8:latest` will pull both specified images).
130
- THe `podman cp` command can now copy files from one container into another directly (e.g. `podman cp containera:/etc/hosts containerb:/etc/`) ([#7370](https://github.com/containers/podman/issues/7370)).
131
- The `podman cp` command now supports a new option, `--archive`, which controls whether copied files will be chown'd to the UID and GID of the user of the destination container.
132
- The `podman stats` command now provides two additional metrics: Average CPU, and CPU time.
133
- The `podman pod create` command supports a new flag, `--pid`, to specify the PID namespace of the pod. If specified, containers that join the pod will automatically share its PID namespace.
134
- The `podman pod create` command supports a new flag, `--infra-name`, which allows the name of the pod's infra container to be set ([#10794](https://github.com/containers/podman/issues/10794)).
135
- The `podman auto-update` command has had its output reformatted - it is now much clearer what images were pulled and what containers were updated.
136
- The `podman auto-update` command now supports a new option, `--dry-run`, which reports what would be updated but does not actually perform the update ([#9949](https://github.com/containers/podman/issues/9949)).
137
- The `podman build` command now supports a new option, `--secret`, to mount secrets into build containers.
138
- The `podman manifest remove` command now has a new alias, `podman manifest rm`.
139
- The `podman login` command now supports a new option, `--verbose`, to print detailed information about where the credentials entered were stored.
140
- The `podman events` command now supports a new event, `exec_died`, which is produced when an exec session exits, and includes the exit code of the exec session.
141
- The `podman system connection add` command now supports adding connections that connect using the `tcp://` and `unix://` URL schemes.
142
- The `podman system connection list` command now supports a new flag, `--format`, to determine how the output is printed.
143
- The `podman volume prune` and `podman volume ls` commands' `--filter` option now support a new filter, `until`, that matches volumes created before a certain time ([#10579](https://github.com/containers/podman/issues/10579)).
144
- The `podman ps --filter` option's `network` filter now accepts a new value: `container:`, which matches containers that share a network namespace with a specific container ([#10361](https://github.com/containers/podman/issues/10361)).
145
- The `podman diff` command can now accept two arguments, allowing two images or two containers to be specified; the diff between the two will be printed ([#10649](https://github.com/containers/podman/issues/10649)).
146
- Podman can now optionally copy-up content from containers into volumes mounted into those containers earlier (at creation time, instead of at runtime) via the `prepare_on_create` option in `containers.conf` ([#10262](https://github.com/containers/podman/issues/10262)).
147
- A new option, `--gpus`, has been added to `podman create` and `podman run` as a no-op for better compatibility with Docker. If the nvidia-container-runtime package is installed, GPUs should be automatically added to containers without using the flag.
148
- If an invalid subcommand is provided, similar commands to try will now be suggested in the error message.
149
150
### Changes
151
- The `podman system reset` command now removes non-Podman (e.g. Buildah and CRI-O) containers as well.
152
- The new port forwarding offered by `podman machine` requires [gvproxy](https://github.com/containers/gvisor-tap-vsock) in order to function.
153
- Podman will now automatically create the default CNI network if it does not exist, for both root and rootless users. This will only be done once per user - if the network is subsequently removed, it will not be recreated.
154
- The `install.cni` makefile option has been removed. It is no longer required to distribute the default `87-podman.conflist` CNI configuration file, as Podman will now automatically create it.
155
- The `--root` option to Podman will not automatically clear all default storage options when set. Storage options can be set manually using `--storage-opt` ([#10393](https://github.com/containers/podman/issues/10393)).
156
- The output of `podman system connection list` is now deterministic, with connections being sorted alpabetically by their name.
157
- The auto-update service (`podman-auto-update.service`) has had its default timer adjusted so it now starts at a random time up to 15 minutes after midnight, to help prevent system congestion from numerous daily services run at once.
158
- Systemd unit files generated by `podman generate systemd` now depend on `network-online.target` by default ([#10655](https://github.com/containers/podman/issues/10655)).
159
- Systemd unit files generated by `podman generate systemd` now use `Type=notify` by default, instead of using PID files.
160
- The `podman info` command's logic for detecting package versions on Gentoo has been improved, and should be significantly faster.
161
162
### Bugfixes
163
- Fixed a bug where the `podman play kube` command did not perform SELinux relabelling of volumes specified with a `mountPath` that included the `:z` or `:Z` options ([#9371](https://github.com/containers/podman/issues/9371)).
164
- Fixed a bug where the `podman play kube` command would ignore the `USER` and `EXPOSE` directives in images ([#9609](https://github.com/containers/podman/issues/9609)).
165
- Fixed a bug where the `podman play kube` command would only accept lowercase pull policies.
166
- Fixed a bug where named volumes mounted into containers with the `:z` or `:Z` options were not appropriately relabelled for access from the container ([#10273](https://github.com/containers/podman/issues/10273)).
167
- Fixed a bug where the `podman logs -f` command, with the `journald` log driver, could sometimes fail to pick up the last line of output from a container ([#10323](https://github.com/containers/podman/issues/10323)).
168
- Fixed a bug where running `podman rm` on a container created with the `--rm` option would occasionally emit an error message saying the container failed to be removed, when it was successfully removed.
169
- Fixed a bug where starting a Podman container would segfault if the `LISTEN_PID` and `LISTEN_FDS` environment variables were set, but `LISTEN_FDNAMES` was not ([#10435](https://github.com/containers/podman/issues/10435)).
170
- Fixed a bug where exec sessions in containers were sometimes not cleaned up when run without `-d` and when the associated `podman exec` process was killed before completion.
171
- Fixed a bug where `podman system service` could, when run in a systemd unit file with sdnotify in use, drop some connections when it was starting up.
172
- Fixed a bug where containers run using the REST API using the `slirp4netns` network mode would leave zombie processes that were not cleaned up until `podman system service` exited ([#9777](https://github.com/containers/podman/issues/9777)).
173
- Fixed a bug where the `podman system service` command would leave zombie processes after its initial launch that were not cleaned up until it exited ([#10575](https://github.com/containers/podman/issues/10575)).
174
- Fixed a bug where VMs created by `podman machine` could not be started after the host system restarted ([#10824](https://github.com/containers/podman/issues/10824)).
175
- Fixed a bug where the `podman pod ps` command would not show headers for optional information (e.g. container names when the `--ctr-names` option was given).
176
- Fixed a bug where the remote Podman client's `podman create` and `podman run` commands would ignore timezone configuration from the server's `containers.conf` file ([#11124](https://github.com/containers/podman/issues/11124)).
177
- Fixed a bug where the remote Podman client's `podman build` command would only respect `.containerignore` and not `.dockerignore` files (when both are present, `.containerignore` will be preferred) ([#10907](https://github.com/containers/podman/issues/10907)).
178
- Fixed a bug where the remote Podman client's `podman build` command would fail to send the Dockerfile being built to the server when it was excluded by the `.dockerignore` file, resulting in an error ([#9867](https://github.com/containers/podman/issues/9867)).
179
- Fixed a bug where the remote Podman client's `podman build` command could unexpectedly stop streaming the output of the build ([#10154](https://github.com/containers/podman/issues/10154)).
180
- Fixed a bug where the remote Podman client's `podman build` command would fail to build when run on Windows ([#11259](https://github.com/containers/podman/issues/11259)).
181
- Fixed a bug where the `podman manifest create` command accepted at most two arguments (an arbitrary number of images are allowed as arguments, which will be added to the manifest).
182
- Fixed a bug where named volumes would not be properly chowned to the UID and GID of the directory they were mounted over when first mounted into a container ([#10776](https://github.com/containers/podman/issues/10776)).
183
- Fixed a bug where named volumes created using a volume plugin would be removed from Podman, even if the plugin reported a failure to remove the volume ([#11214](https://github.com/containers/podman/issues/11214)).
184
- Fixed a bug where the remote Podman client's `podman exec -i` command would hang when input was provided via shell redirection (e.g. `podman --remote exec -i foo cat <<<"hello"`) ([#7360](https://github.com/containers/podman/issues/7360)).
185
- Fixed a bug where containers created with `--rm` were not immediately removed after being started by `podman start` if they failed to start ([#10935](https://github.com/containers/podman/issues/10935)).
186
- Fixed a bug where the `--storage-opt` flag to `podman create` and `podman run` was nonfunctional ([#10264](https://github.com/containers/podman/issues/10264)).
187
- Fixed a bug where the `--device-cgroup-rule` option to `podman create` and `podman run` was nonfunctional ([#10302](https://github.com/containers/podman/issues/10302)).
188
- Fixed a bug where the `--tls-verify` option to `podman manifest push` was nonfunctional.
189
- Fixed a bug where the `podman import` command could, in some circumstances, produce empty images ([#10994](https://github.com/containers/podman/issues/10994)).
190
- Fixed a bug where images pulled using the `docker-daemon:` transport had the wrong registry (`localhost` instead of `docker.io/library`) ([#10998](https://github.com/containers/podman/issues/10998)).
191
- Fixed a bug where operations that pruned images (`podman image prune` and `podman system prune`) would prune untagged images with children ([#10832](https://github.com/containers/podman/issues/10832)).
192
- Fixed a bug where dual-stack networks created by `podman network create` did not properly auto-assign an IPv4 subnet when one was not explicitly specified ([#11032](https://github.com/containers/podman/issues/11032)).
193
- Fixed a bug where port forwarding using the `rootlessport` port forwarder would break when a network was disconnected and then reconnected ([#10052](https://github.com/containers/podman/issues/10052)).
194
- Fixed a bug where Podman would ignore user-specified SELinux policies for containers using the Kata OCI runtime, or containers using systemd as PID 1 ([#11100](https://github.com/containers/podman/issues/11100)).
195
- Fixed a bug where Podman containers created using `--net=host` would add an entry to `/etc/hosts` for the container's hostname pointing to `127.0.1.1` ([#10319](https://github.com/containers/podman/issues/10319)).
196
- Fixed a bug where the `podman unpause --all` command would throw an error for every container that was not paused ([#11098](https://github.com/containers/podman/issues/11098)).
197
- Fixed a bug where timestamps for the `since` and `until` filters using Unix timestamps with a nanoseconds portion could not be parsed ([#11131](https://github.com/containers/podman/issues/11131)).
198
- Fixed a bug where the `podman info` command would sometimes print the wrong path for the `slirp4netns` binary.
199
- Fixed a bug where rootless Podman containers joined to a CNI network would not have functional DNS when the host used systemd-resolved without the resolved stub resolver being enabled ([#11222](https://github.com/containers/podman/issues/11222)).
200
- Fixed a bug where `podman network connect` and `podman network disconnect` of rootless containers could sometimes break port forwarding to the container ([#11248](https://github.com/containers/podman/issues/11248)).
201
- Fixed a bug where joining a container to a CNI network by ID and adding network aliases to this network would cause the container to fail to start ([#11285](https://github.com/containers/podman/issues/11285)).
202
203
### API
204
- Fixed a bug where the Compat List endpoint for Containers included healthcheck information for all containers, even those that did not have a configured healthcheck.
205
- Fixed a bug where the Compat Create endpoint for Containers would fail to create containers with the `NetworkMode` parameter set to `default` ([#10569](https://github.com/containers/podman/issues/10569)).
206
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle healthcheck commands ([#10617](https://github.com/containers/podman/issues/10617)).
207
- Fixed a bug where the Compat Wait endpoint for Containers would always send an empty string error message when no error occurred.
208
- Fixed a bug where the Libpod Stats endpoint for Containers would not error when run on rootless containers on cgroups v1 systems (nonsensical results would be returned, as this configuration cannot be supportable).
209
- Fixed a bug where the Compat List endpoint for Images omitted the `ContainerConfig` field ([#10795](https://github.com/containers/podman/issues/10795)).
210
- Fixed a bug where the Compat Build endpoint for Images was too strict when validating the `Content-Type` header, rejecting content that Docker would have accepted ([#11022](https://github.com/containers/podman/issues/11012)).
211
- Fixed a bug where the Compat Pull endpoint for Images could fail, but return a 200 status code, if an image name that could not be parsed was provided.
212
- Fixed a bug where the Compat Pull endpoint for Images would continue to pull images after the client disconnected.
213
- Fixed a bug where the Compat List endpoint for Networks would fail for non-bridge (e.g. macvlan) networks ([#10266](https://github.com/containers/podman/issues/10266)).
214
- Fixed a bug where the Libpod List endpoint for Networks would return nil, instead of an empty list, when no networks were present ([#10495](https://github.com/containers/podman/issues/10495)).
215
- The Compat and Libpod Logs endpoints for Containers now support the `until` query parameter ([#10859](https://github.com/containers/podman/issues/10859)).
216
- The Compat Import endpoint for Images now supports the `platform`, `message`, and `repo` query parameters.
217
- The Compat Pull endpoint for Images now supports the `platform` query parameter.
218
219
### Misc
220
- Updated Buildah to v1.22.3
221
- Updated the containers/storage library to v1.34.1
222
- Updated the containers/image library to v5.15.2
223
- Updated the containers/common library to v0.42.1
224
225
226
3.3.0-RC3:
227
228
This is the third release candidate of Podman v3.3.0
229
230
Preliminary release notes follow:
231
### Features
232
- Containers inside VMs created by `podman machine` will now automatically handle port forwarding - containers in `podman machine` VMs that publish ports via `--publish` or `--publish-all` will have these ports not just forwarded on the VM, but also on the host system.
233
- The `podman play kube` command's `--network` option now accepts advanced network options (e.g. `--network slirp4netns:port_handler=slirp4netns`) ([#10807](https://github.com/containers/podman/issues/10807)).
234
- The `podman play kube` commmand now supports Kubernetes liveness probes, which will be created as Podman healthchecks.
235
- Podman now provides a systemd unit, `podman-restart.service`, which, when enabled, will restart all containers that were started with `--restart=always` after the system reboots.
236
- Rootless Podman can now be configured to use CNI networking by default by using the `rootless_networking` option in `containers.conf`.
237
- Images can now be pulled using `image:tag@digest` syntax (e.g. `podman pull fedora:34@sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a`) ([#6721](https://github.com/containers/podman/issues/6721)).
238
- The `podman container checkpoint` and `podman container restore` commands can now be used to checkpoint containers that are in pods, and restore those containers into pods.
239
- The `podman container restore` command now features a new option, `--publish`, to change the ports that are forwarded to a container that is being restored from an exported checkpoint.
240
- The `podman container checkpoint` command now features a new option, `--compress`, to specify the compression algorithm that will be used on the generated checkpoint.
241
- The `podman pull` command can now pull multiple images at once (e.g. `podman pull fedora:34 ubi8:latest` will pull both specified images).
242
- THe `podman cp` command can now copy files from one container into another directly (e.g. `podman cp containera:/etc/hosts containerb:/etc/`) ([#7370](https://github.com/containers/podman/issues/7370)).
243
- The `podman cp` command now supports a new option, `--archive`, which controls whether copied files will be chown'd to the UID and GID of the user of the destination container.
244
- The `podman stats` command now provides two additional metrics: Average CPU, and CPU time.
245
- The `podman pod create` command supports a new flag, `--pid`, to specify the PID namespace of the pod. If specified, containers that join the pod will automatically share its PID namespace.
246
- The `podman pod create` command supports a new flag, `--infra-name`, which allows the name of the pod's infra container to be set ([#10794](https://github.com/containers/podman/issues/10794)).
247
- The `podman auto-update` command has had its output reformatted - it is now much clearer what images were pulled and what containers were updated.
248
- The `podman auto-update` command now supports a new option, `--dry-run`, which reports what would be updated but does not actually perform the update ([#9949](https://github.com/containers/podman/issues/9949)).
249
- The `podman build` command now supports a new option, `--secret`, to mount secrets into build containers.
250
- The `podman manifest remove` command now has a new alias, `podman manifest rm`.
251
- The `podman login` command now supports a new option, `--verbose`, to print detailed information about where the credentials entered were stored.
252
- The `podman events` command now supports a new event, `exec_died`, which is produced when an exec session exits, and includes the exit code of the exec session.
253
- The `podman system connection add` command now supports adding connections that connect using the `tcp://` and `unix://` URL schemes.
254
- The `podman system connection list` command now supports a new flag, `--format`, to determine how the output is printed.
255
- The `podman volume prune` and `podman volume ls` commands' `--filter` option now support a new filter, `until`, that matches volumes created before a certain time ([#10579](https://github.com/containers/podman/issues/10579)).
256
- The `podman ps --filter` option's `network` filter now accepts a new value: `container:`, which matches containers that share a network namespace with a specific container ([#10361](https://github.com/containers/podman/issues/10361)).
257
- The `podman diff` command can now accept two arguments, allowing two images or two containers to be specified; the diff between the two will be printed ([#10649](https://github.com/containers/podman/issues/10649)).
258
- Podman can now optionally copy-up content from containers into volumes mounted into those containers earlier (at creation time, instead of at runtime) via the `prepare_on_create` option in `containers.conf` ([#10262](https://github.com/containers/podman/issues/10262)).
259
- A new option, `--gpus`, has been added to `podman create` and `podman run` as a no-op for better compatibility with Docker. If the nvidia-container-runtime package is installed, GPUs should be automatically added to containers without using the flag.
260
- If an invalid subcommand is provided, similar commands to try will now be suggested in the error message.
261
262
### Changes
263
- The `podman system reset` command now removes non-Podman (e.g. Buildah and CRI-O) containers as well.
264
- The new port forwarding offered by `podman machine` requires [gvproxy](https://github.com/containers/gvisor-tap-vsock) in order to function.
265
- Podman will now automatically create the default CNI network if it does not exist, for both root and rootless users. This will only be done once per user - if the network is subsequently removed, it will not be recreated.
266
- The `install.cni` makefile option has been removed. It is no longer required to distribute the default `87-podman.conflist` CNI configuration file, as Podman will now automatically create it.
267
- The `--root` option to Podman will not automatically clear all default storage options when set. Storage options can be set manually using `--storage-opt` ([#10393](https://github.com/containers/podman/issues/10393)).
268
- The output of `podman system connection list` is now deterministic, with connections being sorted alpabetically by their name.
269
- The auto-update service (`podman-auto-update.service`) has had its default timer adjusted so it now starts at a random time up to 15 minutes after midnight, to help prevent system congestion from numerous daily services run at once.
270
- Systemd unit files generated by `podman generate systemd` now depend on `network-online.target` by default ([#10655](https://github.com/containers/podman/issues/10655)).
271
- The `podman info` command's logic for detecting package versions on Gentoo has been improved, and should be significantly faster.
272
273
### Bugfixes
274
- Fixed a bug where the `podman play kube` command did not perform SELinux relabelling of volumes specified with a `mountPath` that included the `:z` or `:Z` options ([#9371](https://github.com/containers/podman/issues/9371)).
275
- Fixed a bug where the `podman play kube` command would ignore the `USER` and `EXPOSE` directives in images ([#9609](https://github.com/containers/podman/issues/9609)).
276
- Fixed a bug where the `podman play kube` command would only accept lowercase pull policies.
277
- Fixed a bug where named volumes mounted into containers with the `:z` or `:Z` options were not appropriately relabelled for access from the container ([#10273](https://github.com/containers/podman/issues/10273)).
278
- Fixed a bug where the `podman logs -f` command, with the `journald` log driver, could sometimes fail to pick up the last line of output from a container ([#10323](https://github.com/containers/podman/issues/10323)).
279
- Fixed a bug where running `podman rm` on a container created with the `--rm` option would occasionally emit an error message saying the container failed to be removed, when it was successfully removed.
280
- Fixed a bug where starting a Podman container would segfault if the `LISTEN_PID` and `LISTEN_FDS` environment variables were set, but `LISTEN_FDNAMES` was not ([#10435](https://github.com/containers/podman/issues/10435)).
281
- Fixed a bug where exec sessions in containers were sometimes not cleaned up when run without `-d` and when the associated `podman exec` process was killed before completion.
282
- Fixed a bug where `podman system service` could, when run in a systemd unit file with sdnotify in use, drop some connections when it was starting up.
283
- Fixed a bug where containers run using the REST API using the `slirp4netns` network mode would leave zombie processes that were not cleaned up until `podman system service` exited ([#9777](https://github.com/containers/podman/issues/9777)).
284
- Fixed a bug where the `podman system service` command would leave zombie processes after its initial launch that were not cleaned up until it exited ([#10575](https://github.com/containers/podman/issues/10575)).
285
- Fixed a bug where VMs created by `podman machine` could not be started after the host system restarted ([#10824](https://github.com/containers/podman/issues/10824)).
286
- Fixed a bug where the `podman pod ps` command would not show headers for optional information (e.g. container names when the `--ctr-names` option was given).
287
- Fixed a bug where the remote Podman client's `podman create` and `podman run` commands would ignore timezone configuration from the server's `containers.conf` file ([#11124](https://github.com/containers/podman/issues/11124)).
288
- Fixed a bug where the remote Podman client's `podman build` command would only respect `.containerignore` and not `.dockerignore` files (when both are present, `.containerignore` will be preferred) ([#10907](https://github.com/containers/podman/issues/10907)).
289
- Fixed a bug where the remote Podman client's `podman build` command would fail to send the Dockerfile being built to the server when it was excluded by the `.dockerignore` file, resulting in an error ([#9867](https://github.com/containers/podman/issues/9867)).
290
- Fixed a bug where the remote Podman client's `podman build` command could unexpectedly stop streaming the output of the build ([#10154](https://github.com/containers/podman/issues/10154)).
291
- Fixed a bug where the `podman manifest create` command accepted at most two arguments (an arbitrary number of images are allowed as arguments, which will be added to the manifest).
292
- Fixed a bug where named volumes would not be properly chowned to the UID and GID of the directory they were mounted over when first mounted into a container ([#10776](https://github.com/containers/podman/issues/10776)).
293
- Fixed a bug where the remote Podman client's `podman exec -i` command would hang when input was provided via shell redirection (e.g. `podman --remote exec -i foo cat <<<"hello"`) ([#7360](https://github.com/containers/podman/issues/7360)).
294
- Fixed a bug where containers created with `--rm` were not immediately removed after being started by `podman start` if they failed to start ([#10935](https://github.com/containers/podman/issues/10935)).
295
- Fixed a bug where the `--storage-opt` flag to `podman create` and `podman run` was nonfunctional ([#10264](https://github.com/containers/podman/issues/10264)).
296
- Fixed a bug where the `--device-cgroup-rule` option to `podman create` and `podman run` was nonfunctional ([#10302](https://github.com/containers/podman/issues/10302)).
297
- Fixed a bug where the `--tls-verify` option to `podman manifest push` was nonfunctional.
298
- Fixed a bug where the `podman import` command could, in some circumstances, produce empty images ([#10994](https://github.com/containers/podman/issues/10994)).
299
- Fixed a bug where images pulled using the `docker-daemon:` transport had the wrong registry (`localhost` instead of `docker.io/library`) ([#10998](https://github.com/containers/podman/issues/10998)).
300
- Fixed a bug where operations that pruned images (`podman image prune` and `podman system prune`) would prune untagged images with children ([#10832](https://github.com/containers/podman/issues/10832)).
301
- Fixed a bug where dual-stack networks created by `podman network create` did not properly auto-assign an IPv4 subnet when one was not explicitly specified ([#11032](https://github.com/containers/podman/issues/11032)).
302
- Fixed a bug where port forwarding using the `rootlessport` port forwarder would break when a network was disconnected and then reconnected ([#10052](https://github.com/containers/podman/issues/10052)).
303
- Fixed a bug where Podman would ignore user-specified SELinux policies for containers using the Kata OCI runtime, or containers using systemd as PID 1 ([#11100](https://github.com/containers/podman/issues/11100)).
304
- Fixed a bug where Podman containers created using `--net=host` would add an entry to `/etc/hosts` for the container's hostname pointing to `127.0.1.1` ([#10319](https://github.com/containers/podman/issues/10319)).
305
- Fixed a bug where the `podman unpause --all` command would throw an error for every container that was not paused ([#11098](https://github.com/containers/podman/issues/11098)).
306
- Fixed a bug where timestamps for the `since` and `until` filters using Unix timestamps with a nanoseconds portion could not be parsed ([#11131](https://github.com/containers/podman/issues/11131)).
307
- Fixed a bug where the `podman info` command would sometimes print the wrong path for the `slirp4netns` binary.
308
309
### API
310
- Fixed a bug where the Compat List endpoint for Containers included healthcheck information for all containers, even those that did not have a configured healthcheck.
311
- Fixed a bug where the Compat Create endpoint for Containers would fail to create containers with the `NetworkMode` parameter set to `default` ([#10569](https://github.com/containers/podman/issues/10569)).
312
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle healthcheck commands ([#10617](https://github.com/containers/podman/issues/10617)).
313
- Fixed a bug where the Compat Wait endpoint for Containers would always send an empty string error message when no error occurred.
314
- Fixed a bug where the Libpod Stats endpoint for Containers would not error when run on rootless containers on cgroups v1 systems (nonsensical results would be returned, as this configuration cannot be supportable).
315
- Fixed a bug where the Compat List endpoint for Images omitted the `ContainerConfig` field ([#10795](https://github.com/containers/podman/issues/10795)).
316
- Fixed a bug where the Compat Pull endpoint for Images could fail, but return a 200 status code, if an image name that could not be parsed was provided.
317
- Fixed a bug where the Compat Pull endpoint for Images would continue to pull images after the client disconnected.
318
- Fixed a bug where the Compat List endpoint for Networks would fail for non-bridge (e.g. macvlan) networks ([#10266](https://github.com/containers/podman/issues/10266)).
319
- Fixed a bug where the Libpod List endpoint for Networks would return nil, instead of an empty list, when no networks were present ([#10495](https://github.com/containers/podman/issues/10495)).
320
- The Compat and Libpod Logs endpoints for Containers now support the `until` query parameter ([#10859](https://github.com/containers/podman/issues/10859)).
321
- The Compat Import endpoint for Images now supports the `platform`, `message`, and `repo` query parameters.
322
- The Compat Pull endpoint for Images now supports the `platform` query parameter.
323
324
### Misc
325
- Updated Buildah to v1.22.0
326
- Updated the containers/storage library to v1.34.1
327
- Updated the containers/image library to v5.15.1
328
- Updated the containers/common library to v0.42.1
329
330
331
3.3.0-RC2:
332
333
### Features
334
- Containers inside VMs created by `podman machine` will now automatically handle port forwarding - containers in `podman machine` VMs that publish ports via `--publish` or `--publish-all` will have these ports not just forwarded on the VM, but also on the host system.
335
- The `podman play kube` command's `--network` option now accepts advanced network options (e.g. `--network slirp4netns:port_handler=slirp4netns`) ([#10807](https://github.com/containers/podman/issues/10807)).
336
- The `podman play kube` commmand now supports Kubernetes liveness probes, which will be created as Podman healthchecks.
337
- Podman now provides a systemd unit, `podman-restart.service`, which, when enabled, will restart all containers that were started with `--restart=always` after the system reboots.
338
- Rootless Podman can now be configured to use CNI networking by default by using the `rootless_networking` option in `containers.conf`.
339
- Images can now be pulled using `image:tag@digest` syntax (e.g. `podman pull fedora:34@sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a`) ([#6721](https://github.com/containers/podman/issues/6721)).
340
- The `podman container checkpoint` and `podman container restore` commands can now be used to checkpoint containers that are in pods, and restore those containers into pods.
341
- The `podman container restore` command now features a new option, `--publish`, to change the ports that are forwarded to a container that is being restored from an exported checkpoint.
342
- The `podman container checkpoint` command now features a new option, `--compress`, to specify the compression algorithm that will be used on the generated checkpoint.
343
- The `podman pull` command can now pull multiple images at once (e.g. `podman pull fedora:34 ubi8:latest` will pull both specified images).
344
- THe `podman cp` command can now copy files from one container into another directly (e.g. `podman cp containera:/etc/hosts containerb:/etc/`) ([#7370](https://github.com/containers/podman/issues/7370)).
345
- The `podman cp` command now supports a new option, `--archive`, which controls whether copied files will be chown'd to the UID and GID of the user of the destination container.
346
- The `podman stats` command now provides two additional metrics: Average CPU, and CPU time.
347
- The `podman pod create` command supports a new flag, `--pid`, to specify the PID namespace of the pod. If specified, containers that join the pod will automatically share its PID namespace.
348
- The `podman pod create` command supports a new flag, `--infra-name`, which allows the name of the pod's infra container to be set ([#10794](https://github.com/containers/podman/issues/10794)).
349
- The `podman auto-update` command has had its output reformatted - it is now much clearer what images were pulled and what containers were updated.
350
- The `podman auto-update` command now supports a new option, `--dry-run`, which reports what would be updated but does not actually perform the update ([#9949](https://github.com/containers/podman/issues/9949)).
351
- The `podman build` command now supports a new option, `--secret`, to mount secrets into build containers.
352
- The `podman manifest remove` command now has a new alias, `podman manifest rm`.
353
- The `podman login` command now supports a new option, `--verbose`, to print detailed information about where the credentials entered were stored.
354
- The `podman events` command now supports a new event, `exec_died`, which is produced when an exec session exits, and includes the exit code of the exec session.
355
- The `podman system connection add` command now supports adding connections that connect using the `tcp://` and `unix://` URL schemes.
356
- The `podman system connection list` command now supports a new flag, `--format`, to determine how the output is printed.
357
- The `podman volume prune` and `podman volume ls` commands' `--filter` option now support a new filter, `until`, that matches volumes created before a certain time ([#10579](https://github.com/containers/podman/issues/10579)).
358
- The `podman ps --filter` option's `network` filter now accepts a new value: `container:`, which matches containers that share a network namespace with a specific container ([#10361](https://github.com/containers/podman/issues/10361)).
359
- The `podman diff` command can now accept two arguments, allowing two images or two containers to be specified; the diff between the two will be printed ([#10649](https://github.com/containers/podman/issues/10649)).
360
- Podman can now optionally copy-up content from containers into volumes mounted into those containers earlier (at creation time, instead of at runtime) via the `prepare_on_create` option in `containers.conf` ([#10262](https://github.com/containers/podman/issues/10262)).
361
- A new option, `--gpus`, has been added to `podman create` and `podman run` as a no-op for better compatibility with Docker. If the nvidia-container-runtime package is installed, GPUs should be automatically added to containers without using the flag.
362
- If an invalid subcommand is provided, similar commands to try will now be suggested in the error message.
363
364
### Changes
365
- The `podman system reset` command now removes non-Podman (e.g. Buildah and CRI-O) containers as well.
366
- The new port forwarding offered by `podman machine` requires [gvproxy](https://github.com/containers/gvisor-tap-vsock) in order to function.
367
- Podman will now automatically create the default CNI network if it does not exist, for both root and rootless users. This will only be done once per user - if the network is subsequently removed, it will not be recreated.
368
- The `install.cni` makefile option has been removed. It is no longer required to distribute the default `87-podman.conflist` CNI configuration file, as Podman will now automatically create it.
369
- The `--root` option to Podman will not automatically clear all default storage options when set. Storage options can be set manually using `--storage-opt` ([#10393](https://github.com/containers/podman/issues/10393)).
370
- The output of `podman system connection list` is now deterministic, with connections being sorted alpabetically by their name.
371
- The auto-update service (`podman-auto-update.service`) has had its default timer adjusted so it now starts at a random time up to 15 minutes after midnight, to help prevent system congestion from numerous daily services run at once.
372
- Systemd unit files generated by `podman generate systemd` now depend on `network-online.target` by default ([#10655](https://github.com/containers/podman/issues/10655)).
373
- The `podman info` command's logic for detecting package versions on Gentoo has been improved, and should be significantly faster.
374
375
### Bugfixes
376
- Fixed a bug where the `podman play kube` command did not perform SELinux relabelling of volumes specified with a `mountPath` that included the `:z` or `:Z` options ([#9371](https://github.com/containers/podman/issues/9371)).
377
- Fixed a bug where the `podman play kube` command would ignore the `USER` and `EXPOSE` directives in images ([#9609](https://github.com/containers/podman/issues/9609)).
378
- Fixed a bug where the `podman play kube` command would only accept lowercase pull policies.
379
- Fixed a bug where named volumes mounted into containers with the `:z` or `:Z` options were not appropriately relabelled for access from the container ([#10273](https://github.com/containers/podman/issues/10273)).
380
- Fixed a bug where the `podman logs -f` command, with the `journald` log driver, could sometimes fail to pick up the last line of output from a container ([#10323](https://github.com/containers/podman/issues/10323)).
381
- Fixed a bug where running `podman rm` on a container created with the `--rm` option would occasionally emit an error message saying the container failed to be removed, when it was successfully removed.
382
- Fixed a bug where starting a Podman container would segfault if the `LISTEN_PID` and `LISTEN_FDS` environment variables were set, but `LISTEN_FDNAMES` was not ([#10435](https://github.com/containers/podman/issues/10435)).
383
- Fixed a bug where exec sessions in containers were sometimes not cleaned up when run without `-d` and when the associated `podman exec` process was killed before completion.
384
- Fixed a bug where `podman system service` could, when run in a systemd unit file with sdnotify in use, drop some connections when it was starting up.
385
- Fixed a bug where containers run using the REST API using the `slirp4netns` network mode would leave zombie processes that were not cleaned up until `podman system service` exited ([#9777](https://github.com/containers/podman/issues/9777)).
386
- Fixed a bug where the `podman system service` command would leave zombie processes after its initial launch that were not cleaned up until it exited ([#10575](https://github.com/containers/podman/issues/10575)).
387
- Fixed a bug where VMs created by `podman machine` could not be started after the host system restarted ([#10824](https://github.com/containers/podman/issues/10824)).
388
- Fixed a bug where the `podman pod ps` command would not show headers for optional information (e.g. container names when the `--ctr-names` option was given).
389
- Fixed a bug where the remote Podman client's `podman create` and `podman run` commands would ignore timezone configuration from the server's `containers.conf` file ([#11124](https://github.com/containers/podman/issues/11124)).
390
- Fixed a bug where the remote Podman client's `podman build` command would only respect `.containerignore` and not `.dockerignore` files (when both are present, `.containerignore` will be preferred) ([#10907](https://github.com/containers/podman/issues/10907)).
391
- Fixed a bug where the remote Podman client's `podman build` command would fail to send the Dockerfile being built to the server when it was excluded by the `.dockerignore` file, resulting in an error ([#9867](https://github.com/containers/podman/issues/9867)).
392
- Fixed a bug where the remote Podman client's `podman build` command could unexpectedly stop streaming the output of the build ([#10154](https://github.com/containers/podman/issues/10154)).
393
- Fixed a bug where the `podman manifest create` command accepted at most two arguments (an arbitrary number of images are allowed as arguments, which will be added to the manifest).
394
- Fixed a bug where named volumes would not be properly chowned to the UID and GID of the directory they were mounted over when first mounted into a container ([#10776](https://github.com/containers/podman/issues/10776)).
395
- Fixed a bug where the remote Podman client's `podman exec -i` command would hang when input was provided via shell redirection (e.g. `podman --remote exec -i foo cat <<<"hello"`) ([#7360](https://github.com/containers/podman/issues/7360)).
396
- Fixed a bug where containers created with `--rm` were not immediately removed after being started by `podman start` if they failed to start ([#10935](https://github.com/containers/podman/issues/10935)).
397
- Fixed a bug where the `--storage-opt` flag to `podman create` and `podman run` was nonfunctional ([#10264](https://github.com/containers/podman/issues/10264)).
398
- Fixed a bug where the `--device-cgroup-rule` option to `podman create` and `podman run` was nonfunctional ([#10302](https://github.com/containers/podman/issues/10302)).
399
- Fixed a bug where the `--tls-verify` option to `podman manifest push` was nonfunctional.
400
- Fixed a bug where the `podman import` command could, in some circumstances, produce empty images ([#10994](https://github.com/containers/podman/issues/10994)).
401
- Fixed a bug where images pulled using the `docker-daemon:` transport had the wrong registry (`localhost` instead of `docker.io/library`) ([#10998](https://github.com/containers/podman/issues/10998)).
402
- Fixed a bug where operations that pruned images (`podman image prune` and `podman system prune`) would prune untagged images with children ([#10832](https://github.com/containers/podman/issues/10832)).
403
- Fixed a bug where dual-stack networks created by `podman network create` did not properly auto-assign an IPv4 subnet when one was not explicitly specified ([#11032](https://github.com/containers/podman/issues/11032)).
404
- Fixed a bug where port forwarding using the `rootlessport` port forwarder would break when a network was disconnected and then reconnected ([#10052](https://github.com/containers/podman/issues/10052)).
405
- Fixed a bug where Podman would ignore user-specified SELinux policies for containers using the Kata OCI runtime, or containers using systemd as PID 1 ([#11100](https://github.com/containers/podman/issues/11100)).
406
- Fixed a bug where Podman containers created using `--net=host` would add an entry to `/etc/hosts` for the container's hostname pointing to `127.0.1.1` ([#10319](https://github.com/containers/podman/issues/10319)).
407
- Fixed a bug where the `podman unpause --all` command would throw an error for every container that was not paused ([#11098](https://github.com/containers/podman/issues/11098)).
408
- Fixed a bug where timestamps for the `since` and `until` filters using Unix timestamps with a nanoseconds portion could not be parsed ([#11131](https://github.com/containers/podman/issues/11131)).
409
- Fixed a bug where the `podman info` command would sometimes print the wrong path for the `slirp4netns` binary.
410
411
### API
412
- Fixed a bug where the Compat List endpoint for Containers included healthcheck information for all containers, even those that did not have a configured healthcheck.
413
- Fixed a bug where the Compat Create endpoint for Containers would fail to create containers with the `NetworkMode` parameter set to `default` ([#10569](https://github.com/containers/podman/issues/10569)).
414
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle healthcheck commands ([#10617](https://github.com/containers/podman/issues/10617)).
415
- Fixed a bug where the Compat Wait endpoint for Containers would always send an empty string error message when no error occurred.
416
- Fixed a bug where the Libpod Stats endpoint for Containers would not error when run on rootless containers on cgroups v1 systems (nonsensical results would be returned, as this configuration cannot be supportable).
417
- Fixed a bug where the Compat List endpoint for Images omitted the `ContainerConfig` field ([#10795](https://github.com/containers/podman/issues/10795)).
418
- Fixed a bug where the Compat Pull endpoint for Images could fail, but return a 200 status code, if an image name that could not be parsed was provided.
419
- Fixed a bug where the Compat Pull endpoint for Images would continue to pull images after the client disconnected.
420
- Fixed a bug where the Compat List endpoint for Networks would fail for non-bridge (e.g. macvlan) networks ([#10266](https://github.com/containers/podman/issues/10266)).
421
- Fixed a bug where the Libpod List endpoint for Networks would return nil, instead of an empty list, when no networks were present ([#10495](https://github.com/containers/podman/issues/10495)).
422
- The Compat and Libpod Logs endpoints for Containers now support the `until` query parameter ([#10859](https://github.com/containers/podman/issues/10859)).
423
- The Compat Import endpoint for Images now supports the `platform`, `message`, and `repo` query parameters.
424
- The Compat Pull endpoint for Images now supports the `platform` query parameter.
425
426
### Misc
427
- Updated Buildah to v1.22.0
428
- Updated the containers/storage library to v1.33.1
429
- Updated the containers/image library to v5.15.0
430
- Updated the containers/common library to v0.42.1
431
432
433
- Update storage to 1.36.0
434
435
1.36.0:
436
437
(*Store)Layer(): fix race when loading layers
438
Add Inodes to OverlayOptionsConfig
439
build(deps): bump github.com/Microsoft/hcsshim from 0.8.20 to 0.8.22
440
build(deps): bump github.com/containerd/stargz-snapshotter/estargz
441
build(deps): bump github.com/klauspost/compress from 1.13.4 to 1.13.5
442
build(deps): bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5
443
chunked: cache all the files with the same digest
444
chunked: do not store the digest if it is empty
445
chunked: estargz support
446
chunked: fix linkat for rootless
447
chunked: restrict dedup with hard links
448
449
450
1.35.0:
451
452
chunked: add new pull options use_hard_links and enable_partial_images
453
build(deps): bump github.com/vbatts/tar-split from 0.11.1 to 0.11.2
454
build(deps): bump github.com/opencontainers/runc from 1.0.1 to 1.0.2
455
Update golang.org/x/sys
456
Add LayerOptions.OriginalDigest and LayerOptions.UncompressedDigest
457
Separate the IDMappingOptions logic from other LayerOptions work
458
Reorganize uncompressedCounter
459
Only compute {un,}compressedDigester.Digest() once
460
Reorganize the "defragmented" reader construction a bit.
461
Rename {un,}compressedDigest to {un,}compressedDigester
462
Have NewReadCloserWrapper pass through io.WriterTo
463
chunked: remove unused args
464
chunked: fix fd leak on error
465
chunked: remove unused argument missingDirsMode
466
chunked: add new pull option use_hard_links
467
chunked: allow to disable partial images feature
468
469
470
1.34.1:
471
472
types: on error fallback to filepath.Clean()
473
build(deps): bump github.com/klauspost/compress from 1.13.3 to 1.13.4
474
Add codespell fixes
475
ApplyDiff: compress saved headers without concurrency
476
build(deps): bump github.com/opencontainers/selinux from 1.8.3 to 1.8.4
477
478
479
1.34.0:
480
481
overlay: check for aufs-style whiteout at startup
482
Invert libsubid tag
483
484
485
1.33.2:
486
487
build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1
488
Follow symlinks if they exists
489
idtools: add support for libsubid
490
Makefile: use buildtags for golangci-lint
491
Cirrus: Use fresh VM & Container images
492
build(deps): bump github.com/opencontainers/selinux from 1.8.2 to 1.8.3
493
build(deps): bump github.com/klauspost/compress from 1.13.1 to 1.13.3
494
495
496
1.33.1:
497
498
Fix handling of quota on volumes
499
500
501
1.33.0:
502
503
Add inode support to quota
504
Creating fifo files while non root should be supported
505
Revert #952, we don't want to use /run/user on non systemd systems
506
Split pkg/chunked.ZstdCompressor into a separate subpackage
507
Update docs/containers-storage.conf.5.md
508
build(deps): bump github.com/opencontainers/runc from 1.0.0 to 1.0.1
509
overlay: check if we can mknod() kernel whiteout
510
511
512
- Update image to 5.16.0
513
514
v0.44.0:
515
* Add HelperBinariesDir field to engine config
516
* Add space trimming check in sysctl.Validate
517
* Cirrus: Use fresher VM images
518
* Fix `pkg/sysctl` path typo
519
* Fix the fallback runtime path
520
* Switch default Rootless Networking to "CNI" for OSX
521
* Update pkg/sysctl/sysctl.go
522
* add some cni plugin paths
523
* build(deps): bump github.com/containers/image/v5 from 5.15.0 to 5.16.0
524
* build(deps): bump github.com/containers/storage from 1.34.0 to 1.35.0
525
* build(deps): bump github.com/onsi/gomega from 1.15.0 to 1.16.0
526
* build(deps): bump github.com/opencontainers/runc from 1.0.1 to 1.0.2
527
* build(deps): bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5
528
* docs/containers.conf.5.md: Fix manpage section
529
* fix untag + v0.43.2
530
* libimage: disk usage: catch corrupted images
531
* libimage: relax untag by digest checks
532
* path: dest paths inside container should always be treated as *nix type
533
* remove-image: Add optional `LookupManifest` to RemoveImagesOptions.
534
* runtime: Add ReturnManifestIfPresent to LookupImageOptions
535
* runtime: Add `ManifestList` to `LookupImageOptions`
536
* seccomp: allow memfd_secret
537
538
v0.43.2:
539
* libimage: relax untag by digest checks
540
* path: dest paths inside container should always be treated as *nix type
541
542
v0.43.1:
543
* Fix spelling mistakes
544
* Fix examples in containers.conf
545
546
v0.43.0:
547
* Add documentation for Containerfile and Dockerfile
548
* Remove no_libsubid flag
549
* Add machine_image to containers.conf
550
* build(deps): bump github.com/containers/storage from 1.33.1 to 1.34.0
551
* build(deps): bump github.com/opencontainers/selinux from 1.8.2 to 1.8.4
552
* Add machine_image to containers.conf
553
* Switch default logdriver and eventslogger to journald, if root
554
* build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1
555
* build(deps): bump github.com/onsi/gomega from 1.14.0 to 1.15.0
556
* libimage: {un}tag: reject digests
557
* build(deps): bump github.com/docker/docker from 20.10.7+incompatible to 20.10.8+incompatible
558
* style: complete containers#556 to-do list part 4
559
* build(deps): bump github.com/containers/image/v5 from 5.14.0 to 5.15.0
560
* set GOPROXY=https://proxy.golang.org
561
562
v0.42.1:
563
* pull: fallthrough for registry parsing errors
564
565
v0.42.0:
566
* Remove --accept-repositories flag
567
* pull policy: support camel cases
568
* Use authfile in options to search image
569
* vendor in containers/storage v1.33.0
570
* config: split arguments in DBUS_SESSION_BUS_ADDRESS
571
* pkg/seccomp: avoid DefaultErrnoRet: null
572
* Add and use libimage.Runtime.imageIDsForManifest()
573
* Add libimage/manifests.LockerForImage()
574
* Add support for path based registry in login/logout
575
* libimage: pull: normalize docker-daemon
576
* libimage: report all removed images
577
* libruntime: layer tree: handle empty images
578
* refine dangling filters
579
* libimage.RuntimeFromStore(): stop overriding the BlobInfoCache location
580
* build(deps): bump github.com/opencontainers/runc from 1.0.0 to 1.0.1
581
* pull with custom platform: handle "localhost/"
582
* User option to prepare container after creation for volume copy-up. Docker does this by default.
583
* add config option for ChownCopiedFiles
584
* build(deps): bump github.com/containers/storage from 1.32.5 to 1.32.6
585
* libimage: image tree: fix nil deref
586
587
588
-------------------------------------------------------------------
589
Fri Sep 17 09:23:33 UTC 2021 - Richard Brown <rbrown@suse.com>
590
591
- Comment out ostree_repo if it's blank [boo#1189893]
592
593
-------------------------------------------------------------------
594
Mon Sep 6 16:08:36 UTC 2021 - Richard Brown <rbrown@suse.com>
595
596
- Comment out ostree_repo [boo#1189893]
597
598
-------------------------------------------------------------------
599
Fri Jul 23 08:31:52 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
600
601
- Update common to 0.41.0
602
603
0.38.18:
604
605
[0.38] seccomp: add support for defaultErrnoRet
606
607
608
0.41.0:
609
610
Allow /etc/containers/containers.conf to be read by non-root
611
Created numMem_linux.go and numMem.go and nummem_unsupported.go
612
Fix default definition of secrets in containers.conf
613
Report bad entries in containers.conf to the user
614
add shelldriver.
615
build(deps): bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2
616
build(deps): bump github.com/containers/storage from 1.32.2 to 1.32.5
617
build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.4.1
618
build(deps): bump github.com/onsi/gomega from 1.13.0 to 1.14.0
619
build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1
620
feat: add shell secret driver.
621
libimage: LookupImage: remove IgnorePlatform option
622
libimage: `(*Runtime).SystemContext()`
623
libimage: events: deferred write
624
libimage: force internal image lookups to ignore arch
625
libimage: import: fix tags
626
libimage: pull: enforce pull policy for custom platforms
627
libimage: pull: ignore platform for local image lookup
628
libimage: pull: override even --pull=never with custom platform
629
pull: custom platform: do not use local image name
630
631
632
0.38.13:
633
634
* libimage: events: deferred write
635
636
0.38.12:
637
638
* pull: custom platform: do not use local image name
639
640
0.40.1:
641
642
Vendor in containers/image v5.13.2
643
seccomp: tweak default profile (followup for #573)
644
libimage: lookup images by custom platform
645
libimage: force remove: only untag on multi tag image
646
build(deps): bump github.com/containers/image/v5 from 5.13.0 to 5.13.1
647
Set BigFilesTemporaryDir to GetEnv(TMPDIR) if set or /var/tmp
648
seccomp: always allow get_mempolicy, set_mempolicy, mbind
649
seccomp: let membarrier fail with ENOSYS
650
seccomp: allow rseq
651
seccomp: allow pkey_*
652
seccomp: let io_uring_* fail with ENOSYS
653
seccomp: allow clone3
654
655
0.40.0:
656
657
Add default for log-tag
658
Add support for config drop in directories
659
Do not set the default netns
660
Don't use systemd defaults if /proc/1/comm != systemd
661
Fix spacing on name value pairs to be consistent
662
Leave default seccomp path empty
663
Sort containers.conf and containers.conf.5.md
664
Strip extra trailing newlines in templates
665
Tests are writing customer config to host machine
666
Use SetCredentials and add verbose to loginopts
667
[NO TESTS NEEDED] Sort containers.conf and containers.conf.5.md
668
add 'secret' section to the containers.conf struct.
669
add @Luap99 to OWNERS
670
add passdriver for secrets.
671
build(deps): bump github.com/containers/image/v5 from 5.12.0 to 5.13.0
672
build(deps): bump github.com/containers/storage from 1.32.0 to 1.32.2
673
build(deps): bump github.com/docker/docker
674
build(deps): bump github.com/jinzhu/copier from 0.3.0 to 0.3.2
675
build(deps): bump github.com/onsi/ginkgo from 1.16.2 to 1.16.4
676
build(deps): bump github.com/onsi/gomega from 1.12.0 to 1.13.0
677
build(deps): bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
678
fix autodiscovery of the secret passdriver.
679
fixed comments
680
libimage: fix Exists
681
libimage: pull: turn image-lookup errors non-fatal
682
libmage: Exists: catch corrupted images
683
made necessary changes to handle OS/Arch while importing an image
684
pkg/config: fix systemd compile errors
685
pull: don't resolve short names on explicit docker:// reference
686
seccomp: add support for defaultErrnoRet
687
seccomp: allow more *_time64 syscalls
688
seccomp: allow timer_settime64
689
seccomp: switch default to ENOSYS
690
secrets: fix build with go 1.15
691
support tag@digest notation
692
693
694
0.39.0:
695
696
Vendor in containers/storage v1.32.0
697
Ensure configuration directory is created for networks
698
Include gateway in generated default networks
699
Use Private as default for rootless when we want CNI
700
rootless networking
701
libimage: add some comments
702
libimage: add more image tests
703
build(deps): bump github.com/containers/storage from 1.31.1 to 1.32.0
704
rootless_networking = "slirp4netns | cni"
705
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc94 to 1.0.0-rc95
706
707
708
- Update podman to 3.2.3
709
710
3.2.3:
711
712
### Security
713
- This release addresses CVE-2021-3602, an issue with the `podman build` command with the `--isolation chroot` flag that results in environment variables from the host leaking into build containers.
714
715
### Bugfixes
716
- Fixed a bug where events related to images could occur before the relevant operation had completed (e.g. an image pull event could be written before the pull was finished) ([#10812](https://github.com/containers/podman/issues/10812)).
717
- Fixed a bug where `podman save` would refuse to save images with an architecture different from that of the host ([#10835](https://github.com/containers/podman/issues/10835)).
718
- Fixed a bug where the `podman import` command did not correctly handle images without tags ([#10854](https://github.com/containers/podman/issues/10854)).
719
- Fixed a bug where Podman's journald events backend would fail and prevent Podman from running when run on a host with systemd as PID1 but in an environment (e.g. a container) without systemd ([#10863](https://github.com/containers/podman/issues/10863)).
720
- Fixed a bug where containers using rootless CNI networking would fail to start when the `dnsname` CNI plugin was in use and the host system's `/etc/resolv.conf` was a symlink ([#10855](https://github.com/containers/podman/issues/10855) and [#10929](https://github.com/containers/podman/issues/10929)).
721
- Fixed a bug where containers using rootless CNI networking could fail to start due to a race in rootless CNI initialization ([#10930](https://github.com/containers/podman/issues/10930)).
722
723
### Misc
724
- Updated Buildah to v1.21.3
725
- Updated the containers/common library to v0.38.16
726
727
728
- Update storage to 1.32.6
729
730
1.32.6:
731
732
Fix runtime panic for opening lockfile if parent dir got removed
733
Cleanup exclude exceptions path
734
build(deps): bump github.com/Microsoft/hcsshim from 0.8.17 to 0.8.20
735
Add test for bad entries in storage.conf
736
chunked: fix the path used for layers dedup
737
Report bad entries in storage.conf to the user
738
Use /run/user/UID in rootless mode if writable
739
740
- Update image to 5.14.0
741
742
v0.41.0:
743
* Allow /etc/containers/containers.conf to be read by non-root
744
* Created numMem_linux.go and numMem.go and nummem_unsupported.go
745
* Fix default definition of secrets in containers.conf
746
* Report bad entries in containers.conf to the user
747
* add shelldriver.
748
* build(deps): bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2
749
* build(deps): bump github.com/containers/storage from 1.32.2 to 1.32.5
750
* build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.4.1
751
* build(deps): bump github.com/onsi/gomega from 1.13.0 to 1.14.0
752
* build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1
753
* feat: add shell secret driver.
754
* libimage: LookupImage: remove IgnorePlatform option
755
* libimage: `(*Runtime).SystemContext()`
756
* libimage: events: deferred write
757
* libimage: force internal image lookups to ignore arch
758
* libimage: import: fix tags
759
* libimage: pull: enforce pull policy for custom platforms
760
* libimage: pull: ignore platform for local image lookup
761
* libimage: pull: override even --pull=never with custom platform
762
* pull: custom platform: do not use local image name
763
764
765
v0.40.1:
766
* Vendor in containers/image v5.13.2
767
* seccomp: tweak default profile (followup for #573)
768
* libimage: lookup images by custom platform
769
* libimage: force remove: only untag on multi tag image
770
* build(deps): bump github.com/containers/image/v5 from 5.13.0 to 5.13.1
771
* Set BigFilesTemporaryDir to GetEnv(TMPDIR) if set or /var/tmp
772
* seccomp: always allow get_mempolicy, set_mempolicy, mbind
773
* seccomp: let membarrier fail with ENOSYS
774
* seccomp: allow rseq
775
* seccomp: allow pkey_*
776
* seccomp: let io_uring_* fail with ENOSYS
777
* seccomp: allow clone3
778
779
v0.40.0:
780
* Add default for log-tag
781
* Add support for config drop in directories
782
* Do not set the default netns
783
* Don't use systemd defaults if /proc/1/comm != systemd
784
* Fix spacing on name value pairs to be consistent
785
* Leave default seccomp path empty
786
* Sort containers.conf and containers.conf.5.md
787
* Strip extra trailing newlines in templates
788
* Tests are writing customer config to host machine
789
* Use SetCredentials and add verbose to loginopts
790
* [NO TESTS NEEDED] Sort containers.conf and containers.conf.5.md
791
* add 'secret' section to the containers.conf struct.
792
* add @Luap99 to OWNERS
793
* add passdriver for secrets.
794
* build(deps): bump github.com/containers/image/v5 from 5.12.0 to 5.13.0
795
* build(deps): bump github.com/containers/storage from 1.32.0 to 1.32.2
796
* build(deps): bump github.com/docker/docker
797
* build(deps): bump github.com/jinzhu/copier from 0.3.0 to 0.3.2
798
* build(deps): bump github.com/onsi/ginkgo from 1.16.2 to 1.16.4
799
* build(deps): bump github.com/onsi/gomega from 1.12.0 to 1.13.0
800
* build(deps): bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
801
* fix autodiscovery of the secret passdriver.
802
* fixed comments
803
* libimage: fix Exists
804
* libimage: pull: turn image-lookup errors non-fatal
805
* libmage: Exists: catch corrupted images
806
* made necessary changes to handle OS/Arch while importing an image
807
* pkg/config: fix systemd compile errors
808
* pull: don't resolve short names on explicit docker:// reference
809
* seccomp: add support for defaultErrnoRet
810
* seccomp: allow more *_time64 syscalls
811
* seccomp: allow timer_settime64
812
* seccomp: switch default to ENOSYS
813
* secrets: fix build with go 1.15
814
* support tag@digest notation
815
816
v0.39:
817
* Vendor in containers/storage v1.32.0
818
* Ensure configuration directory is created for networks
819
* Include gateway in generated default networks
820
* Use Private as default for rootless when we want CNI
821
* rootless networking
822
* libimage: add some comments
823
* libimage: add more image tests
824
* build(deps): bump github.com/containers/storage from 1.31.1 to 1.32.0
825
* rootless_networking = "slirp4netns | cni"
826
* build(deps): bump github.com/opencontainers/runc from 1.0.0-rc94 to 1.0.0-rc95
827
828
-------------------------------------------------------------------
829
Tue Jun 29 07:38:39 UTC 2021 - Fabian Vogt <fvogt@suse.com>
830
831
- Mention libcontainers-common.rpmlintrc as source
832
- Use versioned obsoletes
833
834
-------------------------------------------------------------------
835
Fri Jun 25 22:37:43 UTC 2021 - Enrico Belleri <idesmi@protonmail.com>
836
837
- Update common to 0.38.11
838
839
0.38.11:
840
841
* Strip extra trailing newlines in templates
842
* Set BigFilesTemporaryDir to GetEnv(TMPDIR) if set or /var/tmp
843
844
0.38.10:
845
846
* libimage: pull: override even --pull=never with custom platfo
847
* libimage: pull: enforce pull policy for custom platforms
848
* libimage: pull: ignore platform for local image lookup
849
* Allow /etc/containers/containers.conf to be read by non-root
850
* [0.38] libimage: force remove: only untag on multi tag image
851
852
0.38.9:
853
854
* libimage: fix Exists
855
856
0.38.8:
857
858
* libmage: Exists: catch corrupted images
859
860
0.38.7:
861
862
* libimage: pull: turn image-lookup errors non-fatal
863
864
0.38.6:
865
866
* [0.38] Leave default seccomp path empty
867
868
0.38.5:
869
870
* pull: don't resolve short names on explicit docker:// reference
871
872
0.38.4:
873
874
Revert "Do not emit warnings about OCI runtime paths"
875
libimage: lookup: tolerate corrupted image
876
877
878
0.38.3:
879
880
build(deps): bump github.com/containers/storage from 1.30.3 to 1.31.1
881
libimage: fix manifest list lookup
882
883
884
- Update podman to 3.2.2
885
886
3.2.2:
887
888
### Changes
889
- Podman's handling of the Architecture field of images has been relaxed. Since 3.2.0, Podman required that the architecture of the image match the architecture of the system to run containers based on an image, but images often incorrectly report architecture, causing Podman to reject valid images ([#10648](https://github.com/containers/podman/issues/10648) and [#10682](https://github.com/containers/podman/issues/10682)).
890
- Podman no longer uses inotify to monitor for changes to CNI configurations. This removes potential issues where Podman cannot be run because a user has exhausted their available inotify sessions ([#10686](https://github.com/containers/podman/issues/10686)).
891
892
### Bugfixes
893
- Fixed a bug where the `podman cp` would, when given a directory as its source and a target that existed and was a file, copy the contents of the directory into the parent directory of the file; this now results in an error.
894
- Fixed a bug where the `podman logs` command would, when following a running container's logs, not include the last line of output from the container when it exited when the `k8s-file` driver was in use ([#10675](https://github.com/containers/podman/issues/10675)).
895
- Fixed a bug where Podman would fail to run containers if `systemd-resolved` was incorrectly detected as the system's DNS server ([#10733](https://github.com/containers/podman/issues/10733)).
896
- Fixed a bug where the `podman exec -t` command would only resize the exec session's TTY after the session started, leading to a race condition where the terminal would initially not have a size set ([#10560](https://github.com/containers/podman/issues/10560)).
897
- Fixed a bug where Podman containers using the `slirp4netns` network mode would add an incorrect entry to `/etc/hosts` pointing the container's hostname to the wrong IP address.
898
- Fixed a bug where Podman would create volumes specified by images with incorrect permissions ([#10188](https://github.com/containers/podman/issues/10188) and [#10606](https://github.com/containers/podman/issues/10606)).
899
- Fixed a bug where Podman would not respect the `uid` and `gid` options to `podman volume create -o` ([#10620](https://github.com/containers/podman/issues/10620)).
900
- Fixed a bug where the `podman run` command could panic when parsing the system's cgroup configuration ([#10666](https://github.com/containers/podman/issues/10666)).
901
- Fixed a bug where the remote Podman client's `podman build -f - ...` command did not read a Containerfile from STDIN ([#10621](https://github.com/containers/podman/issues/10621)).
902
- Fixed a bug where the `podman container restore --import` command would fail to restore checkpoints created from privileged containers ([#10615](https://github.com/containers/podman/issues/10615)).
903
- Fixed a bug where Podman was not respecting the `TMPDIR` environment variable when pulling images ([#10698](https://github.com/containers/podman/issues/10698)).
904
- Fixed a bug where a number of Podman commands did not properly support using Go templates as an argument to the `--format` option.
905
906
### API
907
- Fixed a bug where the Compat Inspect endpoint for Containers did not include information on container healthchecks ([#10457](https://github.com/containers/podman/issues/10457)).
908
- Fixed a bug where the Libpod and Compat Build endpoints for Images did not properly handle the `devices` query parameter ([#10614](https://github.com/containers/podman/issues/10614)).
909
910
### Misc
911
- Fixed a bug where the Makefile's `make podman-remote-static` target to build a statically-linked `podman-remote` binary was instead producing dynamic binaries ([#10656](https://github.com/containers/podman/issues/10656)).
912
- Updated the containers/common library to v0.38.11
913
914
915
3.2.1:
916
917
### Changes
918
- Podman now allows corrupt images (e.g. from restarting the system during an image pull) to be replaced by a `podman pull` of the same image (instead of requiring they be removed first, then re-pulled).
919
920
### Bugfixes
921
- Fixed a bug where Podman would fail to start containers if a Seccomp profile was not available at `/usr/share/containers/seccomp.json` ([#10556](https://github.com/containers/podman/issues/10556)).
922
- Fixed a bug where the `podman machine start` command failed on OS X machines with the AMD64 architecture and certain QEMU versions ([#10555](https://github.com/containers/podman/issues/10555)).
923
- Fixed a bug where Podman would always use the slow path for joining the rootless user namespace.
924
- Fixed a bug where the `podman stats` command would fail on Cgroups v1 systems when run on a container running systemd ([#10602](https://github.com/containers/podman/issues/10602)).
925
- Fixed a bug where pre-checkpoint support for `podman container checkpoint` did not function correctly.
926
- Fixed a bug where the remote Podman client's `podman build` command did not properly handle the `-f` option ([#9871](https://github.com/containers/podman/issues/9871)).
927
- Fixed a bug where the remote Podman client's `podman run` command would sometimes not resize the container's terminal before execution began ([#9859](https://github.com/containers/podman/issues/9859)).
928
- Fixed a bug where the `--filter` option to the `podman image prune` command was nonfunctional.
929
- Fixed a bug where the `podman logs -f` command would exit before all output for a container was printed when the `k8s-file` log driver was in use ([#10596](https://github.com/containers/podman/issues/10596)).
930
- Fixed a bug where Podman would not correctly detect that systemd-resolved was in use on the host and adjust DNS servers in the container appropriately under some circumstances ([#10570](https://github.com/containers/podman/issues/10570)).
931
- Fixed a bug where the `podman network connect` and `podman network disconnect` commands acted improperly when containers were in the Created state, marking the changes as done but not actually performing them.
932
933
### API
934
- Fixed a bug where the Compat and Libpod Prune endpoints for Networks returned null, instead of an empty array, when nothing was pruned.
935
- Fixed a bug where the Create API for Images would continue to pull images even if a client closed the connection mid-pull ([#7558](https://github.com/containers/podman/issues/7558)).
936
- Fixed a bug where the Events API did not include some information (including labels) when sending events.
937
- Fixed a bug where the Events API would, when streaming was not requested, send at most one event ([#10529](https://github.com/containers/podman/issues/10529)).
938
939
### Misc
940
- Updated the containers/common library to v0.38.9
941
942
943
3.2.0:
944
945
### Features
946
- Docker Compose is now supported with rootless Podman ([#9169](https://github.com/containers/podman/issues/9169)).
947
- The `podman network connect`, `podman network disconnect`, and `podman network reload` commands have been enabled for rootless Podman.
948
- An experimental new set of commands, `podman machine`, was added to assist in managing virtual machines containing a Podman server. These are intended for easing the use of Podman on OS X by handling the creation of a Linux VM for running Podman.
949
- The `podman generate kube` command can now be run on Podman named volumes (generating `PersistentVolumeClaim` YAML), in addition to pods and containers.
950
- The `podman play kube` command now supports two new options, `--ip` and `--mac`, to set static IPs and MAC addresses for created pods ([#8442](https://github.com/containers/podman/issues/8442) and [#9731](https://github.com/containers/podman/issues/9731)).
951
- The `podman play kube` command's support for `PersistentVolumeClaim` YAML has been greatly improved.
952
- The `podman generate kube` command now preserves the label used by `podman auto-update` to identify containers to update as a Kubernetes annotation, and the `podman play kube` command will convert this annotation back into a label. This allows `podman auto-update` to be used with containers created by `podman play kube`.
953
- The `podman play kube` command now supports Kubernetes `secretRef` YAML (using the secrets support from `podman secret`) for environment variables.
954
- Secrets can now be added to containers as environment variables using the `type=env` option to the `--secret` flag to `podman create` and `podman run`.
955
- The `podman start` command now supports the `--all` option, allowing all containers to be started simultaneously with a single command. The `--filter` option has also been added to filter which containers to start when `--all` is used.
956
- Filtering containers with the `--filter` option to `podman ps` and `podman start` now supports a new filter, `restart-policy`, to filter containers based on their restart policy.
957
- The `--group-add` option to rootless `podman run` and `podman create` now accepts a new value, `keep-groups`, which instructs Podman to retain the supplemental groups of the user running Podman in the created container. This is only supported with the `crun` OCI runtime.
958
- The `podman run` and `podman create` commands now support a new option, `--timeout`. This sets a maximum time the container is allowed to run, after which it is killed ([#6412](https://github.com/containers/podman/issues/6412)).
959
- The `podman run` and `podman create` commands now support a new option, `--pidfile`. This will create a file when the container is started containing the PID of the first process in the container.
960
- The `podman run` and `podman create` commands now support a new option, `--requires`. The `--requires` option adds dependency containers - containers that must be running before the current container. Commands like `podman start` will automatically start the requirements of a container before starting the container itself.
961
- Auto-updating containers can now be done with locally-built images, not just images hosted on a registry, by creating containers with the `io.containers.autoupdate` label set to `local`.
962
- Podman now supports the [Container Device Interface](https://github.com/container-orchestrated-devices/container-device-interface) (CDI) standard.
963
- Podman now adds an entry to `/etc/hosts`, `host.containers.internal`, pointing to the current gateway (which, for root containers, is usually a bridge interface on the host system) ([#5651](https://github.com/containers/podman/issues/5651)).
964
- The `podman ps`, `podman pod ps`, `podman network list`, `podman secret list`, and `podman volume list` commands now support a `--noheading` option, which will cause Podman to omit the heading line including column names.
965
- The `podman unshare` command now supports a new flag, `--rootless-cni`, to join the rootless network namespace. This allows commands to be run in the same network environment as rootless containers with CNI networking.
966
- The `--security-opt unmask=` option to `podman run` and `podman create` now supports glob operations to unmask a group of paths at once (e.g. `podman run --security-opt unmask=/proc/* ...` will unmask all paths in `/proc` in the container).
967
- The `podman network prune` command now supports a `--filter` option to filter which networks will be pruned.
968
969
### Changes
970
- The change in Podman 3.1.2 where the `:z` and `:Z` mount options for volumes were ignored for privileged containers has been reverted after discussion in [#10209](https://github.com/containers/podman/issues/10209).
971
- Podman's rootless CNI functionality no longer requires a sidecar container! The removal of the requirement for the `rootless-cni-infra` container means that rootless CNI is now usable on all architectures, not just AMD64, and no longer requires pulling an image ([#8709](https://github.com/containers/podman/issues/8709)).
972
- The Image handling code used by Podman has seen a major rewrite to improve code sharing with our other projects, Buildah and CRI-O. This should result in fewer bugs and performance gains in the long term. Work on this is still ongoing.
973
- The `podman auto-update` command now prunes previous versions of images after updating if they are unused, to prevent disk exhaustion after repeated updates ([#10190](https://github.com/containers/podman/issues/10190)).
974
- The `podman play kube` now treats environment variables configured as references to a `ConfigMap` as mandatory unless the `optional` parameter was set; this better matches the behavior of Kubernetes.
975
- Podman now supports the `--context=default` flag from Docker as a no-op for compatibility purposes.
976
- When Podman is run as root, but without `CAP_SYS_ADMIN` being available, it will run in a user namespace using the same code as rootless Podman (instead of failing outright).
977
- The `podman info` command now includes the path of the Seccomp profile Podman is using, available cgroup controllers, and whether Podman is connected to a remote service or running containers locally.
978
- Containers created with the `--rm` option now automatically use the `volatile` storage flag when available for their root filesystems, causing them not to write changes to disk as often as they will be removed at completion anyways. This should result in improved performance.
979
- The `podman generate systemd --new` command will now include environment variables referenced by the container in generated unit files if the value would be looked up from the system environment.
980
- Podman now requires that Conmon v2.0.24 be available.
981
982
### Bugfixes
983
- Fixed a bug where the remote Podman client's `podman build` command did not support the `--arch`, `--platform`, and `--os`, options.
984
- Fixed a bug where the remote Podman client's `podman build` command ignored the `--rm=false` option ([#9869](https://github.com/containers/podman/issues/9869)).
985
- Fixed a bug where the remote Podman client's `podman build --iidfile` command could include extra output (in addition to just the image ID) in the image ID file written ([#10233](https://github.com/containers/podman/issues/10233)).
986
- Fixed a bug where the remote Podman client's `podman build` command did not preserve hardlinks when moving files into the container via `COPY` instructions ([#9893](https://github.com/containers/podman/issues/9893)).
987
- Fixed a bug where the `podman generate systemd --new` command could generate extra `--iidfile` arguments if the container was already created with one.
988
- Fixed a bug where the `podman generate systemd --new` command would generate unit files that did not include `RequiresMountsFor` lines ([#10493](https://github.com/containers/podman/issues/10493)).
989
- Fixed a bug where the `podman generate kube` command produced incorrect YAML for containers which bind-mounted both `/` and `/root` from the host system into the container ([#9764](https://github.com/containers/podman/issues/9764)).
990
- Fixed a bug where pods created by `podman play kube` from YAML that specified `ShareProcessNamespace` would only share the PID namespace (and not also the UTS, Network, and IPC namespaces) ([#9128](https://github.com/containers/podman/issues/9128)).
991
- Fixed a bug where the `podman network reload` command could generate spurious error messages when `iptables-nft` was in use.
992
- Fixed a bug where rootless Podman could fail to attach to containers when the user running Podman had a large UID.
993
- Fixed a bug where the `podman ps` command could fail with a `no such container` error due to a race condition with container removal ([#10120](https://github.com/containers/podman/issues/10120)).
994
- Fixed a bug where containers using the `slirp4netns` network mode and setting a custom `slirp4netns` subnet while using the `rootlesskit` port forwarder would not be able to forward ports ([#9828](https://github.com/containers/podman/issues/9828)).
995
- Fixed a bug where the `--filter ancestor=` option to `podman ps` did not require an exact match of the image name/ID to include a container in its results.
996
- Fixed a bug where the `--filter until=` option to `podman image prune` would prune images created after the specified time (instead of before).
997
- Fixed a bug where setting a custom Seccomp profile via the `seccomp_profile` option in `containers.conf` had no effect, and the default profile was used instead.
998
- Fixed a bug where the `--cgroup-parent` option to `podman create` and `podman run` was ignored in rootless Podman on cgroups v2 systems with the `cgroupfs` cgroup manager ([#10173](https://github.com/containers/podman/issues/10173)).
999
- Fixed a bug where the `IMAGE` and `NAME` variables in `podman container runlabel` were not being correctly substituted ([#10192](https://github.com/containers/podman/issues/10192)).
1000
- Fixed a bug where Podman could freeze when creating containers with a specific combination of volumes and working directory ([#10216](https://github.com/containers/podman/issues/10216)).
1001
- Fixed a bug where rootless Podman containers restarted by restart policy (e.g. containers created with `--restart=always`) would lose networking after being restarted ([#8047](https://github.com/containers/podman/issues/8047)).
1002
- Fixed a bug where the `podman cp` command could not copy files into containers created with the `--pid=host` flag ([#9985](https://github.com/containers/podman/issues/9985)).
1003
- Fixed a bug where filters to the `podman events` command could not be specified twice (if a filter is specified more than once, it will match if any of the given values match - logical or) ([#10507](https://github.com/containers/podman/issues/10507)).
1004
- Fixed a bug where Podman would include IPv6 nameservers in `resolv.conf` in containers without IPv6 connectivity ([#10158](https://github.com/containers/podman/issues/10158)).
1005
- Fixed a bug where containers could not be created with static IP addresses when connecting to a network using the `macvlan` driver ([#10283](https://github.com/containers/podman/issues/10283)).
1006
1007
### API
1008
- Fixed a bug where the Compat Create endpoint for Containers did not allow advanced network options to be set ([#10110](https://github.com/containers/podman/issues/10110)).
1009
- Fixed a bug where the Compat Create endpoint for Containers ignored static IP information provided in the `IPAMConfig` block ([#10245](https://github.com/containers/podman/issues/10245)).
1010
- Fixed a bug where the Compat Inspect endpoint for Containers returned null (instead of an empty list) for Networks when the container was not joined to a CNI network ([#9837](https://github.com/containers/podman/issues/9837)).
1011
- Fixed a bug where the Compat Wait endpoint for Containers could miss containers exiting if they were immediately restarted.
1012
- Fixed a bug where the Compat Create endpoint for Volumes required that the user provide a name for the new volume ([#9803](https://github.com/containers/podman/issues/9803)).
1013
- Fixed a bug where the Libpod Info handler would sometimes not return the correct path to the Podman API socket.
1014
- Fixed a bug where the Compat Events handler used the wrong name for container exited events (`died` instead of `die`) ([#10168](https://github.com/containers/podman/issues/10168)).
1015
- Fixed a bug where the Compat Push endpoint for Images could leak goroutines if the remote end closed the connection prematurely.
1016
1017
### Misc
1018
- Updated Buildah to v1.21.0
1019
- Updated the containers/common library to v0.38.5
1020
- Updated the containers/storage library to v1.31.3
1021
1022
1023
1024
3.2.0-RC3:
1025
1026
This is the third release candidate for Podman v3.2.0. We expect it will be the final RC.
1027
1028
Preliminary release notes follow:
1029
1030
### Features
1031
- Docker Compose is now supported with rootless Podman ([#9169](https://github.com/containers/podman/issues/9169)).
1032
- The `podman network connect`, `podman network disconnect`, and `podman network reload` commands have been enabled for rootless Podman.
1033
- An experimental new set of commands, `podman machine`, was added to assist in managing virtual machines containing a Podman server. These are intended for easing the use of Podman on OS X by handling the creation of a Linux VM for running Podman.
1034
- The `podman generate kube` command can now be run on Podman named volumes (generating `PersistentVolumeClaim` YAML), in addition to pods and containers.
1035
- The `podman play kube` command now supports two new options, `--ip` and `--mac`, to set static IPs and MAC addresses for created pods ([#8442](https://github.com/containers/podman/issues/8442) and [#9731](https://github.com/containers/podman/issues/9731)).
1036
- The `podman play kube` command's support for `PersistentVolumeClaim` YAML has been greatly improved.
1037
- The `podman generate kube` command now preserves the label used by `podman auto-update` to identify containers to update as a Kubernetes annotation, and the `podman play kube` command will convert this annotation back into a label. This allows `podman auto-update` to be used with containers created by `podman play kube`.
1038
- The `podman play kube` command now supports Kubernetes `secretRef` YAML (using the secrets support from `podman secret`) for environment variables.
1039
- Secrets can now be added to containers as environment variables using the `type=env` option to the `--secret` flag to `podman create` and `podman run`.
1040
- The `podman start` command now supports the `--all` option, allowing all containers to be started simultaneously with a single command. The `--filter` option has also been added to filter which containers to start when `--all` is used.
1041
- Filtering containers with the `--filter` option to `podman ps` and `podman start` now supports a new filter, `restart-policy`, to filter containers based on their restart policy.
1042
- The `--group-add` option to rootless `podman run` and `podman create` now accepts a new value, `keep-groups`, which instructs Podman to retain the supplemental groups of the user running Podman in the created container. This is only supported with the `crun` OCI runtime.
1043
- The `podman run` and `podman create` commands now support a new option, `--timeout`. This sets a maximum time the container is allowed to run, after which it is killed ([#6412](https://github.com/containers/podman/issues/6412)).
1044
- The `podman run` and `podman create` commands now support a new option, `--pidfile`. This will create a file when the container is started containing the PID of the first process in the container.
1045
- The `podman run` and `podman create` commands now support a new option, `--requires`. The `--requires` option adds dependency containers - containers that must be running before the current container. Commands like `podman start` will automatically start the requirements of a container before starting the container itself.
1046
- Auto-updating containers can now be done with locally-built images, not just images hosted on a registry, by creating containers with the `io.containers.autoupdate` label set to `local`.
1047
- Podman now supports the [Container Device Interface](https://github.com/container-orchestrated-devices/container-device-interface) (CDI) standard.
1048
- Podman now adds an entry to `/etc/hosts`, `host.containers.internal`, pointing to the current gateway (which, for root containers, is usually a bridge interface on the host system) ([#5651](https://github.com/containers/podman/issues/5651)).
1049
- The `podman ps`, `podman pod ps`, `podman network list`, `podman secret list`, and `podman volume list` commands now support a `--noheading` option, which will cause Podman to omit the heading line including column names.
1050
- The `podman unshare` command now supports a new flag, `--rootless-cni`, to join the rootless network namespace. This allows commands to be run in the same network environment as rootless containers with CNI networking.
1051
- The `--security-opt unmask=` option to `podman run` and `podman create` now supports glob operations to unmask a group of paths at once (e.g. `podman run --security-opt unmask=/proc/* ...` will unmask all paths in `/proc` in the container).
1052
- The `podman network prune` command now supports a `--filter` option to filter which networks will be pruned.
1053
1054
### Changes
1055
- The change in Podman 3.1.2 where the `:z` and `:Z` mount options for volumes were ignored for privileged containers has been reverted after discussion in [#10209](https://github.com/containers/podman/issues/10209).
1056
- Podman's rootless CNI functionality no longer requires a sidecar container! The removal of the requirement for the `rootless-cni-infra` container means that rootless CNI is now usable on all architectures, not just AMD64, and no longer requires pulling an image ([#8709](https://github.com/containers/podman/issues/8709)).
1057
- The Image handling code used by Podman has seen a major rewrite to improve code sharing with our other projects, Buildah and CRI-O. This should result in fewer bugs and performance gains in the long term. Work on this is still ongoing.
1058
- The `podman auto-update` command now prunes previous versions of images after updating if they are unused, to prevent disk exhaustion after repeated updates ([#10190](https://github.com/containers/podman/issues/10190)).
1059
- The `podman play kube` now treats environment variables configured as references to a `ConfigMap` as mandatory unless the `optional` parameter was set; this better matches the behavior of Kubernetes.
1060
- Podman now supports the `--context=default` flag from Docker as a no-op for compatibility purposes.
1061
- When Podman is run as root, but without `CAP_SYS_ADMIN` being available, it will run in a user namespace using the same code as rootless Podman (instead of failing outright).
1062
- The `podman info` command now includes the path of the Seccomp profile Podman is using, available cgroup controllers, and whether Podman is connected to a remote service or running containers locally.
1063
- Containers created with the `--rm` option now automatically use the `volatile` storage flag when available for their root filesystems, causing them not to write changes to disk as often as they will be removed at completion anyways. This should result in improved performance.
1064
- The `podman generate systemd --new` command will now include environment variables referenced by the container in generated unit files if the value would be looked up from the system environment.
1065
- Podman now requires that Conmon v2.0.24 be available.
1066
1067
### Bugfixes
1068
- Fixed a bug where the remote Podman client's `podman build` command did not support the `--arch`, `--platform`, and `--os`, options.
1069
- Fixed a bug where the remote Podman client's `podman build` command ignored the `--rm=false` option ([#9869](https://github.com/containers/podman/issues/9869)).
1070
- Fixed a bug where the remote Podman client's `podman build --iidfile` command could include extra output (in addition to just the image ID) in the image ID file written ([#10233](https://github.com/containers/podman/issues/10233)).
1071
- Fixed a bug where the remote Podman client's `podman build` command did not preserve hardlinks when moving files into the container via `COPY` instructions ([#9893](https://github.com/containers/podman/issues/9893)).
1072
- Fixed a bug where the `podman generate systemd --new` command could generate extra `--iidfile` arguments if the container was already created with one.
1073
- Fixed a bug where the `podman generate kube` command produced incorrect YAML for containers which bind-mounted both `/` and `/root` from the host system into the container ([#9764](https://github.com/containers/podman/issues/9764)).
1074
- Fixed a bug where pods created by `podman play kube` from YAML that specified `ShareProcessNamespace` would only share the PID namespace (and not also the UTS, Network, and IPC namespaces) ([#9128](https://github.com/containers/podman/issues/9128)).
1075
- Fixed a bug where the `podman network reload` command could generate spurious error messages when `iptables-nft` was in use.
1076
- Fixed a bug where rootless Podman could fail to attach to containers when the user running Podman had a large UID.
1077
- Fixed a bug where the `podman ps` command could fail with a `no such container` error due to a race condition with container removal ([#10120](https://github.com/containers/podman/issues/10120)).
1078
- Fixed a bug where containers using the `slirp4netns` network mode and setting a custom `slirp4netns` subnet while using the `rootlesskit` port forwarder would not be able to forward ports ([#9828](https://github.com/containers/podman/issues/9828)).
1079
- Fixed a bug where the `--filter ancestor=` option to `podman ps` did not require an exact match of the image name/ID to include a container in its results.
1080
- Fixed a bug where the `--filter until=` option to `podman image prune` would prune images created after the specified time (instead of before).
1081
- Fixed a bug where setting a custom Seccomp profile via the `seccomp_profile` option in `containers.conf` had no effect, and the default profile was used instead.
1082
- Fixed a bug where the `--cgroup-parent` option to `podman create` and `podman run` was ignored in rootless Podman on cgroups v2 systems with the `cgroupfs` cgroup manager ([#10173](https://github.com/containers/podman/issues/10173)).
1083
- Fixed a bug where the `IMAGE` and `NAME` variables in `podman container runlabel` were not being correctly substituted ([#10192](https://github.com/containers/podman/issues/10192)).
1084
- Fixed a bug where Podman could freeze when creating containers with a specific combination of volumes and working directory ([#10216](https://github.com/containers/podman/issues/10216)).
1085
- Fixed a bug where rootless Podman containers restarted by restart policy (e.g. containers created with `--restart=always`) would lose networking after being restarted ([#8047](https://github.com/containers/podman/issues/8047)).
1086
- Fixed a bug where the `podman cp` command could not copy files into containers created with the `--pid=host` flag ([#9985](https://github.com/containers/podman/issues/9985)).
1087
1088
### API
1089
- Fixed a bug where the Compat Create endpoint for Containers did not allow advanced network options to be set ([#10110](https://github.com/containers/podman/issues/10110)).
1090
- Fixed a bug where the Compat Create endpoint for Containers ignored static IP information provided in the `IPAMConfig` block ([#10245](https://github.com/containers/podman/issues/10245)).
1091
- Fixed a bug where the Compat Inspect endpoint for Containers returned null (instead of an empty list) for Networks when the container was not joined to a CNI network ([#9837](https://github.com/containers/podman/issues/9837)).
1092
- Fixed a bug where the Compat Wait endpoint for Containers could miss containers exiting if they were immediately restarted.
1093
- Fixed a bug where the Compat Create endpoint for Volumes required that the user provide a name for the new volume ([#9803](https://github.com/containers/podman/issues/9803)).
1094
- Fixed a bug where the Libpod Info handler would sometimes not return the correct path to the Podman API socket.
1095
- Fixed a bug where the Compat Events handler used the wrong name for container exited events (`died` instead of `die`) ([#10168](https://github.com/containers/podman/issues/10168)).
1096
1097
### Misc
1098
- Updated Buildah to v1.21.0
1099
- Updated the containers/common library to v0.38.4
1100
- Updated the containers/storage library to v1.31.1
1101
1102
1103
3.2.0-RC2:
1104
1105
This is the second release candidate for Podman v3.2.0. We expect a final RC early next week, and a final release late next week if all goes well
1106
1107
Preliminary release notes follow:
1108
1109
### Features
1110
- Docker Compose is now supported with rootless Podman ([#9169](https://github.com/containers/podman/issues/9169)).
1111
- The `podman network connect`, `podman network disconnect`, and `podman network reload` commands have been enabled for rootless Podman.
1112
- An experimental new set of commands, `podman machine`, was added to assist in managing virtual machines containing a Podman server. These are intended for easing the use of Podman on OS X by handling the creation of a Linux VM for running Podman.
1113
- The `podman generate kube` command can now be run on Podman named volumes (generating `PersistentVolumeClaim` YAML), in addition to pods and containers.
1114
- The `podman play kube` command now supports two new options, `--ip` and `--mac`, to set static IPs and MAC addresses for created pods ([#8442](https://github.com/containers/podman/issues/8442) and [#9731](https://github.com/containers/podman/issues/9731)).
1115
- The `podman play kube` command's support for `PersistentVolumeClaim` YAML has been greatly improved.
1116
- The `podman generate kube` command now preserves the label used by `podman auto-update` to identify containers to update as a Kubernetes annotation, and the `podman play kube` command will convert this annotation back into a label. This allows `podman auto-update` to be used with containers created by `podman play kube`.
1117
- The `podman play kube` command now supports Kubernetes `secretRef` YAML (using the secrets support from `podman secret`) for environment variables.
1118
- Secrets can now be added to containers as environment variables using the `type=env` option to the `--secret` flag to `podman create` and `podman run`.
1119
- The `podman start` command now supports the `--all` option, allowing all containers to be started simultaneously with a single command. The `--filter` option has also been added to filter which containers to start when `--all` is used.
1120
- Filtering containers with the `--filter` option to `podman ps` and `podman start` now supports a new filter, `restart-policy`, to filter containers based on their restart policy.
1121
- The `--group-add` option to rootless `podman run` and `podman create` now accepts a new value, `keep-groups`, which instructs Podman to retain the supplemental groups of the user running Podman in the created container. This is only supported with the `crun` OCI runtime.
1122
- The `podman run` and `podman create` commands now support a new option, `--timeout`. This sets a maximum time the container is allowed to run, after which it is killed ([#6412](https://github.com/containers/podman/issues/6412)).
1123
- The `podman run` and `podman create` commands now support a new option, `--pidfile`. This will create a file when the container is started containing the PID of the first process in the container.
1124
- The `podman run` and `podman create` commands now support a new option, `--requires`. The `--requires` option adds dependency containers - containers that must be running before the current container. Commands like `podman start` will automatically start the requirements of a container before starting the container itself.
1125
- Auto-updating containers can now be done with locally-built images, not just images hosted on a registry, by creating containers with the `io.containers.autoupdate` label set to `local`.
1126
- Podman now supports the [Container Device Interface](https://github.com/container-orchestrated-devices/container-device-interface) (CDI) standard.
1127
- Podman now adds an entry to `/etc/hosts`, `host.containers.internal`, pointing to the current gateway (which, for root containers, is usually a bridge interface on the host system) ([#5651](https://github.com/containers/podman/issues/5651)).
1128
- The `podman ps`, `podman pod ps`, `podman network list`, `podman secret list`, and `podman volume list` commands now support a `--noheading` option, which will cause Podman to omit the heading line including column names.
1129
- The `podman unshare` command now supports a new flag, `--rootless-cni`, to join the rootless network namespace. This allows commands to be run in the same network environment as rootless containers with CNI networking.
1130
- The `--security-opt unmask=` option to `podman run` and `podman create` now supports glob operations to unmask a group of paths at once (e.g. `podman run --security-opt unmask=/proc/* ...` will unmask all paths in `/proc` in the container).
1131
- The `podman network prune` command now supports a `--filter` option to filter which networks will be pruned.
1132
1133
### Changes
1134
- The change in Podman 3.1.2 where the `:z` and `:Z` mount options for volumes were ignored for privileged containers has been reverted after discussion in [#10209](https://github.com/containers/podman/issues/10209).
1135
- Podman's rootless CNI functionality no longer requires a sidecar container! The removal of the requirement for the `rootless-cni-infra` container means that rootless CNI is now usable on all architectures, not just AMD64, and no longer requires pulling an image ([#8709](https://github.com/containers/podman/issues/8709)).
1136
- The Image handling code used by Podman has seen a major rewrite to improve code sharing with our other projects, Buildah and CRI-O. This should result in fewer bugs and performance gains in the long term. Work on this is still ongoing.
1137
- The `podman auto-update` command now prunes previous versions of images after updating if they are unused, to prevent disk exhaustion after repeated updates ([#10190](https://github.com/containers/podman/issues/10190)).
1138
- The `podman play kube` now treats environment variables configured as references to a `ConfigMap` as mandatory unless the `optional` parameter was set; this better matches the behavior of Kubernetes.
1139
- Podman now supports the `--context=default` flag from Docker as a no-op for compatibility purposes.
1140
- When Podman is run as root, but without `CAP_SYS_ADMIN` being available, it will run in a user namespace using the same code as rootless Podman (instead of failing outright).
1141
- The `podman info` command now includes the path of the Seccomp profile Podman is using, and whether Podman is connected to a remote service or running containers locally.
1142
- Containers created with the `--rm` option now automatically use the `volatile` storage flag when available for their root filesystems, causing them not to write changes to disk as often as they will be removed at completion anyways. This should result in improved performance.
1143
- The `podman generate systemd --new` command will now include environment variables referenced by the container in generated unit files if the value would be looked up from the system environment.
1144
- Podman now requires that Conmon v2.0.24 be available.
1145
1146
### Bugfixes
1147
- Fixed a bug where the remote Podman client's `podman build` command did not support the `--arch`, `--platform`, and `--os`, options.
1148
- Fixed a bug where the remote Podman client's `podman build` command ignored the `--rm=false` option ([#9869](https://github.com/containers/podman/issues/9869)).
1149
- Fixed a bug where the `podman generate systemd --new` command could generate extra `--iidfile` arguments if the container was already created with one.
1150
- Fixed a bug where the `podman generate kube` command produced incorrect YAML for containers which bind-mounted both `/` and `/root` from the host system into the container ([#9764](https://github.com/containers/podman/issues/9764)).
1151
- Fixed a bug where pods created by `podman play kube` from YAML that specified `ShareProcessNamespace` would only share the PID namespace (and not also the UTS, Network, and IPC namespaces) ([#9128](https://github.com/containers/podman/issues/9128)).
1152
- Fixed a bug where the `podman network reload` command could generate spurious error messages when `iptables-nft` was in use.
1153
- Fixed a bug where rootless Podman could fail to attach to containers when the user running Podman had a large UID.
1154
- Fixed a bug where the `podman ps` command could fail with a `no such container` error due to a race condition with container removal ([#10120](https://github.com/containers/podman/issues/10120)).
1155
- Fixed a bug where containers using the `slirp4netns` network mode and setting a custom `slirp4netns` subnet while using the `rootlesskit` port forwarder would not be able to forward ports ([#9828](https://github.com/containers/podman/issues/9828)).
1156
- Fixed a bug where the `--filter ancestor=` option to `podman ps` did not require an exact match of the image name/ID to include a container in its results.
1157
- Fixed a bug where the `--filter until=` option to `podman image prune` would prune images created after the specified time (instead of before).
1158
- Fixed a bug where setting a custom Seccomp profile via the `seccomp_profile` option in `containers.conf` had no effect, and the default profile was used instead.
1159
- Fixed a bug where the `--cgroup-parent` option to `podman create` and `podman run` was ignored in rootless Podman on cgroups v2 systems with the `cgroupfs` cgroup manager ([#10173](https://github.com/containers/podman/issues/10173)).
1160
- Fixed a bug where the `IMAGE` and `NAME` variables in `podman container runlabel` were not being correctly substituted ([#10192](https://github.com/containers/podman/issues/10192)).
1161
- Fixed a bug where the remote Podman client's `podman build --iidfile` command could include extra output (in addition to just the image ID) in the image ID file written ([#10233](https://github.com/containers/podman/issues/10233)).
1162
- Fixed a bug where Podman could freeze when creating containers with a specific combination of volumes and working directory ([#10216](https://github.com/containers/podman/issues/10216)).
1163
- Fixed a bug where rootless Podman containers restarted by restart policy (e.g. containers created with `--restart=always`) would lose networking after being restarted ([#8047](https://github.com/containers/podman/issues/8047)).
1164
1165
### API
1166
- Fixed a bug where the Compat Create endpoint for Containers did not allow advanced network options to be set ([#10110](https://github.com/containers/podman/issues/10110)).
1167
- Fixed a bug where the Compat Create endpoint for Containers ignored static IP information provided in the `IPAMConfig` block ([#10245](https://github.com/containers/podman/issues/10245)).
1168
- Fixed a bug where the Compat Inspect endpoint for Containers returned null (instead of an empty list) for Networks when the container was not joined to a CNI network ([#9837](https://github.com/containers/podman/issues/9837)).
1169
- Fixed a bug where the Compat Wait endpoint for Containers could miss containers exiting if they were immediately restarted.
1170
- Fixed a bug where the Compat Create endpoint for Volumes required that the user provide a name for the new volume ([#9803](https://github.com/containers/podman/issues/9803)).
1171
- Fixed a bug where the Libpod Info handler would sometimes not return the correct path to the Podman API socket.
1172
- Fixed a bug where the Compat Events handler used the wrong name for container exited events (`died` instead of `die`) ([#10168](https://github.com/containers/podman/issues/10168)).
1173
1174
### Misc
1175
- Updated Buildah to v1.21.0
1176
- Updated the containers/common library to v0.38.4
1177
- Updated the containers/storage library to v1.31.1
1178
1179
1180
3.2.0-RC1:
1181
1182
This is the first release candidate for the Podman v3.2.0 release. Podman 3.2.0 features improved rootless networking (including support for rootless Docker compose), a rewritten image backend, and numerous other changes.
1183
1184
Full release notes will be available with the release of RC2 next week.
1185
1186
- Update storage to 1.32.5
1187
1188
1.32.5:
1189
1190
Fix handling of user namespace
1191
1192
1193
1.32.4:
1194
1195
Vendor in opencontainers/runc v1.0.0
1196
overlay: fix check for rootless native diff
1197
1198
1199
1.32.3:
1200
1201
Reload layer storage if layers.json got externally modified
1202
build(deps): bump github.com/klauspost/compress from 1.13.0 to 1.13.1
1203
Fix cancel deferred remove bug
1204
Cirrus: Fix references to master branch
1205
[CI:DOCS] Fix docs links due to branch rename
1206
1207
1208
1.32.2:
1209
1210
lockfile: merge Seek+Read/Write into Pread/Pwrite
1211
Added support for CONTAINERS_STORAGE_CONF override
1212
canUseShifting can segfault
1213
build(deps): bump github.com/mattn/go-shellwords from 1.0.11 to 1.0.12
1214
build(deps): bump github.com/klauspost/compress from 1.12.3 to 1.13.0
1215
overlay: make userxattr,metacopy=on debug message
1216
build(deps): bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
1217
1218
1219
1.31.3:
1220
1221
* store: ReloadIfChanged propagates errors from Modified()
1222
* store: load additional image stores once
1223
* store: fix graphLock reload
1224
1225
1226
1.32.1:
1227
1228
store: fix graphLock reload
1229
store: ReloadIfChanged propagates errors from Modified()
1230
store: load additional image stores once
1231
delete_internal: return error early
1232
build(deps): bump github.com/klauspost/compress from 1.12.2 to 1.12.3
1233
1234
1.32.0:
1235
1236
chunked: fix build on other platforms
1237
Avoid failure when umount an unmounted mountpoint
1238
overlay: enable native diff for fuse-overlayfs
1239
Enable to export layers from Additional Layer Store
1240
1241
1.31.2:
1242
1243
build(deps): bump github.com/Microsoft/go-winio from 0.4.17 to 0.5.0
1244
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc94 to 1.0.0-rc95
1245
reintroduce store: allow shifting only with contiguous mappings
1246
overlay: check for unix.ENOTSUP
1247
archive/overlay: ignore failures from nested whiteouts
1248
overlay: honor DisableShifting
1249
store: allow shifting only with contiguous mappings
1250
1251
1.31.1:
1252
1253
Revert "store: allow shifting only with contiguous mappings"
1254
1255
- Update image to 5.13.2
1256
1257
v0.38.11:
1258
* Strip extra trailing newlines in templates
1259
* Set BigFilesTemporaryDir to GetEnv(TMPDIR) if set or /var/tmp
1260
1261
v0.38.10:
1262
* libimage: pull: override even --pull=never with custom platfo
1263
* libimage: pull: enforce pull policy for custom platforms
1264
* libimage: pull: ignore platform for local image lookup
1265
* Allow /etc/containers/containers.conf to be read by non-root
1266
* [0.38] libimage: force remove: only untag on multi tag image
1267
1268
v0.38.9:
1269
* libimage: fix Exists
1270
1271
v0.38.8:
1272
* libmage: Exists: catch corrupted images
1273
1274
v0.38.7:
1275
* libimage: pull: turn image-lookup errors non-fatal
1276
1277
v0.38.6:
1278
* [0.38] Leave default seccomp path empty
1279
1280
v0.38.5:
1281
* pull: don't resolve short names on explicit docker:// reference
1282
1283
v0.38.4:
1284
* Revert "Do not emit warnings about OCI runtime paths"
1285
* libimage: lookup: tolerate corrupted image
1286
1287
v0.38.3:
1288
* build(deps): bump github.com/containers/storage from 1.30.3 to 1.31.1
1289
* libimage: fix manifest list lookup
1290
1291
-------------------------------------------------------------------
1292
Tue May 18 09:28:28 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
1293
1294
- Update image to 5.12.0
1295
1296
v0.38.2:
1297
* libimage: add save tests
1298
* libimage/Image.HasDifferentDigest: handle manifest lists
1299
* libimage: push: ignore image platform
1300
* Cirrus: Use config. in common with all repos.
1301
* libimage: add import test
1302
* Fix handling of all capabilities
1303
* libimage: add save tests
1304
* containers.conf: don't set default logging driver
1305
1306
v0.38.1:
1307
* libimage: add save tests
1308
* libimage/Image.HasDifferentDigest: handle manifest lists
1309
* libimage: push: ignore image platform
1310
* Cirrus: Use config. in common with all repos.
1311
* libimage: add import test
1312
* Fix handling of all capabilities
1313
* libimage: add save tests
1314
* containers.conf: don't set default logging driver
1315
1316
v0.38.1:
1317
* adjust log-driver defaults
1318
* Do not emit warnings about OCI runtime paths
1319
* build(deps): bump github.com/opencontainers/selinux from 1.8.0 to 1.8.1
1320
* build(deps): bump github.com/containers/storage from 1.30.1 to 1.30.3
1321
* [NO TESTS NEEDED] Fix reading configs on mac and windows
1322
* libimage: add push tests
1323
* build(deps): bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.0.0-rc94
1324
* libimage: fix pull from dir
1325
* libimage: add load unit tests
1326
* Only close EventChannel if it has been created.
1327
1328
v0.38:
1329
* build(deps): bump github.com/docker/docker
1330
* libimage: add an events system
1331
* libimage: add unit tests
1332
* libimage: rename dockerTransport to registryTransport
1333
* Bump github.com/onsi/gomega from 1.11.0 to 1.12.0
1334
* pull: simplify transports switch
1335
* Fix images tagged by 64 chars cannot be pulled when ommiting "docker://" prefix
1336
* Add support for codespell, and fix issues found
1337
* libimage: restore the ability to pull from docker-daemon and tarball
1338
* Swap default logging to journald
1339
* fix image tree
1340
* Add support for creating default CNI network
1341
* Bump github.com/containers/image/v5 from 5.11.1 to 5.12.0
1342
* Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2
1343
* Add a default network creation package
1344
* Add ability to specify a subnet for the default network
1345
* libimage: follow-up changes
1346
1347
v0.37.1:
1348
* Bump github.com/containers/storage from 1.30.0 to 1.30.1
1349
* Add support for the runsc OCI Runtime
1350
* Add support for machine_enabled in containers.conf
1351
* modify README.md: Contributing section finetuning
1352
* Add support for image_parallel_copies in containers.conf
1353
* Bump github.com/containers/ocicrypt from 1.1.0 to 1.1.1
1354
1355
- Update common to 0.38.2
1356
1357
0.38.2:
1358
1359
libimage: add save tests
1360
libimage/Image.HasDifferentDigest: handle manifest lists
1361
libimage: push: ignore image platform
1362
Cirrus: Use config. in common with all repos.
1363
libimage: add import test
1364
Fix handling of all capabilities
1365
libimage: add save tests
1366
containers.conf: don't set default logging driver
1367
1368
1369
0.38.1:
1370
1371
adjust log-driver defaults
1372
Do not emit warnings about OCI runtime paths
1373
build(deps): bump github.com/opencontainers/selinux from 1.8.0 to 1.8.1
1374
build(deps): bump github.com/containers/storage from 1.30.1 to 1.30.3
1375
[NO TESTS NEEDED] Fix reading configs on mac and windows
1376
libimage: add push tests
1377
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.0.0-rc94
1378
libimage: fix pull from dir
1379
libimage: add load unit tests
1380
Only close EventChannel if it has been created.
1381
1382
0.38.0:
1383
1384
build(deps): bump github.com/docker/docker
1385
libimage: add an events system
1386
libimage: add unit tests
1387
libimage: rename dockerTransport to registryTransport
1388
Bump github.com/onsi/gomega from 1.11.0 to 1.12.0
1389
pull: simplify transports switch
1390
Fix images tagged by 64 chars cannot be pulled when ommiting "docker://" prefix
1391
Add support for codespell, and fix issues found
1392
libimage: restore the ability to pull from docker-daemon and tarball
1393
Swap default logging to journald
1394
fix image tree
1395
Add support for creating default CNI network
1396
Bump github.com/containers/image/v5 from 5.11.1 to 5.12.0
1397
Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2
1398
Add a default network creation package
1399
Add ability to specify a subnet for the default network
1400
libimage: follow-up changes
1401
1402
1403
0.37.1:
1404
1405
Bump github.com/containers/storage from 1.30.0 to 1.30.1
1406
Add support for the runsc OCI Runtime
1407
Add support for machine_enabled in containers.conf
1408
modify README.md: Contributing section finetuning
1409
Add support for image_parallel_copies in containers.conf
1410
Bump github.com/containers/ocicrypt from 1.1.0 to 1.1.1
1411
1412
- Update storage to 1.31.0
1413
1414
1.31.0:
1415
1416
1417
Update docs/containers-storage.conf.5.md
1418
store: add option to disable volatile
1419
build(deps): bump github.com/Microsoft/hcsshim from 0.8.16 to 0.8.17
1420
Enable zstd:chunked support in containers/image
1421
overlay: honor DisableShifting
1422
store: allow shifting only with contiguous mappings
1423
idtools: new function IsContiguous
1424
store: replace Modified+Load with ReloadIfChanged
1425
store: new method ROFileBasedStore.ReloadIfChanged()
1426
Expand the scope of transaction in the process of deleting device
1427
Remove unlock/lock caused by Incorrect assumption
1428
1429
1430
1.30.3:
1431
1432
Update to F34 and U2104
1433
Update vendor opencontainers/selinux v1.8.1
1434
AUFS not supported in Ubuntu 21.04+
1435
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.0.0-rc94
1436
TestMatch: handle cases where NewPatternMatcher catches syntax errors
1437
1438
1.30.2:
1439
1440
Switch from ffjson to json-iterator
1441
Remove dependencies on ffjson
1442
Expand Variables on rootlessStoragePath
1443
Log expected rootless overlay mount failures as debug level
1444
1445
-------------------------------------------------------------------
1446
Thu Apr 29 09:06:07 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
1447
1448
- Update common to 0.37.0
1449
1450
0.37.0:
1451
1452
new libimage package
1453
Bump github.com/containers/storage from 1.29.0 to 1.30.0
1454
config: suggest enable-linger only if euid != 0
1455
Change log message in findRuntime()
1456
Add setns to default seccomp.json
1457
Cleanup debugf information to make debugging more useful
1458
1459
- Update podman to 3.1.2
1460
1461
3.1.2:
1462
1463
### Bugfixes
1464
- Fixed a bug where images with empty layers were stored incorrectly, causing them to be unable to be pushed or saved.
1465
- Fixed a bug where the `podman rmi` command could fail to remove corrupt images from storage.
1466
- Fixed a bug where the remote Podman client's `podman save` command did not support the `oci-dir` and `docker-dir` formats ([#9742](https://github.com/containers/podman/issues/9742)).
1467
- Fixed a bug where volume mounts from `podman play kube` created with a trailing `/` in the container path were were not properly superceding named volumes from the image ([#9618](https://github.com/containers/podman/issues/9618)).
1468
- Fixed a bug where Podman could fail to build on 32-bit architectures.
1469
1470
### Misc
1471
- Updated the containers/image library to v5.11.1
1472
1473
1474
- Update storage to 1.30.1
1475
1476
1.30.1:
1477
1478
Allow users to tag images in read/only image stores
1479
build(deps): bump github.com/klauspost/compress from 1.12.1 to 1.12.2
1480
Validate selinux label before attempting to use it
1481
1482
1483
1.30.0:
1484
1485
unshare: new function HasCapSysAdmin
1486
btrfs: Do not disable quota on cleanup
1487
build(deps): bump github.com/klauspost/compress from 1.11.13 to 1.12.1
1488
1489
1490
- Update image to 5.11.1
1491
1492
* new libimage package
1493
* Bump github.com/containers/storage from 1.29.0 to 1.30.0
1494
* config: suggest enable-linger only if euid != 0
1495
* Change log message in findRuntime()
1496
* Add setns to default seccomp.json
1497
* Cleanup debugf information to make debugging more useful
1498
1499
-------------------------------------------------------------------
1500
Mon Apr 19 12:21:56 UTC 2021 - Richard Brown <rbrown@suse.com>
1501
1502
- Force overlay as default storage driver if system is not btrfs
1503
(gh#containers/buildah#3153)
1504
1505
-------------------------------------------------------------------
1506
Mon Apr 19 11:03:30 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
1507
1508
- Update common to 0.36.0
1509
1510
0.36.0:
1511
1512
no changelog found
1513
1514
0.35.4:
1515
1516
pkg/seccomp: simplify and fix IsSupported
1517
pkg/seccomp: use sync.Once to speed up IsSupported
1518
capabilities: ALL returns the bounding set
1519
capabilities: memoize BoundingSet
1520
capabilities: add new method BoundingSet()
1521
Update pause image to 3.5
1522
1523
1524
- Update podman to 3.1.1
1525
1526
3.1.1:
1527
1528
### Changes
1529
- Podman now recognizes `trace` as a valid argument to the `--log-level` command. Trace logging is now the most verbose level of logging available.
1530
- The `:z` and `:Z` options for volume mounts are now ignored when the container is privileged or is run with SELinux isolation disabled (`--security-opt label=disable`). This matches better matches Docker's behavior in this case.
1531
1532
### Bugfixes
1533
- Fixed a bug where pruning images with the `podman image prune` or `podman system prune` commands could cause Podman to panic.
1534
- Fixed a bug where the `podman save` command did not properly error when the `--compress` flag was used with incompatible format types.
1535
- Fixed a bug where the `--security-opt` and `--ulimit` options to the remote Podman client's `podman build` command were nonfunctional.
1536
- Fixed a bug where the `--log-rusage` option to the remote Podman client's `podman build` command was nonfunctional ([#9489](https://github.com/containers/podman/issues/9889)).
1537
- Fixed a bug where the `podman build` command could, in some circumstances, use the wrong OCI runtime ([#9459](https://github.com/containers/podman/issues/9459)).
1538
- Fixed a bug where the remote Podman client's `podman build` command could return 0 despite failing ([#10029](https://github.com/containers/podman/issues/10029)).
1539
- Fixed a bug where the `podman container runlabel` command did not properly expand the `IMAGE` and `NAME` variables in the label ([#9405](https://github.com/containers/podman/issues/9405)).
1540
- Fixed a bug where poststop OCI hooks would be executed twice on containers started with the `--rm` argument ([#9983](https://github.com/containers/podman/issues/9983)).
1541
- Fixed a bug where rootless Podman could fail to launch containers on cgroups v2 systems when the `cgroupfs` cgroup manager was in use.
1542
- Fixed a bug where the `podman stats` command could error when statistics tracked exceeded the maximum size of a 32-bit signed integer ([#9979](https://github.com/containers/podman/issues/9979)).
1543
- Fixed a bug where rootless Podman containers run with `--userns=keepid` (without a `--user` flag in addition) would grant exec sessions run in them too many capabilities ([#9919](https://github.com/containers/podman/issues/9919)).
1544
- Fixed a bug where the `--authfile` option to `podman build` did not validate that the path given existed ([#9572](https://github.com/containers/podman/issues/9572)).
1545
- Fixed a bug where the `--storage-opt` option to Podman was appending to, instead of overriding (as is documented), the default storage options.
1546
- Fixed a bug where the `podman system service` connection did not function properly when run in a socket-activated systemd unit file as a non-root user.
1547
- Fixed a bug where the `--network` option to the `podman play kube` command of the remote Podman client was being ignored ([#9698](https://github.com/containers/podman/issues/9698)).
1548
- Fixed a bug where the `--log-driver` option to the `podman play kube` command was nonfunctional ([#10015](https://github.com/containers/podman/issues/10015)).
1549
1550
### API
1551
- Fixed a bug where the Libpod Create endpoint for Manifests did not properly validate the image the manifest was being created with.
1552
- Fixed a bug where the Libpod DF endpoint could, in error cases, append an extra null to the JSON response, causing decode errors.
1553
- Fixed a bug where the Libpod and Compat Top endpoint for Containers would return process names that included extra whitespace.
1554
- Fixed a bug where the Compat Prune endpoint for Containers accepted too many types of filter.
1555
1556
### Misc
1557
- Updated Buildah to v1.20.1
1558
- Updated the containers/storage library to v1.29.0
1559
- Updated the containers/image library to v5.11.0
1560
- Updated the containers/common library to v0.36.0
1561
1562
- Update storage to 1.29.0
1563
1564
1.29.0:
1565
1566
ReloadConfigurationFile should Reset storage options
1567
rootless overlay: use user.* instead of trusted.*
1568
build(deps): bump github.com/Microsoft/hcsshim from 0.8.15 to 0.8.16
1569
Support additional layer store
1570
overlay, rootless: use user.* instead of trusted.*
1571
archive, rootless: use user.* instead of trusted.*
1572
copy, rootless: skip copying trusted.* xattr
1573
Make sure rootless mounts support the userxattr flag
1574
Rework autons ID mapping generation.
1575
Set default to overlay from storage.conf
1576
build(deps): bump github.com/klauspost/compress from 1.11.12 to 1.11.13
1577
1578
- Update image to 5.11.0
1579
1580
* no changelog found
1581
1582
-------------------------------------------------------------------
1583
Tue Mar 30 08:37:09 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
1584
1585
- Update common to 0.35.3
1586
1587
0.35.3:
1588
1589
* capabilities: add new method BoundingSet()
1590
* Bump github.com/containers/storage from 1.27.0 to 1.28.0
1591
* Bump github.com/onsi/ginkgo from 1.15.1 to 1.15.2
1592
* Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
1593
* Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
1594
* Remove `vendor` from dependabot config
1595
* Add dependabot config file to support vendoring
1596
* Bump github.com/onsi/gomega from 1.10.5 to 1.11.0
1597
* Bump github.com/onsi/ginkgo from 1.15.0 to 1.15.1
1598
* Bump github.com/containers/image/v5 from 5.10.4 to 5.10.5
1599
1600
1601
0.35.2:
1602
1603
Vendor in containers/common and start using types subdir.
1604
shrink the vendoring size of containers/common/pkg/config
1605
Bump github.com/containers/image/v5 from 5.10.3 to 5.10.4
1606
1607
- Update podman to 3.1.0
1608
1609
3.1.0:
1610
1611
### Features
1612
- A set of new commands has been added to manage secrets! The `podman secret create`, `podman secret inspect`, `podman secret ls` and `podman secret rm` commands have been added to handle secrets, along with the `--secret` option to `podman run` and `podman create` to add secrets to containers. The initial driver for secrets does not support encryption - this will be added in a future release.
1613
- A new command to prune networks, `podman network prune`, has been added ([#8673](https://github.com/containers/podman/issues/8673)).
1614
- The `-v` option to `podman run` and `podman create` now supports a new volume option, `:U`, to chown the volume's source directory on the host to match the UID and GID of the container and prevent permissions issues ([#7778](https://github.com/containers/podman/issues/7778)).
1615
- Three new commands, `podman network exists`, `podman volume exists`, and `podman manifest exists`, have been added to check for the existence of networks, volumes, and manifest lists.
1616
- The `podman cp` command can now copy files into directories mounted as `tmpfs` in a running container.
1617
- The `podman volume prune` command will now list volumes that will be pruned when prompting the user whether to continue and perform the prune ([#8913](https://github.com/containers/podman/issues/8913)).
1618
- The Podman remote client's `podman build` command now supports the `--disable-compression`, `--excludes`, and `--jobs` options.
1619
- The Podman remote client's `podman push` command now supports the `--format` option.
1620
- The Podman remote client's `podman rm` command now supports the `--all` and `--ignore` options.
1621
- The Podman remote client's `podman search` command now supports the `--no-trunc` and `--list-tags` options.
1622
- The `podman play kube` command can now read in Kubernetes YAML from `STDIN` when `-` is specified as file name (`podman play kube -`), allowing input to be piped into the command for scripting ([#8996](https://github.com/containers/podman/issues/8996)).
1623
- The `podman generate systemd` command now supports a `--no-header` option, which disables creation of the header comment automatically added by Podman to generated unit files.
1624
- The `podman generate kube` command can now generate `PersistentVolumeClaim` YAML for Podman named volumes ([#5788](https://github.com/containers/podman/issues/5788)).
1625
- The `podman generate kube` command can now generate YAML files containing multiple resources (pods or deployments) ([#9129](https://github.com/containers/podman/issues/9129)).
1626
1627
### Security
1628
- This release resolves CVE-2021-20291, a deadlock vulnerability in the storage library caused by pulling a specially-crafted container image.
1629
1630
### Changes
1631
- The Podman remote client's `podman build` command no longer allows the `-v` flag to be used. Volumes are not yet supported with remote Podman when the client and service are on different machines.
1632
- The `podman kill` and `podman stop` commands now print the name given by the user for each container, instead of the full ID.
1633
- When the `--security-opt unmask=ALL` or `--security-opt unmask=/sys/fs/cgroup` options to `podman create` or `podman run` are given, Podman will mount cgroups into the container as read-write, instead of read-only ([#8441](https://github.com/containers/podman/issues/8441)).
1634
- The `podman rmi` command has been changed to better handle cases where an image is incomplete or corrupted, which can be caused by interrupted image pulls.
1635
- The `podman rename` command has been improved to be more atomic, eliminating many race conditions that could potentially render a renamed container unusable.
1636
- Detection of which OCI runtimes run using virtual machines and thus require custom SELinux labelling has been improved ([#9582](https://github.com/containers/podman/issues/9582)).
1637
- The hidden `--trace` option to `podman` has been turned into a no-op. It was used in very early versions for performance tracing, but has not been supported for some time.
1638
- The `podman generate systemd` command now generates `RequiresMountsFor` lines to ensure necessary storage directories are mounted before systemd starts Podman.
1639
- Podman will now emit a warning when `--tty` and `--interactive` are both passed, but `STDIN` is not a TTY. This will be made into an error in the next major Podman release some time next year.
1640
1641
### Bugfixes
1642
- Fixed a bug where rootless Podman containers joined to CNI networks could not receive traffic from forwarded ports ([#9065](https://github.com/containers/podman/issues/9065)).
1643
- Fixed a bug where `podman network create` with the `--macvlan` flag did not honor the `--gateway`, `--subnet`, and `--opt` options ([#9167](https://github.com/containers/podman/issues/9167)).
1644
- Fixed a bug where the `podman generate kube` command generated invalid YAML for privileged containers ([#8897](https://github.com/containers/podman/issues/8897)).
1645
- Fixed a bug where the `podman generate kube` command could not be used with containers that were not running.
1646
- Fixed a bug where the `podman generate systemd` command could duplicate some parameters to Podman in generated unit files ([#9776](https://github.com/containers/podman/issues/9776)).
1647
- Fixed a bug where Podman did not add annotations specified in `containers.conf` to containers.
1648
- Foxed a bug where Podman did not respect the `no_hosts` default in `containers.conf` when creating containers.
1649
- Fixed a bug where the `--tail=0`, `--since`, and `--follow` options to the `podman logs` command did not function properly when using the `journald` log backend.
1650
- Fixed a bug where specifying more than one container to `podman logs` when the `journald` log backend was in use did not function correctly.
1651
- Fixed a bug where the `podman run` and `podman create` commands would panic if a memory limit was set, but the swap limit was set to unlimited ([#9429](https://github.com/containers/podman/issues/9429)).
1652
- Fixed a bug where the `--network` option to `podman run`, `podman create`, and `podman pod create` would error if the user attempted to specify CNI networks by ID, instead of name ([#9451](https://github.com/containers/podman/issues/9451)).
1653
- Fixed a bug where Podman's cgroup handling for cgroups v1 systems did not properly handle cases where a cgroup existed on some, but not all, controllers, resulting in errors from the `podman stats` command ([#9252](https://github.com/containers/podman/issues/9252)).
1654
- Fixed a bug where the `podman cp` did not properly handle cases where `/dev/stdout` was specified as the destination (it was treated identically to `-`) ([#9362](https://github.com/containers/podman/issues/9362)).
1655
- Fixed a bug where the `podman cp` command would create files with incorrect ownership ([#9526](https://github.com/containers/podman/issues/9626)).
1656
- Fixed a bug where the `podman cp` command did not properly handle cases where the destination directory did not exist.
1657
- Fixed a bug where the `podman cp` command did not properly evaluate symlinks when copying out of containers.
1658
- Fixed a bug where the `podman rm -fa` command would error when attempting to remove containers created with `--rm` ([#9479](https://github.com/containers/podman/issues/9479)).
1659
- Fixed a bug where the ordering of capabilities was nondeterministic in the `CapDrop` field of the output of `podman inspect` on a container ([#9490](https://github.com/containers/podman/issues/9490)).
1660
- Fixed a bug where the `podman network connect` command could be used with containers that were not initially connected to a CNI bridge network (e.g. containers created with `--net=host`) ([#9496](https://github.com/containers/podman/issues/9496)).
1661
- Fixed a bug where DNS search domains required by the `dnsname` CNI plugin were not being added to container's `resolv.conf` under some circumstances.
1662
- Fixed a bug where the `--ignorefile` option to `podman build` was nonfunctional ([#9570](https://github.com/containers/podman/issues/9570)).
1663
- Fixed a bug where the `--timestamp` option to `podman build` was nonfunctional ([#9569](https://github.com/containers/podman/issues/9569)).
1664
- Fixed a bug where the `--iidfile` option to `podman build` could cause Podman to panic if an error occurred during the build.
1665
- Fixed a bug where the `--dns-search` option to `podman build` was nonfunctional ([#9574](https://github.com/containers/podman/issues/9574)).
1666
- Fixed a bug where the `--pull-never` option to `podman build` was nonfunctional ([#9573](https://github.com/containers/podman/issues/9573)).
1667
- Fixed a bug where the `--build-arg` option to `podman build` would, when given a key but not a value, error (instead of attempting to look up the key as an environment variable) ([#9571](https://github.com/containers/podman/issues/9571)).
1668
- Fixed a bug where the `--isolation` option to `podman build` in the remote Podman client was nonfunctional.
1669
- Fixed a bug where the `podman network disconnect` command could cause errors when the container that had a network removed was stopped and its network was cleaned up ([#9602](https://github.com/containers/podman/issues/9602)).
1670
- Fixed a bug where the `podman network rm` command did not properly check what networks a container was present in, resulting in unexpected behavior if `podman network connect` or `podman network disconnect` had been used with the network ([#9632](https://github.com/containers/podman/issues/9632)).
1671
- Fixed a bug where some errors with stopping a container could cause Podman to panic, and the container to be stuck in an unusable `stopping` state ([#9615](https://github.com/containers/podman/issues/9615)).
1672
- Fixed a bug where the `podman load` command could return 0 even in cases where an error occurred ([#9672](https://github.com/containers/podman/issues/9672)).
1673
- Fixed a bug where specifying storage options to Podman using the `--storage-opt` option would override all storage options. Instead, storage options are now overridden only when the `--storage-driver` option is used to override the current graph driver ([#9657](https://github.com/containers/podman/issues/9657)).
1674
- Fixed a bug where containers created with `--privileged` could request more capabilities than were available to Podman.
1675
- Fixed a bug where `podman commit` did not use the `TMPDIR` environment variable to place temporary files created during the commit ([#9825](https://github.com/containers/podman/issues/9825)).
1676
- Fixed a bug where remote Podman could error when attempting to resize short-lived containers ([#9831](https://github.com/containers/podman/issues/9831)).
1677
- Fixed a bug where Podman was unusable on kernels built without `CONFIG_USER_NS`.
1678
- Fixed a bug where the ownership of volumes created by `podman volume create` and then mounted into a container could be incorrect ([#9608](https://github.com/containers/podman/issues/9608)).
1679
- Fixed a bug where Podman volumes using a volume plugin could not pass certain options, and could not be used as non-root users.
1680
- Fixed a bug where the `--tz` option to `podman create` and `podman run` did not properly validate its input.
1681
1682
### API
1683
- Fixed a bug where the `X-Registry-Auth` header did not accept `null` as a valid value.
1684
- A new compat endpoint, `/auth`, has been added. This endpoint validates credentials against a registry ([#9564](https://github.com/containers/podman/issues/9564)).
1685
- Fixed a bug where the compat Build endpoint for Images specified labels using the wrong type (array vs map). Both formats will be accepted now.
1686
- Fixed a bug where the compat Build endpoint for Images did not report that it successfully tagged the built image in its response.
1687
- Fixed a bug where the compat Create endpoint for Images did not provide progress information on pulling the image in its response.
1688
- Fixed a bug where the compat Push endpoint for Images did not properly handle the destination (used a query parameter, instead of a path parameter).
1689
- Fixed a bug where the compat Push endpoint for Images did not send the progress of the push and the digest of the pushed image in the response body.
1690
- Fixed a bug where the compat List endpoint for Networks returned null, instead of an empty array (`[]`), when no networks were present ([#9293](https://github.com/containers/podman/issues/9293)).
1691
- Fixed a bug where the compat List endpoint for Networks returned nulls, instead of empty maps, for networks that do not have Labels and/or Options.
1692
- The Libpod Inspect endpoint for networks (`/libpod/network/$ID/json`) now has an alias at `/libpod/network/$ID` ([#9691](https://github.com/containers/podman/issues/9691)).
1693
- Fixed a bug where the libpod Inspect endpoint for Networks returned a 1-size array of results, instead of a single result ([#9690](https://github.com/containers/podman/issues/9690)).
1694
- The Compat List endpoint for Networks now supports the legacy format for filters in parallel with the current filter format ([#9526](https://github.com/containers/podman/issues/9526)).
1695
- Fixed a bug where the compat Create endpoint for Containers did not properly handle tmpfs filesystems specified with options ([#9511](https://github.com/containers/podman/issues/9511)).
1696
- Fixed a bug where the compat Create endpoint for Containers did not create bind-mount source directories ([#9510](https://github.com/containers/podman/issues/9510)).
1697
- Fixed a bug where the compat Create endpoint for Containers did not properly handle the `NanoCpus` option ([#9523](https://github.com/containers/podman/issues/9523)).
1698
- Fixed a bug where the Libpod create endpoint for Containers has a misnamed field in its JSON.
1699
- Fixed a bug where the compat List endpoint for Containers did not populate information on forwarded ports ([#9553](https://github.com/containers/podman/issues/9553))
1700
- Fixed a bug where the compat List endpoint for Containers did not populate information on container CNI networks ([#9529](https://github.com/containers/podman/issues/9529)).
1701
- Fixed a bug where the compat and libpod Stop endpoints for Containers would ignore a timeout of 0.
1702
- Fixed a bug where the compat and libpod Resize endpoints for Containers did not set the correct terminal sizes (dimensions were reversed) ([#9756](https://github.com/containers/podman/issues/9756)).
1703
- Fixed a bug where the compat Remove endpoint for Containers would not return 404 when attempting to remove a container that does not exist ([#9675](https://github.com/containers/podman/issues/9675)).
1704
- Fixed a bug where the compat Prune endpoint for Volumes would still prune even if an invalid filter was specified.
1705
- Numerous bugs related to filters have been addressed.
1706
1707
### Misc
1708
- Updated Buildah to v1.20.0
1709
- Updated the containers/storage library to v1.28.1
1710
- Updated the containers/image library to v5.10.5
1711
- Updated the containers/common library to v0.35.4
1712
1713
1714
3.1.0-RC2:
1715
1716
This is the second release candidate for Podman v3.1.0
1717
1718
Preliminary release notes are below. Please note that these are subject to change until the final release.
1719
1720
### Features
1721
- A set of new commands has been added to manage secrets! The `podman secret create`, `podman secret inspect`, `podman secret ls` and `podman secret rm` commands have been added to handle secrets, along with the `--secret` option to `podman run` and `podman create` to add secrets to containers. The initial driver for secrets does not support encryption - this will be added in a future release.
1722
- A new command to prune networks, `podman network prune`, has been added ([#8673](https://github.com/containers/podman/issues/8673)).
1723
- The `-v` option to `podman run` and `podman create` now supports a new volume option, `:U`, to chown the volume's source directory on the host to match the UID and GID of the container and prevent permissions issues ([#7778](https://github.com/containers/podman/issues/7778)).
1724
- Three new commands, `podman network exists`, `podman volume exists`, and `podman manifest exists`, have been added to check for the existence of networks, volumes, and manifest lists.
1725
- The `podman cp` command can now copy files into directories mounted as `tmpfs` in a running container.
1726
- The `podman volume prune` command will now list volumes that will be pruned when prompting the user whether to continue and perform the prune ([#8913](https://github.com/containers/podman/issues/8913)).
1727
- The Podman remote client's `podman build` command now supports the `--disable-compression`, `--excludes`, and `--jobs` options.
1728
- The Podman remote client's `podman push` command now supports the `--format` option.
1729
- The Podman remote client's `podman rm` command now supports the `--all` and `--ignore` options.
1730
- The Podman remote client's `podman search` command now supports the `--no-trunc` and `--list-tags` options.
1731
- The `podman play kube` command can now read in Kubernetes YAML from `STDIN` when `-` is specified as file name (`podman play kube -`), allowing input to be piped into the command for scripting ([#8996](https://github.com/containers/podman/issues/8996)).
1732
- The `podman generate systemd` command now supports a `--no-header` option, which disables creation of the header comment automatically added by Podman to generated unit files.
1733
1734
### Changes
1735
- The Podman remote client's `podman build` command no longer allows the `-v` flag to be used. Volumes are not yet supported with remote Podman when the client and service are on different machines.
1736
- The `podman kill` and `podman stop` commands now print the name given by the user for each container, instead of the full ID.
1737
- When the `--security-opt unmask=ALL` or `--security-opt unmask=/sys/fs/cgroup` options to `podman create` or `podman run` are given, Podman will mount cgroups into the container as read-write, instead of read-only ([#8441](https://github.com/containers/podman/issues/8441)).
1738
- The `podman rmi` command has been changed to better handle cases where an image is incomplete or corrupted, which can be caused by interrupted image pulls.
1739
- The `podman rename` command has been improved to be more atomic, eliminating many race conditions that could potentially render a renamed container unusable.
1740
- Detection of which OCI runtimes run using virtual machines and thus require custom SELinux labelling has been improved ([#9582](https://github.com/containers/podman/issues/9582)).
1741
- The hidden `--trace` option to `podman` has been turned into a no-op. It was used in very early versions for performance tracing, but has not been supported for some time.
1742
1743
### Bugfixes
1744
- Fixed a bug where rootless Podman containers joined to CNI networks could not receive traffic from forwarded ports ([#9065](https://github.com/containers/podman/issues/9065)).
1745
- Fixed a bug where `podman network create` with the `--macvlan` flag did not honor the `--gateway`, `--subnet`, and `--opt` options ([#9167](https://github.com/containers/podman/issues/9167)).
1746
- Fixed a bug where the `podman generate kube` command generated invalid YAML for privileged containers ([#8897](https://github.com/containers/podman/issues/8897)).
1747
- Fixed a bug where the `podman generate kube` command could not be used with containers that were not running.
1748
- Fixed a bug where Podman did not add annotations specified in `containers.conf` to containers.
1749
- Foxed a bug where Podman did not respect the `no_hosts` default in `containers.conf` when creating containers.
1750
- Fixed a bug where the `--tail=0`, `--since`, and `--follow` options to the `podman logs` command did not function properly when using the `journald` log backend.
1751
- Fixed a bug where specifying more than one container to `podman logs` when the `journald` log backend was in use did not function correctly.
1752
- Fixed a bug where the `podman run` and `podman create` commands would panic if a memory limit was set, but the swap limit was set to unlimited ([#9429](https://github.com/containers/podman/issues/9429)).
1753
- Fixed a bug where the `--network` option to `podman run`, `podman create`, and `podman pod create` would error if the user attempted to specify CNI networks by ID, instead of name ([#9451](https://github.com/containers/podman/issues/9451)).
1754
- Fixed a bug where Podman's cgroup handling for cgroups v1 systems did not properly handle cases where a cgroup existed on some, but not all, controllers, resulting in errors from the `podman stats` command ([#9252](https://github.com/containers/podman/issues/9252)).
1755
- Fixed a bug where the `podman cp` did not properly handle cases where `/dev/stdout` was specified as the destination (it was treated identically to `-`) ([#9362](https://github.com/containers/podman/issues/9362)).
1756
- Fixed a bug where the `podman cp` command would create files with incorrect ownership ([#9526](https://github.com/containers/podman/issues/9626)).
1757
- Fixed a bug where the `podman cp` command did not properly handle cases where the destination directory did not exist.
1758
- Fixed a bug where the `podman cp` command did not properly evaluate symlinks when copying out of containers.
1759
- Fixed a bug where the `podman rm -fa` command would error when attempting to remove containers created with `--rm` ([#9479](https://github.com/containers/podman/issues/9479)).
1760
- Fixed a bug where the ordering of capabilities was nondeterministic in the `CapDrop` field of the output of `podman inspect` on a container ([#9490](https://github.com/containers/podman/issues/9490)).
1761
- Fixed a bug where the `podman network connect` command could be used with containers that were not initially connected to a CNI bridge network (e.g. containers created with `--net=host`) ([#9496](https://github.com/containers/podman/issues/9496)).
1762
- Fixed a bug where DNS search domains required by the `dnsname` CNI plugin were not being added to container's `resolv.conf` under some circumstances.
1763
- Fixed a bug where the `--ignorefile` option to `podman build` was nonfunctional ([#9570](https://github.com/containers/podman/issues/9570)).
1764
- Fixed a bug where the `--timestamp` option to `podman build` was nonfunctional ([#9569](https://github.com/containers/podman/issues/9569)).
1765
- Fixed a bug where the `--iidfile` option to `podman build` could cause Podman to panic if an error occurred during the build.
1766
- Fixed a bug where the `--dns-search` option to `podman build` was nonfunctional ([#9574](https://github.com/containers/podman/issues/9574)).
1767
- Fixed a bug where the `--build-arg` option to `podman build` would, when given a key but not a value, error (instead of attempting to look up the key as an environment variable) ([#9571](https://github.com/containers/podman/issues/9571)).
1768
- Fixed a bug where the `podman network disconnect` command could cause errors when the container that had a network removed was stopped and its network was cleaned up ([#9602](https://github.com/containers/podman/issues/9602)).
1769
- Fixed a bug where the `podman network rm` command did not properly check what networks a container was present in, resulting in unexpected behavior if `podman network connect` or `podman network disconnect` had been used with the network ([#9632](https://github.com/containers/podman/issues/9632)).
1770
- Fixed a bug where some errors with stopping a container could cause Podman to panic, and the container to be stuck in an unusable `stopping` state ([#9615](https://github.com/containers/podman/issues/9615)).
1771
- Fixed a bug where the `podman load` command could return 0 even in cases where an error occurred ([#9672](https://github.com/containers/podman/issues/9672)).
1772
- Fixed a bug where specifying storage options to Podman using the `--storage-opt` option would override all storage options. Instead, storage options are now overridden only when the `--storage-driver` option is used to override the current graph driver ([#9657](https://github.com/containers/podman/issues/9657)).
1773
- Fixed a bug where containers created with `--privileged` could request more capabilities than were available to Podman.
1774
1775
### API
1776
- Fixed a bug where the `X-Registry-Auth` header did not accept `null` as a valid value.
1777
- A new compat endpoint, `/auth`, has been added. This endpoint validates credentials against a registry ([#9564](https://github.com/containers/podman/issues/9564)).
1778
- Fixed a bug where the compat Build endpoint for Images specified labels using the wrong type (array vs map). Both formats will be accepted now.
1779
- Fixed a bug where the compat Build endpoint for Images did not report that it successfully tagged the built image in its response.
1780
- Fixed a bug where the compat Create endpoint for Images did not provide progress information on pulling the image in its response.
1781
- Fixed a bug where the compat Push endpoint for Images did not properly handle the destination (used a query parameter, instead of a path parameter).
1782
- Fixed a bug where the compat Push endpoint for Images did not send the progress of the push and the digest of the pushed image in the response body.
1783
- Fixed a bug where the compat List endpoint for Networks returned null, instead of an empty array (`[]`), when no networks were present ([#9293](https://github.com/containers/podman/issues/9293)).
1784
- Fixed a bug where the compat List endpoint for Networks returned nulls, instead of empty maps, for networks that do not have Labels and/or Options.
1785
- The Libpod Inspect endpoint for networks (`/libpod/network/$ID/json`) now has an alias at `/libpod/network/$ID` ([#9691](https://github.com/containers/podman/issues/9691)).
1786
- Fixed a bug where the libpod Inspect endpoint for Networks returned a 1-size array of results, instead of a single result ([#9690](https://github.com/containers/podman/issues/9690)).
1787
- The Compat List endpoint for Networks now supports the legacy format for filters in parallel with the current filter format ([#9526](https://github.com/containers/podman/issues/9526)).
1788
- Fixed a bug where the compat Create endpoint for Containers did not properly handle tmpfs filesystems specified with options ([#9511](https://github.com/containers/podman/issues/9511)).
1789
- Fixed a bug where the compat Create endpoint for Containers did not create bind-mount source directories ([#9510](https://github.com/containers/podman/issues/9510)).
1790
- Fixed a bug where the compat Create endpoint for Containers did not properly handle the `NanoCpus` option ([#9523](https://github.com/containers/podman/issues/9523)).
1791
- Fixed a bug where the compat List endpoint for Containers did not populate information on forwarded ports ([#9553](https://github.com/containers/podman/issues/9553))
1792
- Fixed a bug where the compat List endpoint for Containers did not populate information on container CNI networks ([#9529](https://github.com/containers/podman/issues/9529)).
1793
- Fixed a bug where the compat and libpod Stop endpoints for Containers would ignore a timeout of 0.
1794
- Fixed a bug where the compat Remove endpoint for Containers would not return 404 when attempting to remove a container that does not exist ([#9675](https://github.com/containers/podman/issues/9675)).
1795
- Fixed a bug where the compat Prune endpoint for Volumes would still prune even if an invalid filter was specified.
1796
1797
### Misc
1798
- Updated Buildah to v1.19.8
1799
- Updated the containers/storage library to v1.28.0
1800
- Updated the containers/image library to v5.10.5
1801
- Updated the containers/common library to v0.35.3
1802
1803
1804
3.1.0-RC1:
1805
1806
This is the first release candidate for Podman v3.1.0. Release is expected later this week.
1807
1808
1809
- Update storage to 1.28.1
1810
1811
1.28.1:
1812
1813
overlay.recreateSymlinks: handle missing "link" files, add a test
1814
TestLockfileWriteConcurrent: stay below 8192 goroutines
1815
Use an xz library instead of shelling out to xz for decompression
1816
overlay: check selinux label support
1817
1818
1.28.0:
1819
1820
Add dependabot.yml configuration file
1821
Add more mount information to errors
1822
Inherit system storage driver in rootless configurations
1823
archive: make getFileOwner public
1824
archive: make getWhiteoutConverter public
1825
archive: whiteout creation with a handler
1826
build(deps): bump github.com/Microsoft/hcsshim from 0.8.14 to 0.8.15
1827
build(deps): bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
1828
build(deps): bump github.com/klauspost/compress from 1.11.7 to 1.11.12
1829
build(deps): bump github.com/moby/sys/mountinfo from 0.4.0 to 0.4.1
1830
build(deps): bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
1831
chown: ignore both pkg/system.EOPNOTSUPP and pkg/system.ErrNotSupportedPlatform
1832
containers-storage: add --volatile to container create
1833
copy: create a unix socket with os.ModeSocket
1834
drivers: make copyRegular public
1835
drivers: new function CopyRegularToFile
1836
fswriters: honor nosync option
1837
overlay: add detection for overlay support in a user namespace
1838
overlay: allow to reset mount_program
1839
overlay: factor function out
1840
overlay: fix path to incompat/volatile
1841
overlay: improve overlay error message
1842
overlay: public function to check for overlay support
1843
overlay: record if using mount_program
1844
overlay: rootless move error to debug message
1845
overlay: use direct mount instead of mountFrom
1846
support patches to prepare #775
1847
tests: test mount/unmount volatile container
1848
types: check for native overlay support
1849
1850
1851
1.27.0:
1852
1853
Move storageOpts structures into types subdir to shrink bindings.
1854
(*store).Diff: add missing unlock in error case
1855
pkg/lockfile: fix a race and re-enable unit tests
1856
Add warning about possible storage corruption
1857
pkg/chrootarchive.TestChrootUntarWithHugeExcludesList: fix compile error
1858
pkg/archive.TestCopyWithTarSrcFile(): update for NoOverwriteDirNonDir
1859
drivers/devmapper: default the rootfs directory to 0555
1860
TestRootlessRuntimeDir: iterate tests using testing.T.Run()
1861
Fix TestDefaultStoreOpts()
1862
getRootlessRuntimeDirIsolated(): don't use an empty tmpPerUserDir
1863
drivers/zfs: default the base layer to 0555
1864
drivers/btrfs: default the base layer to 0555
1865
drivers/aufs: inherit permissions on "/" from parent layers
1866
drivers/vfs: inherit permissions on "/" from parent layers
1867
graphtest: expect 0555 permissions
1868
pkg/archive.parseDirent(): adjust to avoid unsafe pointer conversion
1869
Add warning about possible storage corruption
1870
pkg/idtools.TestParseSubidFileWithNewlinesAndComments(): clean up
1871
pkg/mount.TestSubtreeUnbindable(): check for wrapped EINVAL
1872
pkg/directory: count inodes of directories
1873
Makefile local-test-unit: use -race if it's available
1874
pkg/mount: don't complain if the filesystem volunteers inode32/inode64
1875
CI: run unit tests again
1876
pkg/lockfile: fix a race and an incorrect unit test
1877
1878
1879
1.26.0:
1880
1881
build(deps): bump github.com/sirupsen/logrus from 1.7.1 to 1.8.0
1882
homedir: add GetCacheHome
1883
Call recreateSymlinks when not found during Readlink
1884
build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.7.1
1885
We should ignore metacopy option on kernels that do not support it
1886
drivers: add support for volatile to overlay
1887
store: support volatile containers
1888
overlay: support native rootless mounts
1889
overlay: force metacopy=on for naivediff
1890
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc93
1891
1892
1.25.0:
1893
1894
layers: support BigData
1895
Fix FreeBSD support
1896
Remove empty line as per feedback
1897
Improve project quota to support querying disk usage
1898
Use unix.Statfs instead of syscall.Statfs
1899
overlay: use XFS quota when possible
1900
drivers/quota: add GetDiskUsage endpoint
1901
1902
- Update image to 5.10.5
1903
1904
v0.35.3:
1905
* capabilities: add new method BoundingSet()
1906
* Bump github.com/containers/storage from 1.27.0 to 1.28.0
1907
* Bump github.com/onsi/ginkgo from 1.15.1 to 1.15.2
1908
* Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
1909
* Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
1910
* Remove vendor from dependabot config
1911
* Add dependabot config file to support vendoring
1912
* Bump github.com/onsi/gomega from 1.10.5 to 1.11.0
1913
* Bump github.com/onsi/ginkgo from 1.15.0 to 1.15.1
1914
* Bump github.com/containers/image/v5 from 5.10.4 to 5.10.5
1915
1916
1917
v0.35.2:
1918
Vendor in containers/common and start using types subdir.
1919
shrink the vendoring size of containers/common/pkg/config
1920
Bump github.com/containers/image/v5 from 5.10.3 to 5.10.4
1921
1922
-------------------------------------------------------------------
1923
Tue Mar 23 09:39:45 UTC 2021 - Richard Brown <rbrown@suse.com>
1924
1925
- Reintroduce SLE specific mounts config, to avoid errors on non-SLE systems
1926
1927
-------------------------------------------------------------------
1928
Thu Mar 4 18:14:43 UTC 2021 - Richard Brown <rbrown@suse.com>
1929
1930
- Require util-linux-systemd for %post scripts (findmnt) (boo#1182998)
1931
1932
-------------------------------------------------------------------
1933
Thu Feb 25 16:15:46 UTC 2021 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
1934
1935
- Update commonver to 0.35.1
1936
1937
v0.35.1:
1938
Bump github.com/containers/image/v5 from 5.10.2 to 5.10.3
1939
Stop logging messages about using DOCKER_CONFIG
1940
Add autocompletions to be shared between buildah and podman
1941
Bump github.com/sirupsen/logrus from 1.7.1 to 1.8.0
1942
Export error constants from pkg/secrets
1943
1944
v0.35:
1945
Bump github.com/sirupsen/logrus from 1.7.0 to 1.7.1
1946
Move EnforceRange and HasTable out of Podman and into common
1947
Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
1948
Bump github.com/containers/image/v5 from 5.10.1 to 5.10.2
1949
Add missing values to containers.conf man page
1950
update pause image to 3.4.1
1951
1952
v0.34:
1953
Add image_default_format
1954
Change default log driver to journald
1955
Add compatible template functions
1956
Add U volume flag to chown source volumes
1957
Bump github.com/containers/image/v5 from 5.09.0 to 5.10.1
1958
seccomp: various updates
1959
pkg: check ownership for XDG_RUNTIME_DIR
1960
seccomp: update profile to Linux 5.11 list
1961
seccomp: add CI check for up-to-date seccomp.json
1962
seccomp: re-add generation script
1963
seccomp: deduplicate default profile
1964
Add image_parallel_copies engine config
1965
Fix secret create prefix
1966
cgroupv2: fix typo in comment
1967
Add accessor for log-driver
1968
Fix secret name validation
1969
Fix name validation and dir mode in secrets
1970
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
1971
config: fix runtime_supports_nocgroup key name
1972
fix - make target all on osx
1973
Fix secret name regex
1974
Rename internal functions to make them easier to understand
1975
1976
- Update podmanver to 3.0.1
1977
1978
3.0.1:
1979
1980
### Changes
1981
- Several frequently-occurring `WARN` level log messages have been downgraded to `INFO` or `DEBUG` to not clutter terminal output.
1982
1983
### Bugfixes
1984
- Fixed a bug where the `Created` field of `podman ps --format=json` was formatted as a string instead of an Unix timestamp (integer) ([#9315](https://github.com/containers/podman/issues/9315)).
1985
- Fixed a bug where failing lookups of individual layers during the `podman images` command would cause the whole command to fail without printing output.
1986
- Fixed a bug where `--cgroups=split` did not function properly on cgroups v1 systems.
1987
- Fixed a bug where mounting a volume over an directory in the container that existed, but was empty, could fail ([#9393](https://github.com/containers/podman/issues/9393)).
1988
- Fixed a bug where mounting a volume over a directory in the container that existed could copy the entirety of the container's rootfs, instead of just the directory mounted over, into the volume ([#9415](https://github.com/containers/podman/pull/9415)).
1989
- Fixed a bug where Podman would treat the `--entrypoint=[""]` option to `podman run` and `podman create` as a literal empty string in the entrypoint, when instead it should have been ignored ([#9377](https://github.com/containers/podman/issues/9377)).
1990
- Fixed a bug where Podman would set the `HOME` environment variable to `""` when the container ran as a user without an assigned home directory ([#9378](https://github.com/containers/podman/issues/9378)).
1991
- Fixed a bug where specifying a pod infra image that had no tags (by using its ID) would cause `podman pod create` to panic ([#9374](https://github.com/containers/podman/issues/9374)).
1992
- Fixed a bug where the `--runtime` option was not properly handled by the `podman build` command ([#9365](https://github.com/containers/podman/issues/9365)).
1993
- Fixed a bug where Podman would incorrectly print an error message related to the remote API when the remote API was not in use and starting Podman failed.
1994
- Fixed a bug where Podman would change ownership of a container's working directory, even if it already existed ([#9387](https://github.com/containers/podman/issues/9387)).
1995
- Fixed a bug where the `podman generate systemd --new` command would incorrectly escape `%t` when generating the path for the PID file ([#9373](https://github.com/containers/podman/issues/9373)).
1996
- Fixed a bug where Podman could, when run inside a Podman container with the host's containers/storage directory mounted into the container, erroneously detect a reboot and reset container state if the temporary directory was not also mounted in ([#9191](https://github.com/containers/podman/issues/9191)).
1997
- Fixed a bug where some options of the `podman build` command (including but not limited to `--jobs`) were nonfunctional ([#9247](https://github.com/containers/podman/issues/9247)).
1998
1999
### API
2000
- Fixed a breaking change to the Libpod Wait API for Containers where the Conditions parameter changed type in Podman v3.0 ([#9351](https://github.com/containers/podman/issues/9351)).
2001
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle forwarded ports that did not specify a host port.
2002
- Fixed a bug where the Libpod Wait endpoint for Containers could write duplicate headers after an error occurred.
2003
- Fixed a bug where the Compat Create endpoint for Images would not pull images that already had a matching tag present locally, even if a more recent version was available at the registry ([#9232](https://github.com/containers/podman/issues/9232)).
2004
- The Compat Create endpoint for Images has had its compatibility with Docker improved, allowing its use with the `docker-java` library.
2005
2006
### Misc
2007
- Updated Buildah to v1.19.4
2008
- Updated the containers/storage library to v1.24.6
2009
2010
2011
3.0.0:
2012
2013
### Features
2014
- Podman now features initial support for Docker Compose.
2015
- Added the `podman rename` command, which allows containers to be renamed after they are created ([#1925](https://github.com/containers/podman/issues/1925)).
2016
- The Podman remote client now supports the `podman copy` command.
2017
- A new command, `podman network reload`, has been added. This command will re-configure the network of all running containers, and can be used to recreate firewall rules lost when the system firewall was reloaded (e.g. via `firewall-cmd --reload`).
2018
- Podman networks now have IDs. They can be seen in `podman network ls` and can be used when removing and inspecting networks. Existing networks receive IDs automatically.
2019
- Podman networks now also support labels. They can be added via the `--label` option to `network create`, and `podman network ls` can filter labels based on them.
2020
- The `podman network create` command now supports setting bridge MTU and VLAN through the `--opt` option ([#8454](https://github.com/containers/podman/issues/8454)).
2021
- The `podman container checkpoint` and `podman container restore` commands can now checkpoint and restore containers that include volumes.
2022
- The `podman container checkpoint` command now supports the `--with-previous` and `--pre-checkpoint` options, and the `podman container restore` command now support the `--import-previous` option. These add support for two-step checkpointing with lowered dump times.
2023
- The `podman push` command can now push manifest lists. Podman will first attempt to push as an image, then fall back to pushing as a manifest list if that fails.
2024
- The `podman generate kube` command can now be run on multiple containers at once, and will generate a single pod containing all of them.
2025
- The `podman generate kube` and `podman play kube` commands now support Kubernetes DNS configuration, and will preserve custom DNS configuration when exporting or importing YAML ([#9132](https://github.com/containers/podman/issues/9132)).
2026
- The `podman generate kube` command now properly supports generating YAML for containers and pods creating using host networking (`--net=host`) ([#9077](https://github.com/containers/podman/issues/9077)).
2027
- The `podman kill` command now supports a `--cidfile` option to kill containers given a file containing the container's ID ([#8443](https://github.com/containers/podman/issues/8443)).
2028
- The `podman pod create` command now supports the `--net=none` option ([#9165](https://github.com/containers/podman/issues/9165)).
2029
- The `podman volume create` command can now specify volume UID and GID as options with the `UID` and `GID` fields passed to the the `--opt` option.
2030
- Initial support has been added for Docker Volume Plugins. Podman can now define available plugins in `containers.conf` and use them to create volumes with `podman volume create --driver`.
2031
- The `podman run` and `podman create` commands now support a new option, `--platform`, to specify the platform of the image to be used when creating the container.
2032
- The `--security-opt` option to `podman run` and `podman create` now supports the `systempaths=unconfined` option to unrestrict access to all paths in the container, as well as `mask` and `unmask` options to allow more granular restriction of container paths.
2033
- The `podman stats --format` command now supports a new format specified, `MemUsageBytes`, which prints the raw bytes of memory consumed by a container without human-readable formatting [#8945](https://github.com/containers/podman/issues/8945).
2034
- The `podman ps` command can now filter containers based on what pod they are joined to via the `pod` filter ([#8512](https://github.com/containers/podman/issues/8512)).
2035
- The `podman pod ps` command can now filter pods based on what networks they are joined to via the `network` filter.
2036
- The `podman pod ps` command can now print information on what networks a pod is joined to via the `.Networks` specifier to the `--format` option.
2037
- The `podman system prune` command now supports filtering what containers, pods, images, and volumes will be pruned.
2038
- The `podman volume prune` commands now supports filtering what volumes will be pruned.
2039
- The `podman system prune` command now includes information on space reclaimed ([#8658](https://github.com/containers/podman/issues/8658)).
2040
- The `podman info` command will now properly print information about packages in use on Gentoo and Arch systems.
2041
- The `containers.conf` file now contains an option for disabling creation of a new kernel keyring on container creation ([#8384](https://github.com/containers/podman/issues/8384)).
2042
- The `podman image sign` command can now sign multi-arch images by producing a signature for each image in a given manifest list.
2043
- The `podman image sign` command, when run as rootless, now supports per-user registry configuration files in `$HOME/.config/containers/registries.d`.
2044
- Configuration options for `slirp4netns` can now be set system-wide via the `NetworkCmdOptions` configuration option in `containers.conf`.
2045
- The MTU of `slirp4netns` can now be configured via the `mtu=` network command option (e.g. `podman run --net slirp4netns:mtu=9000`).
2046
2047
### Security
2048
- A fix for CVE-2021-20199 is included. Podman between v1.8.0 and v2.2.1 used `127.0.0.1` as the source address for all traffic forwarded into rootless containers by a forwarded port; this has been changed to address the issue.
2049
2050
### Changes
2051
- Shortname aliasing support has now been turned on by default. All Podman commands that must pull an image will, if a TTY is available, prompt the user about what image to pull.
2052
- The `podman load` command no longer accepts a `NAME[:TAG]` argument. The presence of this argument broke CLI compatibility with Docker by making `docker load` commands unusable with Podman ([#7387](https://github.com/containers/podman/issues/7387)).
2053
- The Go bindings for the HTTP API have been rewritten with a focus on limiting dependency footprint and improving extensibility. Read more [here](https://github.com/containers/podman/blob/v3.0/pkg/bindings/README.md).
2054
- The legacy Varlink API has been completely removed from Podman.
2055
- The default log level for Podman has been changed from Error to Warn.
2056
- The `podman network create` command can now create `macvlan` networks using the `--driver macvlan` option for Docker compatibility. The existing `--macvlan` flag has been deprecated and will be removed in Podman 4.0 some time next year.
2057
- The `podman inspect` command has had the `LogPath` and `LogTag` fields moved into the `LogConfig` structure (from the root of the Inspect structure). The maximum size of the log file is also included.
2058
- The `podman generate systemd` command no longer generates unit files using the deprecated `KillMode=none` option ([#8615](https://github.com/containers/podman/issues/8615)).
2059
- The `podman stop` command now releases the container lock while waiting for it to stop - as such, commands like `podman ps` will no longer block until `podman stop` completes ([#8501](https://github.com/containers/podman/issues/8501)).
2060
- Networks created with `podman network create --internal` no longer use the `dnsname` plugin. This configuration never functioned as expected.
2061
- Error messages for the remote Podman client have been improved when it cannot connect to a Podman service.
2062
- Error messages for `podman run` when an invalid SELinux is specified have been improved.
2063
- Rootless Podman features improved support for containers with a single user mapped into the rootless user namespace.
2064
- Pod infra containers now respect default sysctls specified in `containers.conf` allowing for advanced configuration of the namespaces they will share.
2065
- SSH public key handling for remote Podman has been improved.
2066
2067
### Bugfixes
2068
- Fixed a bug where the `podman history --no-trunc` command would truncate the `Created By` field ([#9120](https://github.com/containers/podman/issues/9120)).
2069
- Fixed a bug where root containers that did not explicitly specify a CNI network to join did not generate an entry for the network in use in the `Networks` field of the output of `podman inspect` ([#6618](https://github.com/containers/podman/issues/6618)).
2070
- Fixed a bug where, under some circumstances, container working directories specified by the image (via the `WORKDIR` instruction) but not present in the image, would not be created ([#9040](https://github.com/containers/podman/issues/9040)).
2071
- Fixed a bug where the `podman generate systemd` command would generate invalid unit files if the container was creating using a command line that included doubled braces (`{{` and `}}`), e.g. `--log-opt-tag={{.Name}}` ([#9034](https://github.com/containers/podman/issues/9034)).
2072
- Fixed a bug where the `podman generate systemd --new` command could generate unit files including invalid Podman commands if the container was created using merged short options (e.g. `podman run -dt`) ([#8847](https://github.com/containers/podman/issues/8847)).
2073
- Fixed a bug where the `podman generate systemd --new` command could generate unit files that did not handle Podman commands including some special characters (e.g. `$`) ([#9176](https://github.com/containers/podman/issues/9176)
2074
- Fixed a bug where rootless containers joining CNI networks could not set a static IP address ([#7842](https://github.com/containers/podman/issues/7842)).
2075
- Fixed a bug where rootless containers joining CNI networks could not set network aliases ([#8567](https://github.com/containers/podman/issues/8567)).
2076
- Fixed a bug where the remote client could, under some circumstances, not include the `Containerfile` when sending build context to the server ([#8374](https://github.com/containers/podman/issues/8374)).
2077
- Fixed a bug where rootless Podman did not mount `/sys` as a new `sysfs` in some circumstances where it was acceptable.
2078
- Fixed a bug where rootless containers that both joined a user namespace and a CNI networks would cause a segfault. These options are incompatible and now return an error.
2079
- Fixed a bug where the `podman play kube` command did not properly handle `CMD` and `ARGS` from images ([#8803](https://github.com/containers/podman/issues/8803)).
2080
- Fixed a bug where the `podman play kube` command did not properly handle environment variables from images ([#8608](https://github.com/containers/podman/issues/8608)).
2081
- Fixed a bug where the `podman play kube` command did not properly print errors that occurred when starting containers.
2082
- Fixed a bug where the `podman play kube` command errored when `hostNetwork` was used ([#8790](https://github.com/containers/podman/issues/8790)).
2083
- Fixed a bug where the `podman play kube` command would always pull images when the `:latest` tag was specified, even if the image was available locally ([#7838](https://github.com/containers/podman/issues/7838)).
2084
- Fixed a bug where the `podman play kube` command did not properly handle SELinux configuration, rending YAML with custom SELinux configuration unusable ([#8710](https://github.com/containers/podman/issues/8710)).
2085
- Fixed a bug where the `podman generate kube` command incorrectly populated the `args` and `command` fields of generated YAML ([#9211](https://github.com/containers/podman/issues/9211)).
2086
- Fixed a bug where containers in a pod would create a duplicate entry in the pod's shared `/etc/hosts` file every time the container restarted ([#8921](https://github.com/containers/podman/issues/8921)).
2087
- Fixed a bug where the `podman search --list-tags` command did not support the `--format` option ([#8740](https://github.com/containers/podman/issues/8740)).
2088
- Fixed a bug where the `http_proxy` option in `containers.conf` was not being respected, and instead was set unconditionally to true ([#8843](https://github.com/containers/podman/issues/8843)).
2089
- Fixed a bug where rootless Podman could, on systems with a recent Conmon and users with a long username, fail to attach to containers ([#8798](https://github.com/containers/podman/issues/8798)).
2090
- Fixed a bug where the `podman images` command would break and fail to display any images if an empty manifest list was present in storage ([#8931](https://github.com/containers/podman/issues/8931)).
2091
- Fixed a bug where locale environment variables were not properly passed on to Conmon.
2092
- Fixed a bug where Podman would not build on the MIPS architecture ([#8782](https://github.com/containers/podman/issues/8782)).
2093
- Fixed a bug where rootless Podman could fail to properly configure user namespaces for rootless containers when the user specified a `--uidmap` option that included a mapping beginning with UID `0`.
2094
- Fixed a bug where the `podman logs` command using the `k8s-file` backend did not properly handle partial log lines with a length of 1 ([#8879](https://github.com/containers/podman/issues/8879)).
2095
- Fixed a bug where the `podman logs` command with the `--follow` option did not properly handle log rotation ([#8733](https://github.com/containers/podman/issues/8733)).
2096
- Fixed a bug where user-specified `HOSTNAME` environment variables were overwritten by Podman ([#8886](https://github.com/containers/podman/issues/8886)).
2097
- Fixed a bug where Podman would applied default sysctls from `containers.conf` in too many situations (e.g. applying network sysctls when the container shared its network with a pod).
2098
- Fixed a bug where Podman did not properly handle cases where a secondary image store was in use and an image was present in both the secondary and primary stores ([#8176](https://github.com/containers/podman/issues/8176)).
2099
- Fixed a bug where systemd-managed rootless Podman containers where the user in the container was not root could fail as the container's PID file was not accessible to systemd on the host ([#8506](https://github.com/containers/podman/issues/8506)).
2100
- Fixed a bug where the `--privileged` option to `podman run` and `podman create` would, under some circumstances, not disable Seccomp ([#8849](https://github.com/containers/podman/issues/8849)).
2101
- Fixed a bug where the `podman exec` command did not properly add capabilities when the container or exec session were run with `--privileged`.
2102
- Fixed a bug where rootless Podman would use the `--enable-sandbox` option to `slirp4netns` unconditionally, even when `pivot_root` was disabled, rendering `slirp4netns` unusable when `pivot_root` was disabled ([#8846](https://github.com/containers/podman/issues/8846)).
2103
- Fixed a bug where `podman build --logfile` did not actually write the build's log to the logfile.
2104
- Fixed a bug where the `podman system service` command did not close STDIN, and could display user-interactive prompts ([#8700](https://github.com/containers/podman/issues/8700)).
2105
- Fixed a bug where the `podman system reset` command could, under some circumstances, remove all the contents of the `XDG_RUNTIME_DIR` directory ([#8680](https://github.com/containers/podman/issues/8680)).
2106
- Fixed a bug where the `podman network create` command created CNI configurations that did not include a default gateway ([#8748](https://github.com/containers/podman/issues/8748)).
2107
- Fixed a bug where the `podman.service` systemd unit provided by default used the wrong service type, and would cause systemd to not correctly register the service as started ([#8751](https://github.com/containers/podman/issues/8751)).
2108
- Fixed a bug where, if the `TMPDIR` environment variable was set for the container engine in `containers.conf`, it was being ignored.
2109
- Fixed a bug where the `podman events` command did not properly handle future times given to the `--until` option ([#8694](https://github.com/containers/podman/issues/8694)).
2110
- Fixed a bug where the `podman logs` command wrote container `STDERR` logs to `STDOUT` instead of `STDERR` ([#8683](https://github.com/containers/podman/issues/8683)).
2111
- Fixed a bug where containers created from an image with multiple tags would report that they were created from the wrong tag ([#8547](https://github.com/containers/podman/issues/8547)).
2112
- Fixed a bug where container capabilities were not set properly when the `--cap-add=all` and `--user` options to `podman create` and `podman run` were combined.
2113
- Fixed a bug where the `--layers` option to `podman build` was nonfunctional ([#8643](https://github.com/containers/podman/issues/8643)).
2114
- Fixed a bug where the `podman system prune` command did not act recursively, and thus would leave images, containers, pods, and volumes present that would be removed by a subsequent call to `podman system prune` ([#7990](https://github.com/containers/podman/issues/7990)).
2115
- Fixed a bug where the `--publish` option to `podman run` and `podman create` did not properly handle ports specified as a range of ports with no host port specified ([#8650](https://github.com/containers/podman/issues/8650)).
2116
- Fixed a bug where `--format` did not support JSON output for individual fields ([#8444](https://github.com/containers/podman/issues/8444)).
2117
- Fixed a bug where the `podman stats` command would fail when run on root containers using the `slirp4netns` network mode ([#7883](https://github.com/containers/podman/issues/7883)).
2118
- Fixed a bug where the Podman remote client would ask for a password even if the server's SSH daemon did not support password authentication ([#8498](https://github.com/containers/podman/issues/8498)).
2119
- Fixed a bug where the `podman stats` command would fail if the system did not support one or more of the cgroup controllers Podman supports ([#8588](https://github.com/containers/podman/issues/8588)).
2120
- Fixed a bug where the `--mount` option to `podman create` and `podman run` did not ignore the `consistency` mount option.
2121
- Fixed a bug where failures during the resizing of a container's TTY would print the wrong error.
2122
- Fixed a bug where the `podman network disconnect` command could cause the `podman inspect` command to fail for a container until it was restarted ([#9234](https://github.com/containers/podman/issues/9234)).
2123
- Fixed a bug where containers created from a read-only rootfs (using the `--rootfs` option to `podman create` and `podman run`) would fail ([#9230](https://github.com/containers/podman/issues/9230)).
2124
- Fixed a bug where specifying Go templates to the `--format` option to multiple Podman commands did not support the `join` function ([#8773](https://github.com/containers/podman/issues/8773)).
2125
- Fixed a bug where the `podman rmi` command could, when run in parallel on multiple images, return `layer not known` errors ([#6510](https://github.com/containers/podman/issues/6510)).
2126
- Fixed a bug where the `podman inspect` command on containers displayed unlimited ulimits incorrectly ([#9303](https://github.com/containers/podman/issues/9303)).
2127
- Fixed a bug where Podman would fail to start when a volume was mounted over a directory in a container that contained symlinks that terminated outside the directory and its subdirectories ([#6003](https://github.com/containers/podman/issues/6003)).
2128
2129
### API
2130
- Libpod API version has been bumped to v3.0.0.
2131
- All Libpod Pod APIs have been modified to properly report errors with individual containers. Cases where the operation as a whole succeeded but individual containers failed now report an HTTP 409 error ([#8865](https://github.com/containers/podman/issues/8865)).
2132
- The Compat API for Containers now supports the Rename and Copy APIs.
2133
- Fixed a bug where the Compat Prune APIs (for volumes, containers, and images) did not return the amount of space reclaimed in their responses.
2134
- Fixed a bug where the Compat and Libpod Exec APIs for Containers would drop errors that occurred prior to the exec session successfully starting (e.g. a "no such file" error if an invalid executable was passed) ([#8281](https://github.com/containers/podman/issues/8281))
2135
- Fixed a bug where the Volumes field in the Compat Create API for Containers was being ignored ([#8649](https://github.com/containers/podman/issues/8649)).
2136
- Fixed a bug where the NetworkMode field in the Compat Create API for Containers was not handling some values, e.g. `container:`, correctly.
2137
- Fixed a bug where the Compat Create API for Containers did not set container name properly.
2138
- Fixed a bug where containers created using the Compat Create API unconditionally used Kubernetes file logging (the default specified in `containers.conf` is now used).
2139
- Fixed a bug where the Compat Inspect API for Containers could include container states not recognized by Docker.
2140
- Fixed a bug where Podman did not properly clean up after calls to the Events API when the `journald` backend was in use, resulting in a leak of file descriptors ([#8864](https://github.com/containers/podman/issues/8864)).
2141
- Fixed a bug where the Libpod Pull endpoint for Images could fail with an `index out of range` error under certain circumstances ([#8870](https://github.com/containers/podman/issues/8870)).
2142
- Fixed a bug where the Libpod Exists endpoint for Images could panic.
2143
- Fixed a bug where the Compat List API for Containers did not support all filters ([#8860](https://github.com/containers/podman/issues/8860)).
2144
- Fixed a bug where the Compat List API for Containers did not properly populate the Status field.
2145
- Fixed a bug where the Compat and Libpod Resize APIs for Containers ignored the height and width parameters ([#7102](https://github.com/containers/podman/issues/7102)).
2146
- Fixed a bug where the Compat Search API for Images returned an incorrectly-formatted JSON response ([#8758](https://github.com/containers/podman/pull/8758)).
2147
- Fixed a bug where the Compat Load API for Images did not properly clean up temporary files.
2148
- Fixed a bug where the Compat Create API for Networks could panic when an empty IPAM configuration was specified.
2149
- Fixed a bug where the Compat Inspect and List APIs for Networks did not include Scope.
2150
- Fixed a bug where the Compat Wait endpoint for Containers did not support the same wait conditions that Docker did.
2151
2152
### Misc
2153
- Updated Buildah to v1.19.2
2154
- Updated the containers/storage library to v1.24.5
2155
- Updated the containers/image library to v5.10.2
2156
- Updated the containers/common library to v0.33.4
2157
2158
2159
3.0.0-RC3:
2160
2161
Please note that these release notes are preliminary until v3.0.0 final is released
2162
2163
### Features
2164
- Podman now features initial support for Docker Compose.
2165
- Added the `podman rename` command, which allows containers to be renamed after they are created ([#1925](https://github.com/containers/podman/issues/1925)).
2166
- The Podman remote client now supports the `podman copy` command.
2167
- A new command, `podman network reload`, has been added. This command will re-configure the network of all running containers, and can be used to recreate firewall rules lost when the system firewall was reloaded (e.g. via `firewall-cmd --reload`).
2168
- Podman networks now have IDs. They can be seen in `podman network ls` and can be used when removing and inspecting networks. Existing networks receive IDs automatically.
2169
- Podman networks now also support labels. They can be added via the `--label` option to `network create`, and `podman network ls` can filter labels based on them.
2170
- The `podman network create` command now supports setting bridge MTU and VLAN through the `--opt` option ([#8454](https://github.com/containers/podman/issues/8454)).
2171
- The `podman container checkpoint` and `podman container restore` commands can now checkpoint and restore containers that include volumes.
2172
- The `podman container checkpoint` command now supports the `--with-previous` and `--pre-checkpoint` options, and the `podman container restore` command now support the `--import-previous` option. These add support for two-step checkpointing with lowered dump times.
2173
- The `podman push` command can now push manifest lists. Podman will first attempt to push as an image, then fall back to pushing as a manifest list if that fails.
2174
- The `podman generate kube` command can now be run on multiple containers at once, and will generate a single pod containing all of them.
2175
- The `podman generate kube` and `podman play kube` commands now support Kubernetes DNS configuration, and will preserve custom DNS configuration when exporting or importing YAML ([#9132](https://github.com/containers/podman/issues/9132)).
2176
- The `podman generate kube` command now properly supports generating YAML for containers and pods creating using host networking (`--net=host`) ([#9077](https://github.com/containers/podman/issues/9077)).
2177
- The `podman kill` command now supports a `--cidfile` option to kill containers given a file containing the container's ID ([#8443](https://github.com/containers/podman/issues/8443)).
2178
- The `podman pod create` command now supports the `--net=none` option ([#9165](https://github.com/containers/podman/issues/9165)).
2179
- The `podman volume create` command can now specify volume UID and GID as options with the `UID` and `GID` fields passed to the the `--opt` option.
2180
- Initial support has been added for Docker Volume Plugins. Podman can now define available plugins in `containers.conf` and use them to create volumes with `podman volume create --driver`.
2181
- The `podman run` and `podman create` commands now support a new option, `--platform`, to specify the platform of the image to be used when creating the container.
2182
- The `--security-opt` option to `podman run` and `podman create` now supports the `systempaths=unconfined` option to unrestrict access to all paths in the container, as well as `mask` and `unmask` options to allow more granular restriction of container paths.
2183
- The `podman stats --format` command now supports a new format specified, `MemUsageBytes`, which prints the raw bytes of memory consumed by a container without human-readable formatting [#8945](https://github.com/containers/podman/issues/8945).
2184
- The `podman ps` command can now filter containers based on what pod they are joined to via the `pod` filter ([#8512](https://github.com/containers/podman/issues/8512)).
2185
- The `podman pod ps` command can now filter pods based on what networks they are joined to via the `network` filter.
2186
- The `podman pod ps` command can now print information on what networks a pod is joined to via the `.Networks` specifier to the `--format` option.
2187
- The `podman system prune` command now supports filtering what containers, pods, images, and volumes will be pruned.
2188
- The `podman volume prune` commands now supports filtering what volumes will be pruned.
2189
- The `podman system prune` command now includes information on space reclaimed ([#8658](https://github.com/containers/podman/issues/8658)).
2190
- The `podman info` command will now properly print information about packages in use on Gentoo and Arch systems.
2191
- The `containers.conf` file now contains an option for disabling creation of a new kernel keyring on container creation ([#8384](https://github.com/containers/podman/issues/8384)).
2192
- The `podman image sign` command can now sign multi-arch images by producing a signature for each image in a given manifest list.
2193
- The `podman image sign` command, when run as rootless, now supports per-user registry configuration files in `$HOME/.config/containers/registries.d`.
2194
- Configuration options for `slirp4netns` can now be set system-wide via the `NetworkCmdOptions` configuration option in `containers.conf`.
2195
- The MTU of `slirp4netns` can now be configured via the `mtu=` network command option (e.g. `podman run --net slirp4netns:mtu=9000`).
2196
2197
### Security
2198
- A fix for CVE-2021-20199 is included. Podman between v1.8.0 and v2.2.1 used `127.0.0.1` as the source address for all traffic forwarded into rootless containers by a forwarded port; this has been changed to address the issue.
2199
2200
### Changes
2201
- Shortname aliasing support has now been turned on by default. All Podman commands that must pull an image will, if a TTY is available, prompt the user about what image to pull.
2202
- The `podman load` command no longer accepts a `NAME[:TAG]` argument. The presence of this argument broke CLI compatibility with Docker by making `docker load` commands unusable with Podman ([#7387](https://github.com/containers/podman/issues/7387)).
2203
- The Go bindings for the HTTP API have been rewritten with a focus on limiting dependency footprint and improving extensibility. Read more [here](https://github.com/containers/podman/blob/v3.0/pkg/bindings/README.md).
2204
- The legacy Varlink API has been completely removed from Podman.
2205
- The default log level for Podman has been changed from Error to Warn.
2206
- The `podman network create` command can now create `macvlan` networks using the `--driver macvlan` option for Docker compatibility. The existing `--macvlan` flag has been deprecated and will be removed in Podman 4.0 some time next year.
2207
- The `podman inspect` command has had the `LogPath` and `LogTag` fields moved into the `LogConfig` structure (from the root of the Inspect structure). The maximum size of the log file is also included.
2208
- The `podman generate systemd` command no longer generates unit files using the deprecated `KillMode=none` option ([#8615](https://github.com/containers/podman/issues/8615)).
2209
- The `podman stop` command now releases the container lock while waiting for it to stop - as such, commands like `podman ps` will no longer block until `podman stop` completes ([#8501](https://github.com/containers/podman/issues/8501)).
2210
- Networks created with `podman network create --internal` no longer use the `dnsname` plugin. This configuration never functioned as expected.
2211
- Error messages for the remote Podman client have been improved when it cannot connect to a Podman service.
2212
- Error messages for `podman run` when an invalid SELinux is specified have been improved.
2213
- Rootless Podman features improved support for containers with a single user mapped into the rootless user namespace.
2214
- Pod infra containers now respect default sysctls specified in `containers.conf` allowing for advanced configuration of the namespaces they will share.
2215
- SSH public key handling for remote Podman has been improved.
2216
2217
### Bugfixes
2218
- Fixed a bug where the `podman history --no-trunc` command would truncate the `Created By` field ([#9120](https://github.com/containers/podman/issues/9120)).
2219
- Fixed a bug where root containers that did not explicitly specify a CNI network to join did not generate an entry for the network in use in the `Networks` field of the output of `podman inspect` ([#6618](https://github.com/containers/podman/issues/6618)).
2220
- Fixed a bug where, under some circumstances, container working directories specified by the image (via the `WORKDIR` instruction) but not present in the image, would not be created ([#9040](https://github.com/containers/podman/issues/9040)).
2221
- Fixed a bug where the `podman generate systemd` command would generate invalid unit files if the container was creating using a command line that included doubled braces (`{{` and `}}`), e.g. `--log-opt-tag={{.Name}}` ([#9034](https://github.com/containers/podman/issues/9034)).
2222
- Fixed a bug where the `podman generate systemd --new` command could generate unit files including invalid Podman commands if the container was created using merged short options (e.g. `podman run -dt`) ([#8847](https://github.com/containers/podman/issues/8847)).
2223
- Fixed a bug where the `podman generate systemd --new` command could generate unit files that did not handle Podman commands including some special characters (e.g. `$`) ([#9176](https://github.com/containers/podman/issues/9176)
2224
- Fixed a bug where rootless containers joining CNI networks could not set a static IP address ([#7842](https://github.com/containers/podman/issues/7842)).
2225
- Fixed a bug where rootless containers joining CNI networks could not set network aliases ([#8567](https://github.com/containers/podman/issues/8567)).
2226
- Fixed a bug where the remote client could, under some circumstances, not include the `Containerfile` when sending build context to the server ([#8374](https://github.com/containers/podman/issues/8374)).
2227
- Fixed a bug where rootless Podman did not mount `/sys` as a new `sysfs` in some circumstances where it was acceptable.
2228
- Fixed a bug where rootless containers that both joined a user namespace and a CNI networks would cause a segfault. These options are incompatible and now return an error.
2229
- Fixed a bug where the `podman play kube` command did not properly handle `CMD` and `ARGS` from images ([#8803](https://github.com/containers/podman/issues/8803)).
2230
- Fixed a bug where the `podman play kube` command did not properly handle environment variables from images ([#8608](https://github.com/containers/podman/issues/8608)).
2231
- Fixed a bug where the `podman play kube` command did not properly print errors that occurred when starting containers.
2232
- Fixed a bug where the `podman play kube` command errored when `hostNetwork` was used ([#8790](https://github.com/containers/podman/issues/8790)).
2233
- Fixed a bug where the `podman play kube` command would always pull images when the `:latest` tag was specified, even if the image was available locally ([#7838](https://github.com/containers/podman/issues/7838)).
2234
- Fixed a bug where the `podman play kube` command did not properly handle SELinux configuration, rending YAML with custom SELinux configuration unusable ([#8710](https://github.com/containers/podman/issues/8710)).
2235
- Fixed a bug where the `podman generate kube` command incorrectly populated the `args` and `command` fields of generated YAML ([#9211](https://github.com/containers/podman/issues/9211)).
2236
- Fixed a bug where containers in a pod would create a duplicate entry in the pod's shared `/etc/hosts` file every time the container restarted ([#8921](https://github.com/containers/podman/issues/8921)).
2237
- Fixed a bug where the `podman search --list-tags` command did not support the `--format` option ([#8740](https://github.com/containers/podman/issues/8740)).
2238
- Fixed a bug where the `http_proxy` option in `containers.conf` was not being respected, and instead was set unconditionally to true ([#8843](https://github.com/containers/podman/issues/8843)).
2239
- Fixed a bug where rootless Podman could, on systems with a recent Conmon and users with a long username, fail to attach to containers ([#8798](https://github.com/containers/podman/issues/8798)).
2240
- Fixed a bug where the `podman images` command would break and fail to display any images if an empty manifest list was present in storage ([#8931](https://github.com/containers/podman/issues/8931)).
2241
- Fixed a bug where locale environment variables were not properly passed on to Conmon.
2242
- Fixed a bug where Podman would not build on the MIPS architecture ([#8782](https://github.com/containers/podman/issues/8782)).
2243
- Fixed a bug where rootless Podman could fail to properly configure user namespaces for rootless containers when the user specified a `--uidmap` option that included a mapping beginning with UID `0`.
2244
- Fixed a bug where the `podman logs` command using the `k8s-file` backend did not properly handle partial log lines with a length of 1 ([#8879](https://github.com/containers/podman/issues/8879)).
2245
- Fixed a bug where the `podman logs` command with the `--follow` option did not properly handle log rotation ([#8733](https://github.com/containers/podman/issues/8733)).
2246
- Fixed a bug where user-specified `HOSTNAME` environment variables were overwritten by Podman ([#8886](https://github.com/containers/podman/issues/8886)).
2247
- Fixed a bug where Podman would applied default sysctls from `containers.conf` in too many situations (e.g. applying network sysctls when the container shared its network with a pod).
2248
- Fixed a bug where Podman did not properly handle cases where a secondary image store was in use and an image was present in both the secondary and primary stores ([#8176](https://github.com/containers/podman/issues/8176)).
2249
- Fixed a bug where systemd-managed rootless Podman containers where the user in the container was not root could fail as the container's PID file was not accessible to systemd on the host ([#8506](https://github.com/containers/podman/issues/8506)).
2250
- Fixed a bug where the `--privileged` option to `podman run` and `podman create` would, under some circumstances, not disable Seccomp ([#8849](https://github.com/containers/podman/issues/8849)).
2251
- Fixed a bug where the `podman exec` command did not properly add capabilities when the container or exec session were run with `--privileged`.
2252
- Fixed a bug where rootless Podman would use the `--enable-sandbox` option to `slirp4netns` unconditionally, even when `pivot_root` was disabled, rendering `slirp4netns` unusable when `pivot_root` was disabled ([#8846](https://github.com/containers/podman/issues/8846)).
2253
- Fixed a bug where `podman build --logfile` did not actually write the build's log to the logfile.
2254
- Fixed a bug where the `podman system service` command did not close STDIN, and could display user-interactive prompts ([#8700](https://github.com/containers/podman/issues/8700)).
2255
- Fixed a bug where the `podman system reset` command could, under some circumstances, remove all the contents of the `XDG_RUNTIME_DIR` directory ([#8680](https://github.com/containers/podman/issues/8680)).
2256
- Fixed a bug where the `podman network create` command created CNI configurations that did not include a default gateway ([#8748](https://github.com/containers/podman/issues/8748)).
2257
- Fixed a bug where the `podman.service` systemd unit provided by default used the wrong service type, and would cause systemd to not correctly register the service as started ([#8751](https://github.com/containers/podman/issues/8751)).
2258
- Fixed a bug where, if the `TMPDIR` environment variable was set for the container engine in `containers.conf`, it was being ignored.
2259
- Fixed a bug where the `podman events` command did not properly handle future times given to the `--until` option ([#8694](https://github.com/containers/podman/issues/8694)).
2260
- Fixed a bug where the `podman logs` command wrote container `STDERR` logs to `STDOUT` instead of `STDERR` ([#8683](https://github.com/containers/podman/issues/8683)).
2261
- Fixed a bug where containers created from an image with multiple tags would report that they were created from the wrong tag ([#8547](https://github.com/containers/podman/issues/8547)).
2262
- Fixed a bug where container capabilities were not set properly when the `--cap-add=all` and `--user` options to `podman create` and `podman run` were combined.
2263
- Fixed a bug where the `--layers` option to `podman build` was nonfunctional ([#8643](https://github.com/containers/podman/issues/8643)).
2264
- Fixed a bug where the `podman system prune` command did not act recursively, and thus would leave images, containers, pods, and volumes present that would be removed by a subsequent call to `podman system prune` ([#7990](https://github.com/containers/podman/issues/7990)).
2265
- Fixed a bug where the `--publish` option to `podman run` and `podman create` did not properly handle ports specified as a range of ports with no host port specified ([#8650](https://github.com/containers/podman/issues/8650)).
2266
- Fixed a bug where `--format` did not support JSON output for individual fields ([#8444](https://github.com/containers/podman/issues/8444)).
2267
- Fixed a bug where the `podman stats` command would fail when run on root containers using the `slirp4netns` network mode ([#7883](https://github.com/containers/podman/issues/7883)).
2268
- Fixed a bug where the Podman remote client would ask for a password even if the server's SSH daemon did not support password authentication ([#8498](https://github.com/containers/podman/issues/8498)).
2269
- Fixed a bug where the `podman stats` command would fail if the system did not support one or more of the cgroup controllers Podman supports ([#8588](https://github.com/containers/podman/issues/8588)).
2270
- Fixed a bug where the `--mount` option to `podman create` and `podman run` did not ignore the `consistency` mount option.
2271
- Fixed a bug where failures during the resizing of a container's TTY would print the wrong error.
2272
- Fixed a bug where the `podman network disconnect` command could cause the `podman inspect` command to fail for a container until it was restarted ([#9234](https://github.com/containers/podman/issues/9234)).
2273
- Fixed a bug where containers created from a read-only rootfs (using the `--rootfs` option to `podman create` and `podman run`) would fail ([#9230](https://github.com/containers/podman/issues/9230)).
2274
2275
### API
2276
- Libpod API version has been bumped to v3.0.0.
2277
- All Libpod Pod APIs have been modified to properly report errors with individual containers. Cases where the operation as a whole succeeded but individual containers failed now report an HTTP 409 error ([#8865](https://github.com/containers/podman/issues/8865)).
2278
- The Compat API for Containers now supports the Rename and Copy APIs.
2279
- Fixed a bug where the Compat Prune APIs (for volumes, containers, and images) did not return the amount of space reclaimed in their responses.
2280
- Fixed a bug where the Compat and Libpod Exec APIs for Containers would drop errors that occurred prior to the exec session successfully starting (e.g. a "no such file" error if an invalid executable was passed) ([#8281](https://github.com/containers/podman/issues/8281))
2281
- Fixed a bug where the Volumes field in the Compat Create API for Containers was being ignored ([#8649](https://github.com/containers/podman/issues/8649)).
2282
- Fixed a bug where the NetworkMode field in the Compat Create API for Containers was not handling some values, e.g. `container:`, correctly.
2283
- Fixed a bug where the Compat Create API for Containers did not set container name properly.
2284
- Fixed a bug where containers created using the Compat Create API unconditionally used Kubernetes file logging (the default specified in `containers.conf` is now used).
2285
- Fixed a bug where the Compat Inspect API for Containers could include container states not recognized by Docker.
2286
- Fixed a bug where Podman did not properly clean up after calls to the Events API when the `journald` backend was in use, resulting in a leak of file descriptors ([#8864](https://github.com/containers/podman/issues/8864)).
2287
- Fixed a bug where the Libpod Pull endpoint for Images could fail with an `index out of range` error under certain circumstances ([#8870](https://github.com/containers/podman/issues/8870)).
2288
- Fixed a bug where the Libpod Exists endpoint for Images could panic.
2289
- Fixed a bug where the Compat List API for Containers did not support all filters ([#8860](https://github.com/containers/podman/issues/8860)).
2290
- Fixed a bug where the Compat List API for Containers did not properly populate the Status field.
2291
- Fixed a bug where the Compat and Libpod Resize APIs for Containers ignored the height and width parameters ([#7102](https://github.com/containers/podman/issues/7102)).
2292
- Fixed a bug where the Compat Search API for Images returned an incorrectly-formatted JSON response ([#8758](https://github.com/containers/podman/pull/8758)).
2293
- Fixed a bug where the Compat Load API for Images did not properly clean up temporary files.
2294
- Fixed a bug where the Compat Create API for Networks could panic when an empty IPAM configuration was specified.
2295
- Fixed a bug where the Compat Inspect and List APIs for Networks did not include Scope.
2296
2297
### Misc
2298
- Updated Buildah to v1.19.2
2299
- Updated the containers/storage library to v1.24.5
2300
- Updated the containers/common library to v0.33.4
2301
2302
2303
3.0.0-rc2:
2304
2305
This is the second release candidate of Podman v3.0.
2306
2307
3.0.0-rc1:
2308
2309
### Features
2310
- Add ability to set system wide options for slirp4netns
2311
- Add --cidfile to container kill
2312
- Add commas between mount options
2313
- Add compose regression to ci
2314
- Add containerenv information to /run/.containerenv
2315
- Add default sysctls for pod infra containers
2316
- Add --filter to podman system prune
2317
- Adding json formatting to `--list-tags` option in `podman search` command.
2318
- Add mask and unmask option to --security-opt
2319
- Add 'MemUsageBytes' format option
2320
- Add more information and examples on podman and pipes
2321
- Add network filter for podman ps and pod ps
2322
- Add Networks format placeholder to podman ps and pod ps
2323
- Add pod filter for ps
2324
- Add podman network create option for bridge mtu
2325
- Add podman network create option for bridge vlan
2326
- Add pre checkpoint
2327
- Add Security information to podman info
2328
- Add support for Gentoo file to package query
2329
- Add support for network ids
2330
- Add support for pacman package version query
2331
- Add support for persistent volume claims in kube files
2332
- Add support for --platform
2333
- Add systempaths=unconfined option
2334
- Add volume filters to system prune
2335
- Add volume prune --filter support
2336
- Allow podman push to push manifest lists
2337
- Allow users to specify TMPDIR in containers.conf
2338
- Always add the default gateway to the cni config file
2339
- Drop default log-level from error to warn
2340
- Enable short-name aliasing
2341
- Generate kube on multiple containers
2342
- Generate systemd: do not set `KillMode`
2343
- Image sign using per user registries.d
2344
- Implement pod-network-reload
2345
- Include named volumes in container migration
2346
- Initial implementation of renaming containers
2347
- Initial implementation of volume plugins
2348
- Network connect disconnect on non-running containers
2349
- Not use local image create/add manifest
2350
- Podman network label support
2351
- Prepare support in kube play for other volume types than hostPath
2352
- Remote copy
2353
- Remove the ability to use [name:tag] in podman load command
2354
- Remove varlink support from Podman
2355
- Sign multi-arch images
2356
- Support --network=default as if it was private
2357
- Support Unix timestamps for `podman logs --since`
2358
### Changes
2359
- Add LogSize to container inspect
2360
- Allow image errors to bubble up from lower level functions.
2361
- Change name of imageVolumes in container config JSON
2362
- Cleanup CNI Networks on reboot
2363
- Consolidate filter logic to pkg subdirectory
2364
- Make `podman stats` slirp check more robust
2365
- More /var/run -> /run
2366
- Prefer read/write images over read/only images
2367
- Refactor kube.ToSpecGen parameters to struct
2368
- Rename AutocompletePortCommand func
2369
- Repeat system pruning until there is nothing removed
2370
- Switch references of /var/run -> /run
2371
- Use HTTPProxy settings from containers.conf
2372
- Use Libpod tmpdir for pause path
2373
- Use Options as CRImportCheckpoint() argument
2374
- Use Options as exportCheckpoint() argument
2375
- Use PasswordCallback instead of Password for ssh
2376
- Use abi PodPs implementation for libpod/pods/json endpoint
2377
- Validate that the bridge option is supported
2378
- archive: move stat-header handling into copy package
2379
- libpod, conmon: change log level for rootless
2380
- libpod: change function to accept ExecOptions
2381
- libpod: handle single user mapped as root
2382
- make podman play use ENVs from image
2383
- pkg/copy: introduce a Copier
2384
- podman events allow future time for --until
2385
- podman.service should be an exec service not a notify service
2386
- rewrite podman-cp
2387
- rootless: add function to retrieve gid/uid mappings
2388
- rootless: automatically split userns ranges
2389
- runtime: set XDG_* env variables if missing
2390
- shell completion for the network flag
2391
- specgen: improve heuristic for /sys bind mount
2392
- systemd: make rundir always accessible
2393
### Bugfixes
2394
- Close image rawSource when each loop ends
2395
- Containers should not get inheritable caps by default
2396
- Correct port range logic for port generation
2397
- Correct which network commands can be run as rootless
2398
- Disable CGv1 pod stats on net=host post
2399
- Do not error on installing duplicate shutdown handler
2400
- Do not ignore infra command from config files
2401
- Do not mount sysfs as rootless in more cases
2402
- Do not pull if image domain is localhost
2403
- Do not use "true" after "syslog" in exit commands
2404
- Do not validate the volume source path in specgen
2405
- Don't accidently remove XDG_RUNTIME_DIR when reseting storage
2406
- Ensure that `podman play kube` actually reports errors
2407
- Ensure that user-specified HOSTNAME is honored
2408
- Ensure we do not edit container config in Exec
2409
- Exorcise Driver code from libpod/define
2410
- Expose Height/Width fields to decoder
2411
- Expose security attribute errors with their own messages
2412
- Fix Wrong image tag is used when creating a container from an image with multiple tags
2413
- Fix `podman images...` missing headers in table templates
2414
- Fix build for mips architecture
2415
- Fix build for mips architecture follow-up
2416
- Fix custom mac address with a custom cni network
2417
- Fix extra quotation mark in manpages.
2418
- Fix missing options in volumes display while setting uid and gid
2419
- Fix missing podman-container-rename man page link
2420
- Fix network ls --filter invalid value flake
2421
- Fix option names --subuidname and --subgidname
2422
- Fix panic in libpod images exists endpoint
2423
- Fix podman build --logfile
2424
- Fix podman logs read partial log lines
2425
- Fix problems reported by staticcheck
2426
- Fix problems with network remove
2427
- Fix shell completion for ps --filter ancestor
2428
- Fix some nit
2429
- Fix spelling mistakes
2430
- Fix storage.conf to define driver in the VM
2431
- Fix support for rpmbuild < 4.12.0.
2432
- Fix: unpause not supported for CGv1 rootless
2433
- Fxes /etc/hosts duplicated every time after container restarted in a pod
2434
- Handle --rm when starting a container
2435
- Handle podman exec capabilities correctly
2436
- Honor the --layers flag
2437
- Ignore containers.conf sysctls when sharing namespaces
2438
- Improve error message when the the podman service is not enabled
2439
- Make podman generate systemd --new flag parsing more robust
2440
- Pass down EnableKeyring from containers.conf to conmon
2441
- Properly handle --cap-add all when running with a --user flag
2442
- Revert "Allow multiple --network flags for podman run/create"
2443
- Revert e6fbc15f26b2a609936dfc11732037c70ee14cba
2444
- Revert the custom cobra vendor
2445
- Rework pruning to report reclaimed space
2446
- Set NetNS mode instead of value
2447
- The slirp4netns sandbox requires pivot_root
2448
- close journald when reading
2449
- container create: do not clear image name
2450
- container stop: release lock before calling the runtime
2451
- exec: honor --privileged
2452
- fix: disable seccomp by default when privileged.
2453
- image list: ignore bare manifest list
2454
- network: disallow CNI networks with user namespaces
2455
- oci: keep LC_ env variables to conmon
2456
- oci: use /proc/self/fd/FD to open unix socket
2457
- pass full NetworkMode to ParseNetworkNamespace
2458
- play kube: fix args/command handling
2459
- play kube: set entrypoint when interpreting Command
2460
- podman build --force-rm defaults to true in code
2461
- podman logs honor stderr correctly
2462
- podman, exec: move conmon to the correct cgroup
2463
- podman-remote fix sending tar content
2464
- podman: drop checking valid rootless UID
2465
- re-open container log files
2466
- security: honor systempaths=unconfined for ro paths
2467
### API
2468
- Add API for communicating with Docker volume plugins
2469
- Change bindings to stop two API calls for ping
2470
- Close the stdin/tty when using podman as a restAPI.
2471
- Compat api containers/json add support for filters
2472
- Container rename bindings
2473
- Do not pass name argument to Load API
2474
- Docker compat API - /images/search returns wrong structure (#7857)
2475
- Docker compat API - containers create ignores the name
2476
- Fix some network compat api problems
2477
- Jira RUN-1106 Container handlers updates
2478
- Jira RUN-1106 Image handlers updates
2479
- Jira RUN-1106 Network handlers updates
2480
- Jira RUN-1106 System handlers updates
2481
- Jira RUN-1106 Volumes handlers updates
2482
- Makefile: add target to generate bindings
2483
- More docker compat API fixes
2484
- Podman image bindings for 3.0
2485
- REST API v2 - ping - fix typo in header
2486
- REST API v2 - ping - remove newline from response to improve Docker compatibility
2487
- Reduce general binding binary size
2488
- Restore compatible API for prune endpoints
2489
- compat create should use bindings
2490
- hack/podman-socat captures the API stream
2491
- libpod API: pull: fix channel race
2492
- misc bindings to podman v3
2493
- pkg/copy: add parsing API
2494
- podman v3 container bindings
2495
- podman v3 pod bindings
2496
### Misc
2497
- Bump github.com/containernetworking/plugins from 0.8.7 to 0.9.0
2498
- Bump github.com/containers/common from 0.30.0 to 0.31.1
2499
- Bump github.com/containers/image/v5 from 5.8.1 to 5.9.0
2500
- Bump github.com/containers/storage from 1.24.1 to 1.24.5
2501
- Bump github.com/cri-o/ocicni to latest master
2502
- Bump github.com/google/uuid from 1.1.2 to 1.1.5
2503
- Bump github.com/onsi/gomega from 1.10.3 to 1.10.4
2504
- Bump github.com/opencontainers/selinux from 1.6.0 to 1.8.0
2505
- Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
2506
- Bump k8s.io/apimachinery from 0.19.4 to 0.20.2
2507
- Bump master to v3.0.0-dev
2508
- Bump to containers/buildah 1.9.2
2509
- Bump version in README to v2.2.0
2510
- vendor containers/psgo@v1.5.2
2511
2512
- Update storagever to 1.24.8
2513
2514
1.24.8:
2515
2516
Call recreateSymlinks when not found during Readlink
2517
homedir: add GetCacheHome
2518
2519
2520
1.24.7:
2521
2522
ignore metacopy option on kernels that do not support it
2523
2524
2525
1.24.6:
2526
2527
overlay: force metacopy=on for naivediff
2528
2529
- Update imagever to 5.10.4
2530
2531
5.10.4:
2532
2533
* copy: compute blob compression on reused blobs based on source MediaType
2534
* copy: provide compression info about copied blobs
2535
2536
5.10.3:
2537
2538
* place shortnames in `~/.cache` not `~/.config/.cache`
2539
2540
5.10.2:
2541
2542
* short-name-aliases.conf: use cache folders instead of $HOME
2543
2544
Note: the v5.10.x series is now cut from the `release-v5.10` branch.
2545
2546
5.10.1:
2547
2548
Fix segfault if sys is not defined.
2549
2550
5.10.0:
2551
2552
- tarball: fix example code
2553
- Bump github.com/ulikunitz/xz from 0.5.8 to 0.5.9
2554
- Bump github.com/opencontainers/selinux from 1.6.0 to 1.8.0
2555
- Bump github.com/vbauerster/mpb/v5 from 5.3.0 to 5.4.0
2556
- Add DockerLogMirrirChoice to ctx for log
2557
- Rename variables in pkg/docker/config tests
2558
- Fix pkg/docker/config tests on non-Linux systems
2559
- Add macOS test cases to GetPathToAuth
2560
- Fix docker tests with recent c/storage
2561
- Fix signature tests with recent c/storage
2562
- Fix sysregistriesv2 tests with recent c/storage
2563
- Fix pkg/docker/config tests with recent c/storage
2564
- Bump github.com/containers/storage from 1.23.7 to 1.24.5
2565
- Bump github.com/klauspost/compress from 1.11.3 to 1.11.6
2566
- Enable subdomain matching in policy.json
2567
- Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
2568
- Bump github.com/klauspost/compress from 1.11.6 to 1.11.7
2569
- ostree.TestReferenceSignaturePath: fix a compiler warning in a test
2570
- manifest: add a test for UpdatedMIMEType
2571
- blobinfocache: track compression types for locations
2572
- Actually make a copy of ctx as the comment claims
2573
- Actually use the SystemContext copy in the one place that matters
2574
- Update golangci-lint
2575
- Clarify the canModifyBlob condition in copyBlobFromStream
2576
- Cleanup description of shortname expansion
2577
- Allow callers to set the MaxParallelDownloads field
2578
- Fix up errors linter is complaining about
2579
- Set a default User-Agent if unset
2580
2581
-------------------------------------------------------------------
2582
Tue Jan 12 08:43:22 UTC 2021 - Sascha Grunert <sgrunert@suse.com>
2583
2584
- Update common to 0.33.0:
2585
2586
v0.33:
2587
seccomp: drop 'vmsplice' from the allowed list
2588
Add new function to setup default environment
2589
Implement secrets pkg: backend and filedriver
2590
2591
v0.32:
2592
Do not retry on most syscall failures
2593
Set http_proxy default to true
2594
Add new completion functions for Arch and Os.
2595
2596
v0.31:
2597
Switch default runtime from runc to crun
2598
Add a volume plugins field to containers.conf
2599
Remove libpod.conf
2600
2601
v0.30:
2602
Add ability to set system wide options for slirp4netns
2603
2604
v0.29:
2605
Remove stutter APIs from pkg/umask and pkg/subscriptions.
2606
2607
v0.28:
2608
Add support for enabling/disabling kernel keyring in engines
2609
We should not be setting a default infra command.
2610
Print the error to log info
2611
Move buildah/pkg/secrets to common/pkg/subscriptions
2612
Move some volume and device parsing from buildah to common
2613
2614
v0.27:
2615
fix: Set ping_group_range to 0 0 by default
2616
Allow users to customer the --remote flag to be on by default.
2617
2618
v0.26:
2619
Consolidate reporting functions from Buildah and Podman.
2620
Update pkg/report to consolidate --format flag handling between Buildah and Podman and eventually Skopeo.
2621
2622
v0.25:
2623
Common library now has pkg/formats pulled out of containers/buildah to make it easier to share with other tools.
2624
Recommended containers.conf is also now available to be used by distros and CI/CD systems.
2625
2626
v0.24:
2627
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
2628
Add shared autocomplete functions for podman/buildah
2629
2630
v0.23:
2631
Allow users to specify the default format for image builds
2632
Shell Completion with cobra for login/logout flags
2633
remove fchmodat2 from seccomp.json file
2634
Add support for CONTAINER_CONNECTION environment variable
2635
Bump github.com/containers/image/v5 from 5.5.2 to 5.6.0
2636
Allow pidfd_getfd by default in seccomp.json
2637
Fix problems found by codespell
2638
2639
v0.22:
2640
Add new syscalls to allowed seccomp.json
2641
ValidatePullPolicy case-insensitive
2642
Update default seccomp rules to match fedora rules
2643
Bump github.com/onsi/gomega from 1.10.1 to 1.10.2
2644
Bump github.com/onsi/ginkgo from 1.14.0 to 1.14.1
2645
Bump github.com/containers/storage from 1.23.3 to 1.23.5
2646
Add seccomp validation unit test for failing BuildProfile()
2647
2648
v0.21:
2649
Add BuildFilter() and ValidateProfile() API
2650
Add FindAppArmorParserBinary() helper
2651
Add mock'able unit tests and move package to `internal`
2652
Add owners file
2653
Bump github.com/containers/image/v5 from 5.5.1 to 5.5.2
2654
Bump github.com/containers/storage from 1.23.2 to 1.23.3
2655
Bump golang to 1.15
2656
Change fmt.Errorf calls to be replaced by errors package
2657
Enable retry EOF from http request
2658
Fix all gocritic lints
2659
Fix nested elseif
2660
Migrate seccomp/containers-golang
2661
RetryIfNecessary: add a field for setting the delay in RetryOptions
2662
Update golangci-lint and add config
2663
Update pkg/config/config_darwin.go
2664
Update pkg/config/config_linux.go
2665
Update pkg/config/config_windows.go
2666
Update pkg/retry/retry.go
2667
Validate that apparmor_parser is available on the system
2668
begin migration off travis
2669
containers.conf: Fix ulimits nofile example syntax
2670
fix windows containers.conf path
2671
getCustomConfigFile for windows and darwin
2672
2673
v0.20:
2674
multi_image_archive: add option for `podman save`
2675
Wrap AppArmor errors to provide more debug information
2676
Omit apparmor_parser warnings when parsing the version
2677
Support different zoneinfo locations
2678
Do not mention libpod.conf if no files found
2679
2680
v0.19:
2681
Vendor in containers/storage v1.23.0
2682
Fix duplicated code found by codeverity.
2683
Export NormalizeCapabilities function
2684
Use homedir.GetConfigHome()
2685
Respect XDG_CONFIG_HOME for policy.json and cni
2686
Fix documentation
2687
hooks_dir_path was in wrong location, should be under Enigine section
2688
Fix deprecation warnings about libpod.conf and raise log level
2689
2690
v0.18:
2691
Move retry code to pkg/retry
2692
Bump github.com/containers/storage from 1.21.1 to 1.21.2
2693
2694
v0.17:
2695
Add retry helper functions
2696
Remove extra lock in Reload function
2697
2698
v0.16:
2699
Add support for Umask
2700
Fix config reload race
2701
Add support for multiple service destinations
2702
Bump github.com/containers/storage from 1.21.0 to 1.21.1
2703
Add config reload
2704
Bump github.com/opencontainers/selinux from 1.5.2 to 1.6.0
2705
Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
2706
2707
v0.15:
2708
Add support for timezone
2709
Specify container engine in comments of engine env
2710
Add env to [engines] for engine to use
2711
Fix location of stop_timeout in default containers.conf
2712
Bump github.com/containers/image/v5 from 5.4.4 to 5.5.1
2713
Fix testing to not race on containers.conf
2714
pkg/version -> version
2715
Move pkg/version to version to be consistent with other libraries in c/image.
2716
Fixup handling of remote_uri for documentation
2717
Add script to rebuild images on quay.io
2718
Fix AppArmor profile prefix and name
2719
Change AppArmor profile prefix and fix name-check
2720
2721
- Update image to 5.9.0:
2722
2723
v5.5.0:
2724
* Add Security Policy
2725
* Bump to v5.5.0-dev again
2726
* Bump github.com/containers/storage from 1.19.1 to 1.19.2
2727
* Add debug line to get Content-Type from manifests
2728
* Add defaults for using the rootless policy path
2729
* Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
2730
* Bump github.com/klauspost/pgzip from 1.2.3 to 1.2.4
2731
* pkg/docker/config/ModifyJSON: fix MkdirAll usage
2732
* Bump github.com/vbauerster/mpb/v5 from 5.0.4 to 5.2.1
2733
* Bump github.com/containers/storage from 1.19.2 to 1.20.1
2734
* Bump github.com/klauspost/compress from 1.10.5 to 1.10.6
2735
* Bump github.com/vbauerster/mpb/v5 from 5.2.1 to 5.2.2
2736
* Go module noise
2737
* Fix crash on inspecting an OCI image with no config
2738
* Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
2739
* Add hardcode Authfile for windows and mac
2740
* docker/config: initialize dockerConfigFile
2741
* docker/config: add `GetAllCredentials`
2742
* Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2743
* Bump github.com/klauspost/compress from 1.10.6 to 1.10.7
2744
* Bump github.com/containers/storage from 1.20.1 to 1.20.2
2745
* Add documentation for credHelper
2746
* Fix error messages on !canModifyManifest
2747
* Add support for ProgressEventSkipped
2748
* Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
2749
* Bump github.com/klauspost/compress from 1.10.7 to 1.10.8
2750
* oci: don't overwrite tags pointing at the same manifest
2751
* oci test: simplify length calculation
2752
2753
v5.5.1:
2754
because the Go proxy caches an old version of the 5.5.0 tag, making
2755
it difficult to use 5.5.0.
2756
2757
v5.5.2:
2758
* backports pagination fix
2759
2760
v5.6.0:
2761
* When we can't store signatures, point the user at the destination.
2762
* Update for https://github.com/containers/skopeo/pull/932
2763
* Refactor configPath API
2764
* Load the rootless registries.conf.d for override
2765
* docker config: clean up after test
2766
* blobinfocache: clean up after test
2767
* enable search using pagination
2768
* pkg/docker/config: correct default file mode when create auth.json file
2769
* Update to Go 1.13
2770
* Coverity found potential nil dereference
2771
* Look for normalized paths in tarfile.
2772
* Move docker/tarfile.Destination to docker/internal/tarfile.Destination
2773
* Use the docker/internal/tarfile.Destination from docker/daemon and docker/archive
2774
* Remove deprecated non-SystemContext functions from docker/internal.tarfile
2775
* Introduce Destination.configPath and Destination.physicalLayerPath
2776
* Split docker/internal.tarfile.Writer from Destination
2777
* Move createRepositoriesFile to a bit better place
2778
* Split Writer.createManifest from Destination.PutManifest
2779
* Reorganize docker/internal/tarfile.Writer.createManifest a bit
2780
* Move the computation of layerPaths in docker-archive
2781
* Implement writing multiple images in the modern format.
2782
* Split createSingleLegacyLayer from writeLegacyLayerMetadata
2783
* Move legacy layer ID computation to a bit later
2784
* Merge writeLegacyMetadata and createRepositoriesFile
2785
* Implement writing multiple images in the legacy format
2786
* Separate tarfile.Writer creation from Destination creation
2787
* Lock docker/internal/tarfile.Writer to support concurrent uses
2788
* Split openArchiveForWriting from docker/archive/newImageDestination
2789
* Finally, introduce docker/archive.Writer
2790
* use container/storage/pkg/homedir
2791
* Fix an error message on docker-archive:path:name@sha256:$digest
2792
* Move docker/tarfile.Source to docker/internal/tarfile.Source
2793
* Use the docker/internal/tarfile.Source from docker/daemon and docker/archive
2794
* Remove deprecated non-SystemContext functions from docker/internal/tarfile
2795
* Split docker/internal/tarfile.Reader from Source
2796
* Separate tarfile.Reader creation from Source creation
2797
* Read the tarfile manifest already when initializing tarfile.Reader
2798
* Turn tarfile.Source.LoadTarManifest into a TarManifest
2799
* Allow choosing an image from tarfile.Reader by reference
2800
* Introduce docker-archive:path:@index syntax for reading untagged images
2801
* Introduce docker/archive.Reader
2802
* Finally, share a tarfile.Reader across archiveSource objects
2803
* Add docker/archive.NewReaderForReference
2804
* Add docker/archive.Reader.ManifestTagsForReference
2805
* Support per user registries.d
2806
* Move TestInvalidPolicyFormatError
2807
* Reduce duplication in policy_config_test.go
2808
* Eliminate more duplication in signature/policy_config_tests.go
2809
* Return error body if UnexpectedHTTPResponseError
2810
* Set NoLchown to true in untar opts
2811
2812
v5.7.0:
2813
* add comment on CVE-2020-15157
2814
* Bump github.com/containers/storage from 1.23.5 to 1.23.6
2815
* Search credentials under XDG_CONFIG_HOME
2816
* Bump github.com/klauspost/compress from 1.11.0 to 1.11.1
2817
* Use $DOCKER_CONFIG/config.json to match the docker CLI.
2818
* Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
2819
* Regenerate oci/layout fixture certificates
2820
* Extend the lifetime of test certificates to 10 years
2821
* Set default rootless sigstore
2822
* Update copier/imagecopier to fix race
2823
* Fix problems found by codespell
2824
2825
v5.8.0:
2826
* pkg/shortnames
2827
* Finally, split configuration loading and merging
2828
* Reorder merging code in loadConfig to match field order in V2RegistriesConf
2829
* Remove "TODO: separate upper format from internal data below:"
2830
* Move shortNameMode from V2RegistriesConf to parsedConfig
2831
* Behavior change: Move unqualifiedSearchRegistriesOrigin to parsedConfig
2832
* Deprecate TryUpdatingCache return value, warn about parsedConfig.v2
2833
* Some progress: Move aliasCache out of V2RegistriesConf to parsedConfig
2834
* Add a parsedConfig return value to loadConfigFile
2835
* Split shortNameAliasCache.updateWithConfigurationFrom from loadConfig
2836
* Move the creation of shortNameAliasCache to loadConfigFile
2837
* Rename shortNameAliasConf.parseAndValidate to newShortNameAliasCache
2838
* Move the allocation of an empty alias map to editShortNameAlias
2839
* Bump github.com/klauspost/compress from 1.11.1 to 1.11.2
2840
* Split shortNameAliasCache from shortNameAliasConf
2841
* Split the error and success return paths of shortNameAliasConf.parseAndValidate
2842
* Sort Registries in V2RegistriesConf.postProcess
2843
* Make it clearer that .postProcessRegistries() is called on the V2RegistriesConf data
2844
* Make tomlConfig private
2845
* Split loadConfigFile from loadConfig
2846
* Make loadConfig a method on parsedConfig instead of tomlConfig
2847
* Introduce sysregistriesv2.parsedConfig, use it for configCache
2848
* Don't hard-code cache implementation details in tests
2849
* Add a test for correctly merging unqualified-search-registries
2850
* sysregistriesv2: short-name aliasing
2851
* Add GetDigest method to retrieve digest from manifest HEAD request
2852
* Fix misleading network error
2853
* Bump github.com/containers/storage from 1.23.6 to 1.23.7
2854
* docs: update reference to containers-registeries.d.md
2855
2856
v5.9.0:
2857
* copy: check our assumptions about compression
2858
* Add a signedIdentity choice "type": "remapIdentity"
2859
* shortnames: error if there's no alias and no search registries
2860
2861
- Update podman to 2.2.1
2862
2863
v2.2.1
2864
2865
### Changes
2866
- Due to a conflict with a previously-removed field, we were forced to modify the way image volumes (mounting images into containers using `--mount type=image`) were handled in the database. As a result, containers created in Podman 2.2.0 with image volumes will not have them in v2.2.1, and these containers will need to be re-created.
2867
2868
### Bugfixes
2869
- Fixed a bug where rootless Podman would, on systems without the `XDG_RUNTIME_DIR` environment variable defined, use an incorrect path for the PID file of the Podman pause process, causing Podman to fail to start ([#8539](https://github.com/containers/podman/issues/8539)).
2870
- Fixed a bug where containers created using Podman v1.7 and earlier were unusable in Podman due to JSON decode errors ([#8613](https://github.com/containers/podman/issues/8613)).
2871
- Fixed a bug where Podman could retrieve invalid cgroup paths, instead of erroring, for containers that were not running.
2872
- Fixed a bug where the `podman system reset` command would print a warning about a duplicate shutdown handler being registered.
2873
- Fixed a bug where rootless Podman would attempt to mount `sysfs` in circumstances where it was not allowed; some OCI runtimes (notably `crun`) would fall back to alternatives and not fail, but others (notably `runc`) would fail to run containers.
2874
- Fixed a bug where the `podman run` and `podman create` commands would fail to create containers from untagged images ([#8558](https://github.com/containers/podman/issues/8558)).
2875
- Fixed a bug where remote Podman would prompt for a password even when the server did not support password authentication ([#8498](https://github.com/containers/podman/issues/8498)).
2876
- Fixed a bug where the `podman exec` command did not move the Conmon process for the exec session into the correct cgroup.
2877
- Fixed a bug where shell completion for the `ancestor` option to `podman ps --filter` did not work correctly.
2878
- Fixed a bug where detached containers would not properly clean themselves up (or remove themselves if `--rm` was set) if the Podman command that created them was invoked with `--log-level=debug`.
2879
2880
### API
2881
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle the `Binds` and `Mounts` parameters in `HostConfig`.
2882
- Fixed a bug where the Compat Create endpoint for Containers ignored the `Name` query parameter.
2883
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle the "default" value for `NetworkMode` (this value is used extensively by `docker-compose`) ([#8544](https://github.com/containers/podman/issues/8544)).
2884
- Fixed a bug where the Compat Build endpoint for Images would sometimes incorrectly use the `target` query parameter as the image's tag.
2885
2886
### Misc
2887
- Podman v2.2.0 vendored a non-released, custom version of the `github.com/spf13/cobra` package; this has been reverted to the latest upstream release to aid in packaging.
2888
- Updated the containers/image library to v5.9.0
2889
2890
v2.2.0
2891
2892
### Features
2893
- Experimental support for shortname aliasing has been added. This is not enabled by default, but can be turned on by setting the environment variable `CONTAINERS_SHORT_NAME_ALIASING` to `on`. Documentation is [available here](https://github.com/containers/image/blob/master/docs/containers-registries.conf.5.md#short-name-aliasing) and [here](https://www.redhat.com/sysadmin/container-image-short-names).
2894
- Initial support has been added for the `podman network connect` and `podman network disconnect` commands, which allow existing containers to modify what networks they are connected to. At present, these commands can only be used on running containers that did not specify `--network=none` when they were created.
2895
- The `podman run` command now supports the `--network-alias` option to set network aliases (additional names the container can be accessed at from other containers via DNS if the `dnsname` CNI plugin is in use). Aliases can also be added and removed using the new `podman network connect` and `podman network disconnect` commands. Please note that this requires a new release (v1.1.0) of the `dnsname` plugin, and will only work on newly-created CNI networks.
2896
- The `podman generate kube` command now features support for exporting container's memory and CPU limits ([#7855](https://github.com/containers/podman/issues/7855)).
2897
- The `podman play kube` command now features support for setting CPU and Memory limits for containers ([#7742](https://github.com/containers/podman/issues/7742)).
2898
- The `podman play kube` command now supports persistent volumes claims using Podman named volumes.
2899
- The `podman play kube` command now supports Kubernetes configmaps via the `--configmap` option ([#7567](https://github.com/containers/podman/issues/7567)).
2900
- The `podman play kube` command now supports a `--log-driver` option to set the log driver for created containers.
2901
- The `podman play kube` command now supports a `--start` option, enabled by default, to start the pod after creating it. This allows for `podman play kube` to be more easily used in systemd unitfiles.
2902
- The `podman network create` command now supports the `--ipv6` option to enable dual-stack IPv6 networking for created networks ([#7302](https://github.com/containers/podman/issues/7302)).
2903
- The `podman inspect` command can now inspect pods, networks, and volumes, in addition to containers and images ([#6757](https://github.com/containers/podman/issues/6757)).
2904
- The `--mount` option for `podman run` and `podman create` now supports a new type, `image`, to mount the contents of an image into the container at a given location.
2905
- The Bash and ZSH completions have been completely reworked and have received significant enhancements! Additionally, support for Fish completions and completions for the `podman-remote` executable have been added.
2906
- The `--log-opt` option for `podman create` and `podman run` now supports the `max-size` option to set the maximum size for a container's logs ([#7434](https://github.com/containers/podman/issues/7434)).
2907
- The `--network` option to the `podman pod create` command now allows pods to be configured to use `slirp4netns` networking, even when run as root ([#6097](https://github.com/containers/podman/issues/6097)).
2908
- The `podman pod stop`, `podman pod pause`, `podman pod unpause`, and `podman pod kill` commands now work on multiple containers in parallel and should be significantly faster.
2909
- The `podman search` command now supports a `--list-tags` option to list all available tags for a single image in a single repository.
2910
- The `podman search` command can now output JSON using the `--format=json` option.
2911
- The `podman diff` and `podman mount` commands now work with all containers in the storage library, including those not created by Podman. This allows them to be used with Buildah and CRI-O containers.
2912
- The `podman container exists` command now features a `--external` option to check if a container exists not just in Podman, but also in the storage library. This will allow Podman to identify Buildah and CRI-O containers.
2913
- The `--tls-verify` and `--authfile` options have been enabled for use with remote Podman.
2914
- The `/etc/hosts` file now includes the container's name and hostname (both pointing to localhost) when the container is run with `--net=none` ([#8095](https://github.com/containers/podman/issues/8095)).
2915
- The `podman events` command now supports filtering events based on the labels of the container they occurred on using the `--filter label=key=value` option.
2916
- The `podman volume ls` command now supports filtering volumes based on their labels using the `--filter label=key=value` option.
2917
- The `--volume` and `--mount` options to `podman run` and `podman create` now support two new mount propagation options, `unbindable` and `runbindable`.
2918
- The `name` and `id` filters for `podman pod ps` now match based on a regular expression, instead of requiring an exact match.
2919
- The `podman pod ps` command now supports a new filter `status`, that matches pods in a certain state.
2920
2921
### Changes
2922
- The `podman network rm --force` command will now also remove pods that are using the network ([#7791](https://github.com/containers/podman/issues/7791)).
2923
- The `podman volume rm`, `podman network rm`, and `podman pod rm` commands now return exit code 1 if the object specified for removal does not exist, and exit code 2 if the object is in use and the `--force` option was not given.
2924
- If `/dev/fuse` is passed into Podman containers as a device, Podman will open it before starting the container to ensure that the kernel module is loaded on the host and the device is usable in the container.
2925
- Global Podman options that were not supported with remote operation have been removed from `podman-remote` (e.g. `--cgroup-manager`, `--storage-driver`).
2926
- Many errors have been changed to remove repetition and be more clear as to what has gone wrong.
2927
- The `--storage` option to `podman rm` is now enabled by default, with slightly changed semantics. If the given container does not exist in Podman but does exist in the storage library, it will be removed even without the `--storage` option. If the container exists in Podman it will be removed normally. The `--storage` option for `podman rm` is now deprecated and will be removed in a future release.
2928
- The `--storage` option to `podman ps` has been renamed to `--external`. An alias has been added so the old form of the option will continue to work.
2929
- Podman now delays the SIGTERM and SIGINT signals during container creation to ensure that Podman is not stopped midway through creating a container resulting in potential resource leakage ([#7941](https://github.com/containers/podman/issues/7941)).
2930
- The `podman save` command now strips signatures from images it is exporting, as the formats we export to do not support signatures ([#7659](https://github.com/containers/podman/issues/7659)).
2931
- A new `Degraded` state has been added to pods. Pods that have some, but not all, of their containers running are now considered to be `Degraded` instead of `Running`.
2932
- Podman will now print a warning when conflicting network options related to port forwarding (e.g. `--publish` and `--net=host`) are specified when creating a container.
2933
- The `--restart on-failure` and `--rm` options for containers no longer conflict. When both are specified, the container will be restarted if it exits with a non-zero error code, and removed if it exits cleanly ([#7906](https://github.com/containers/podman/issues/7906)).
2934
- Remote Podman will no longer use settings from the client's `containers.conf`; defaults will instead be provided by the server's `containers.conf` ([#7657](https://github.com/containers/podman/issues/7657)).
2935
- The `podman network rm` command now has a new alias, `podman network remove` ([#8402](https://github.com/containers/podman/issues/8402)).
2936
2937
### Bugfixes
2938
- Fixed a bug where `podman load` on the remote client did not error when attempting to load a directory, which is not yet supported for remote use.
2939
- Fixed a bug where rootless Podman could hang when the `newuidmap` binary was not installed ([#7776](https://github.com/containers/podman/issues/7776)).
2940
- Fixed a bug where the `--pull` option to `podman run`, `podman create`, and `podman build` did not match Docker's behavior.
2941
- Fixed a bug where sysctl settings from the `containers.conf` configuration file were applied, even if the container did not join the namespace associated with a sysctl.
2942
- Fixed a bug where Podman would not return the text of errors encounted when trying to run a healthcheck for a container.
2943
- Fixed a bug where Podman was accidentally setting the `containers` environment variable in addition to the expected `container` environment variable.
2944
- Fixed a bug where rootless Podman using CNI networking did not properly clean up DNS entries for removed containers ([#7789](https://github.com/containers/podman/issues/7789)).
2945
- Fixed a bug where the `podman untag --all` command was not supported with remote Podman.
2946
- Fixed a bug where the `podman system service` command could time out even if active attach connections were present ([#7826](https://github.com/containers/podman/issues/7826)).
2947
- Fixed a bug where the `podman system service` command would sometimes never time out despite no active connections being present.
2948
- Fixed a bug where Podman's handling of capabilities, specifically inheritable, did not match Docker's.
2949
- Fixed a bug where `podman run` would fail if the image specified was a manifest list and had already been pulled ([#7798](https://github.com/containers/podman/pull/7798)).
2950
- Fixed a bug where Podman did not take search registries into account when looking up images locally ([#6381](https://github.com/containers/podman/issues/6381)).
2951
- Fixed a bug where the `podman manifest inspect` command would fail for images that had already been pulled ([#7726](https://github.com/containers/podman/issues/7726)).
2952
- Fixed a bug where rootless Podman would not add supplemental GIDs to containers when when a user, but not a group, was set via the `--user` option to `podman create` and `podman run` and sufficient GIDs were available to add the groups ([#7782](https://github.com/containers/podman/issues/7782)).
2953
- Fixed a bug where remote Podman commands did not properly handle cases where the user gave a name that could also be a short ID for a pod or container ([#7837](https://github.com/containers/podman/issues/7837)).
2954
- Fixed a bug where `podman image prune` could leave images ready to be pruned after `podman image prune` was run ([#7872](https://github.com/containers/podman/issues/7872)).
2955
- Fixed a bug where the `podman logs` command with the `journald` log driver would not read all available logs ([#7476](https://github.com/containers/podman/issues/7476)).
2956
- Fixed a bug where the `--rm` and `--restart` options to `podman create` and `podman run` did not conflict when a restart policy that is not `on-failure` was chosen ([#7878](https://github.com/containers/podman/issues/7878)).
2957
- Fixed a bug where the `--format "table {{ .Field }}"` option to numerous Podman commands ceased to function on Podman v2.0 and up.
2958
- Fixed a bug where pods did not properly share an SELinux label between their containers, resulting in containers being unable to see the processes of other containers when the pod shared a PID namespace ([#7886](https://github.com/containers/podman/issues/7886)).
2959
- Fixed a bug where the `--namespace` option to `podman ps` did not work with the remote client ([#7903](https://github.com/containers/podman/issues/7903)).
2960
- Fixed a bug where rootless Podman incorrectly calculated the number of UIDs available in the container if multiple different ranges of UIDs were specified.
2961
- Fixed a bug where the `/etc/hosts` file would not be correctly populated for containers in a user namespace ([#7490](https://github.com/containers/podman/issues/7490)).
2962
- Fixed a bug where the `podman network create` and `podman network remove` commands could race when run in parallel, with unpredictable results ([#7807](https://github.com/containers/podman/issues/7807)).
2963
- Fixed a bug where the `-p` option to `podman run`, `podman create`, and `podman pod create` would, when given only a single number (e.g. `-p 80`), assign the same port for both host and container, instead of generating a random host port ([#7947](https://github.com/containers/podman/issues/7947)).
2964
- Fixed a bug where Podman containers did not properly store the cgroup manager they were created with, causing them to stop functioning after the cgroup manager was changed in `containers.conf` or with the `--cgroup-manager` option ([#7830](https://github.com/containers/podman/issues/7830)).
2965
- Fixed a bug where the `podman inspect` command did not include information on the CNI networks a container was connected to if it was not running.
2966
- Fixed a bug where the `podman attach` command would not print a newline after detaching from the container ([#7751](https://github.com/containers/podman/issues/7751)).
2967
- Fixed a bug where the `HOME` environment variable was not set properly in containers when the `--userns=keep-id` option was set ([#8004](https://github.com/containers/podman/issues/8004)).
2968
- Fixed a bug where the `podman container restore` command could panic when the container in question was in a pod ([#8026](https://github.com/containers/podman/issues/8026)).
2969
- Fixed a bug where the output of the `podman image trust show --raw` command was not properly formatted.
2970
- Fixed a bug where the `podman runlabel` command could panic if a label to run was not given ([#8038](https://github.com/containers/podman/issues/8038)).
2971
- Fixed a bug where the `podman run` and `podman start --attach` commands would exit with an error when the user detached manually using the detach keys on remote Podman ([#7979](https://github.com/containers/podman/issues/7979)).
2972
- Fixed a bug where rootless CNI networking did not use the `dnsname` CNI plugin if it was not available on the host, despite it always being available in the container used for rootless networking ([#8040](https://github.com/containers/podman/issues/8040)).
2973
- Fixed a bug where Podman did not properly handle cases where an OCI runtime is specified by its full path, and could revert to using another OCI runtime with the same binary path that existed in the system `$PATH` on subsequent invocations.
2974
- Fixed a bug where the `--net=host` option to `podman create` and `podman run` would cause the `/etc/hosts` file to be incorrectly populated ([#8054](https://github.com/containers/podman/issues/8054)).
2975
- Fixed a bug where the `podman inspect` command did not include container network information when the container shared its network namespace (IE, joined a pod or another container's network namespace via `--net=container:...`) ([#8073](https://github.com/containers/podman/issues/8073)).
2976
- Fixed a bug where the `podman ps` command did not include information on all ports a container was publishing.
2977
- Fixed a bug where the `podman build` command incorrectly forwarded `STDIN` into build containers from `RUN` instructions.
2978
- Fixed a bug where the `podman wait` command's `--interval` option did not work when units were not specified for the duration ([#8088](https://github.com/containers/podman/issues/8088)).
2979
- Fixed a bug where the `--detach-keys` and `--detach` options could be passed to `podman create` despite having no effect (and not making sense in that context).
2980
- Fixed a bug where Podman could not start containers if running on a system without a `/etc/resolv.conf` file (which occurs on some WSL2 images) ([#8089](https://github.com/containers/podman/issues/8089)).
2981
- Fixed a bug where the `--extract` option to `podman cp` was nonfunctional.
2982
- Fixed a bug where the `--cidfile` option to `podman run` would, when the container was not run with `--detach`, only create the file after the container exited ([#8091](https://github.com/containers/podman/issues/8091)).
2983
- Fixed a bug where the `podman images` and `podman images -a` commands could panic and not list any images when certain improperly-formatted images were present in storage ([#8148](https://github.com/containers/podman/issues/8148)).
2984
- Fixed a bug where the `podman events` command could, when the `journald` events backend was in use, become nonfunctional when a badly-formatted event or a log message that container certain string was present in the journal ([#8125](https://github.com/containers/podman/issues/8125)).
2985
- Fixed a bug where remote Podman would, when using SSH transport, not authenticate to the server using hostkeys when connecting on a port other than 22 ([#8139](https://github.com/containers/podman/issues/8139)).
2986
- Fixed a bug where the `podman attach` command would not exit when containers stopped ([#8154](https://github.com/containers/podman/issues/8154)).
2987
- Fixed a bug where Podman did not properly clean paths before verifying them, resulting in Podman refusing to start if the root or temporary directories were specified with extra trailing `/` characters ([#8160](https://github.com/containers/podman/issues/8160)).
2988
- Fixed a bug where remote Podman did not support hashed hostnames in the `known_hosts` file on the host for establishing connections ([#8159](https://github.com/containers/podman/pull/8159)).
2989
- Fixed a bug where the `podman image exists` command would return non-zero (false) when multiple potential matches for the given name existed.
2990
- Fixed a bug where the `podman manifest inspect` command on images that are not manifest lists would error instead of inspecting the image ([#8023](https://github.com/containers/podman/issues/8023)).
2991
- Fixed a bug where the `podman system service` command would fail if the directory the Unix socket was to be created inside did not exist ([#8184](https://github.com/containers/podman/issues/8184)).
2992
- Fixed a bug where pods that shared the IPC namespace (which is done by default) did not share a `/dev/shm` filesystem between all containers in the pod ([#8181](https://github.com/containers/podman/issues/8181)).
2993
- Fixed a bug where filters passed to `podman volume list` were not inclusive ([#6765](https://github.com/containers/podman/issues/6765)).
2994
- Fixed a bug where the `podman volume create` command would fail when the volume's data directory already existed (as might occur when a volume was not completely removed) ([#8253](https://github.com/containers/podman/issues/8253)).
2995
- Fixed a bug where the `podman run` and `podman create` commands would deadlock when trying to create a container that mounted the same named volume at multiple locations (e.g. `podman run -v testvol:/test1 -v testvol:/test2`) ([#8221](https://github.com/containers/podman/issues/8221)).
2996
- Fixed a bug where the parsing of the `--net` option to `podman build` was incorrect ([#8322](https://github.com/containers/podman/issues/8322)).
2997
- Fixed a bug where the `podman build` command would print the ID of the built image twice when using remote Podman ([#8332](https://github.com/containers/podman/issues/8332)).
2998
- Fixed a bug where the `podman stats` command did not show memory limits for containers ([#8265](https://github.com/containers/podman/issues/8265)).
2999
- Fixed a bug where the `podman pod inspect` command printed the static MAC address of the pod in a non-human-readable format ([#8386](https://github.com/containers/podman/pull/8386)).
3000
- Fixed a bug where the `--tls-verify` option of the `podman play kube` command had its logic inverted (`false` would enforce the use of TLS, `true` would disable it).
3001
- Fixed a bug where the `podman network rm` command would error when trying to remove `macvlan` networks and rootless CNI networks ([#8491](https://github.com/containers/podman/issues/8491)).
3002
- Fixed a bug where Podman was not setting sane defaults for missing `XDG_` environment variables.
3003
- Fixed a bug where remote Podman would check if volume paths to be mounted in the container existed on the host, not the server ([#8473](https://github.com/containers/podman/issues/8473)).
3004
- Fixed a bug where the `podman manifest create` and `podman manifest add` commands on local images would drop any images in the manifest not pulled by the host.
3005
- Fixed a bug where networks made by `podman network create` did not include the `tuning` plugin, and as such did not support setting custom MAC addresses ([#8385](https://github.com/containers/podman/issues/8385)).
3006
- Fixed a bug where container healthchecks did not use `$PATH` when searching for the Podman executable to run the healthcheck.
3007
- Fixed a bug where the `--ip-range` option to `podman network create` did not properly handle non-classful subnets when calculating the last usable IP for DHCP assignment ([#8448](https://github.com/containers/podman/issues/8448)).
3008
- Fixed a bug where the `podman container ps` alias for `podman ps` was missing ([#8445](https://github.com/containers/podman/issues/8445)).
3009
3010
### API
3011
- The Compat Create endpoint for Container has received a major refactor to share more code with the Libpod Create endpoint, and should be significantly more stable.
3012
- A Compat endpoint for exporting multiple images at once, `GET /images/get`, has been added ([#7950](https://github.com/containers/podman/issues/7950)).
3013
- The Compat Network Connect and Network Disconnect endpoints have been added.
3014
- Endpoints that deal with image registries now support a `X-Registry-Config` header to specify registry authentication configuration.
3015
- The Compat Create endpoint for images now properly supports specifying images by digest.
3016
- The Libpod Build endpoint for images now supports an `httpproxy` query parameter which, if set to true, will forward the server's HTTP proxy settings into the build container for `RUN` instructions.
3017
- The Libpod Untag endpoint for images will now remove all tags for the given image if no repository and tag are specified for removal.
3018
- Fixed a bug where the Ping endpoint misspelled a header name (`Libpod-Buildha-Version` instead of `Libpod-Buildah-Version`).
3019
- Fixed a bug where the Ping endpoint sent an extra newline at the end of its response where Docker did not.
3020
- Fixed a bug where the Compat Logs endpoint for containers did not send a newline character after each log line.
3021
- Fixed a bug where the Compat Logs endpoint for containers would mangle line endings to change newline characters to add a preceding carriage return ([#7942](https://github.com/containers/podman/issues/7942)).
3022
- Fixed a bug where the Compat Inspect endpoint for Containers did not properly list the container's stop signal ([#7917](https://github.com/containers/podman/issues/7917)).
3023
- Fixed a bug where the Compat Inspect endpoint for Containers formatted the container's create time incorrectly ([#7860](https://github.com/containers/podman/issues/7860)).
3024
- Fixed a bug where the Compat Inspect endpoint for Containers did not include the container's Path, Args, and Restart Count.
3025
- Fixed a bug where the Compat Inspect endpoint for Containers prefixed added and dropped capabilities with `CAP_` (Docker does not do so).
3026
- Fixed a bug where the Compat Info endpoint for the Engine did not include configured registries.
3027
- Fixed a bug where the server could panic if a client closed a connection midway through an image pull ([#7896](https://github.com/containers/podman/issues/7896)).
3028
- Fixed a bug where the Compat Create endpoint for volumes returned an error when a volume with the same name already existed, instead of succeeding with a 201 code ([#7740](https://github.com/containers/podman/issues/7740)).
3029
- Fixed a bug where a client disconnecting from the Libpod or Compat events endpoints could result in the server using 100% CPU ([#7946](https://github.com/containers/podman/issues/7946)).
3030
- Fixed a bug where the "no such image" error message sent by the Compat Inspect endpoint for Images returned a 404 status code with an error that was improperly formatted for Docker compatibility.
3031
- Fixed a bug where the Compat Create endpoint for networks did not properly set a default for the `driver` parameter if it was not provided by the client.
3032
- Fixed a bug where the Compat Inspect endpoint for images did not populate the `RootFS` field of the response.
3033
- Fixed a bug where the Compat Inspect endpoint for images would omit the `ParentId` field if the image had no parent, and the `Created` field if the image did not have a creation time.
3034
- Fixed a bug where the Compat Remove endpoint for Networks did not support the `Force` query parameter.
3035
3036
### Misc
3037
- Updated Buildah to v1.18.0
3038
- Updated the containers/storage library to v1.24.1
3039
- Updated the containers/image library to v5.8.1
3040
- Updated the containers/common library to v0.27.0
3041
3042
v2.2.0-rc2
3043
3044
APIv2
3045
* Fix Bugs and compatability
3046
* Fix list of images - mandatory Created attribute
3047
* Add network connect|disconnect compat endpoints
3048
Missing Commands
3049
* Add alias for podman network rm -> remove
3050
* Add podman container ps command
3051
Missing Options support
3052
* Align the podman pod ps --filter behavior with podman ps
3053
* Allow containers to --restart on-failure with --rm
3054
* Allow multiple --network flags for podman run/create
3055
Documentation:
3056
* Containers.conf settings for remote connections
3057
* Specify what the replace flag replaces in help text
3058
* Clarify ps(1) fallback of `podman top`
3059
Improve shell completions
3060
Bugs
3061
* Fix ip-range for classless subnet masks
3062
* Make c.networks() list include the default network
3063
* Make podman service log events
3064
* Set PATH env in systemd timer.
3065
* Fix container cgroup lookup
3066
v2.2.0-RC1
3067
3068
This is the first release candidate for Podman v2.2.0. Preliminary release notes are below:
3069
3070
## 2.2.0
3071
### Features
3072
- Experimental support for shortname aliasing has been added. This is not enabled by default, but can be turned on by setting the environment variable `CONTAINERS_SHORT_NAME_ALIASING` to `on`. Documentation is [available here](https://github.com/containers/image/blob/master/docs/containers-registries.conf.5.md#short-name-aliasing).
3073
- The `podman generate kube` command now features support for exporting container's memory and CPU limits ([#7855](https://github.com/containers/podman/issues/7855)).
3074
- The `podman play kube` command now features support for setting CPU and Memory limits for containers ([#7742](https://github.com/containers/podman/issues/7742)).
3075
- The `podman play kube` command now supports Kubernetes configmaps via the `--configmap` option ([#7567](https://github.com/containers/podman/issues/7567)).
3076
- The `podman play kube` command now supports a `--log-driver` option to set the log driver for created containers.
3077
- The `podman play kube` command now supports a `--start` option, enabled by default, to start the pod after creating it. This allows for `podman play kube` to be more easily used in systemd unitfiles.
3078
- The `podman run` command now supports the `--network-alias` option to set network aliases (additional names the container can be accessed at from other containers via DNS if the `dnsname` CNI plugin is in use). Please note that this requires a new release (v1.1.0) of the `dnsname` plugin, and will only work on newly-created CNI networks.
3079
- The `podman network create` command now supports the `--ipv6` option to enable dual-stack IPv6 networking for created networks ([#7302](https://github.com/containers/podman/issues/7302)).
3080
- The `podman inspect` command can now inspect pods, networks, and volumes, in addition to containers and images ([#6757](https://github.com/containers/podman/issues/6757)).
3081
- The `--mount` option for `podman run` and `podman create` now supports a new type, `image`, to mount the contents of an image into the container at a given location.
3082
- The Bash and ZSH completions have been completely reworked and have received significant enhancements! Additionally, support for Fish completions and completions for the `podman-remote` executable have been added.
3083
- The `--log-opt` option for `podman create` and `podman run` now supports the `max-size` option to set the maximum size for a container's logs ([#7434](https://github.com/containers/podman/issues/7434)).
3084
- The `--network` option to the `podman pod create` command now allows pods to be configured to use `slirp4netns` networking, even when run as root ([#6097](https://github.com/containers/podman/issues/6097)).
3085
- The `podman pod stop`, `podman pod pause`, `podman pod unpause`, and `podman pod kill` commands now work on multiple containers in parallel and should be significantly faster.
3086
- The `podman search` command now supports a `--list-tags` option to list all available tags for a single image in a single repository.
3087
- The `podman search` command can now output JSON using the `--format=json` option.
3088
- The `podman diff` and `podman mount` commands now work with all containers in the storage library, including those not created by Podman. This allows them to be used with Buildah and CRI-O containers.
3089
- The `podman container exists` command now features a `--external` option to check if a container exists not just in Podman, but also in the storage library. This will allow Podman to identify Buildah and CRI-O containers.
3090
- The `--tls-verify` and `--authfile` options have been enabled for use with remote Podman.
3091
- The `/etc/hosts` file now includes the container's name and hostname (both pointing to localhost) when the container is run with `--net=none` ([#8095](https://github.com/containers/podman/issues/8095)).
3092
- The `podman events` command now supports filtering events based on the labels of the container they occurred on using the `--filter label=key=value` option.
3093
- The `podman volume ls` command now supports filtering volumes based on their labels using the `--filter label=key=value` option.
3094
- The `--volume` and `--mount` options to `podman run` and `podman create` now support two new mount propagation options, `unbindable` and `runbindable`.
3095
- The `name` filter for `podman pod ps` now matches based on a regular expression, instead of requiring an exact match.
3096
3097
### Changes
3098
- The `podman network rm --force` command will now also remove pods that are using the network ([#7791](https://github.com/containers/podman/issues/7791)).
3099
- The `podman volume rm`, `podman network rm`, and `podman pod rm` commands now return exit code 1 if the object specified for removal does not exist, and exit code 2 if the object is in use and the `--force` option was not given.
3100
- If `/dev/fuse` is passed into Podman containers as a device, Podman will open it before starting the container to ensure that the kernel module is loaded on the host and the device is usable in the container.
3101
- Global Podman options that were not supported with remote operation have been removed from `podman-remote` (e.g. `--cgroup-manager`, `--storage-driver`).
3102
- Many errors have been changed to remove repetition and be more clear as to what has gone wrong.
3103
- The `--storage` option to `podman rm` is now enabled by default, with slightly changed semantics. If the given container does not exist in Podman but does exist in the storage library, it will be removed even without the `--storage` option. If the container exists in Podman it will be removed normally. The `--storage` option for `podman rm` is now deprecated and will be removed in a future release.
3104
- The `--storage` option to `podman ps` has been renamed to `--external`. An alias has been added so the old form of the option will continue to work.
3105
- Podman now delays the SIGTERM and SIGINT signals during container creation to ensure that Podman is not stopped midway through creating a container resulting in potential resource leakage ([#7941](https://github.com/containers/podman/issues/7941)).
3106
- The `podman save` command now strips signatures from images it is exporting, as the formats we export to do not support signatures ([#7659](https://github.com/containers/podman/issues/7659)).
3107
- A new `Degraded` state has been added to pods. Pods that have some, but not all, of their containers running are now considered to be `Degraded` instead of `Running`.
3108
3109
### Bugfixes
3110
- Fixed a bug where `podman load` on the remote client did not error when attempting to load a directory, which is not yet supported for remote use.
3111
- Fixed a bug where rootless Podman could hang when the `newuidmap` binary was not installed ([#7776](https://github.com/containers/podman/issues/7776)).
3112
- Fixed a bug where the `--pull` option to `podman run`, `podman create`, and `podman build` did not match Docker's behavior.
3113
- Fixed a bug where sysctl settings from the `containers.conf` configuration file were applied, even if the container did not join the namespace associated with a sysctl.
3114
- Fixed a bug where Podman would not return the text of errors encounted when trying to run a healthcheck for a container.
3115
- Fixed a bug where Podman was accidentally setting the `containers` environment variable in addition to the expected `container` environment variable.
3116
- Fixed a bug where rootless Podman using CNI networking did not properly clean up DNS entries for removed containers ([#7789](https://github.com/containers/podman/issues/7789)).
3117
- Fixed a bug where the `podman untag --all` command was not supported with remote Podman.
3118
- Fixed a bug where the `podman system service` command could time out even if active attach connections were present ([#7826](https://github.com/containers/podman/issues/7826)).
3119
- Fixed a bug where the `podman system service` command would sometimes never time out despite no active connections being present.
3120
- Fixed a bug where Podman's handling of capabilities, specifically inheritable, did not match Docker's.
3121
- Fixed a bug where `podman run` would fail if the image specified was a manifest list and had already been pulled ([#7798](https://github.com/containers/podman/pull/7798)).
3122
- Fixed a bug where Podman did not take search registries into account when looking up images locally ([#6381](https://github.com/containers/podman/issues/6381)).
3123
- Fixed a bug where the `podman manifest inspect` command would fail for images that had already been pulled ([#7726](https://github.com/containers/podman/issues/7726)).
3124
- Fixed a bug where rootless Podman would not add supplemental GIDs to containers when when a user, but not a group, was set via the `--user` option to `podman create` and `podman run` and sufficient GIDs were available to add the groups ([#7782](https://github.com/containers/podman/issues/7782)).
3125
- Fixed a bug where remote Podman commands did not properly handle cases where the user gave a name that could also be a short ID for a pod or container ([#7837](https://github.com/containers/podman/issues/7837)).
3126
- Fixed a bug where `podman image prune` could leave images ready to be pruned after `podman image prune` was run ([#7872](https://github.com/containers/podman/issues/7872)).
3127
- Fixed a bug where the `podman logs` command with the `journald` log driver would not read all available logs ([#7476](https://github.com/containers/podman/issues/7476)).
3128
- Fixed a bug where the `--rm` and `--restart` options to `podman create` and `podman run` did not conflict when a restart policy that is not `on-failure` was chosen ([#7878](https://github.com/containers/podman/issues/7878)).
3129
- Fixed a bug where the `--format "table {{ .Field }}"` option to numerous Podman commands ceased to function on Podman v2.0 and up.
3130
- Fixed a bug where pods did not properly share an SELinux label between their containers, resulting in containers being unable to see the processes of other containers when the pod shared a PID namespace ([#7886](https://github.com/containers/podman/issues/7886)).
3131
- Fixed a bug where the `--namespace` option to `podman ps` did not work with the remote client ([#7903](https://github.com/containers/podman/issues/7903)).
3132
- Fixed a bug where rootless Podman incorrectly calculated the number of UIDs available in the container if multiple different ranges of UIDs were specified.
3133
- Fixed a bug where the `/etc/hosts` file would not be correctly populated for containers in a user namespace ([#7490](https://github.com/containers/podman/issues/7490)).
3134
- Fixed a bug where the `podman network create` and `podman network remove` commands could race when run in parallel, with unpredictable results ([#7807](https://github.com/containers/podman/issues/7807)).
3135
- Fixed a bug where the `-p` option to `podman run`, `podman create`, and `podman pod create` would, when given only a single number (e.g. `-p 80`), assign the same port for both host and container, instead of generating a random host port ([#7947](https://github.com/containers/podman/issues/7947)).
3136
- Fixed a bug where Podman containers did not properly store the cgroup manager they were created with, causing them to stop functioning after the cgroup manager was changed in `containers.conf` or with the `--cgroup-manager` option ([#7830](https://github.com/containers/podman/issues/7830)).
3137
- Fixed a bug where the `podman inspect` command did not include information on the CNI networks a container was connected to if it was not running.
3138
- Fixed a bug where the `podman attach` command would not print a newline after detaching from the container ([#7751](https://github.com/containers/podman/issues/7751)).
3139
- Fixed a bug where the `HOME` environment variable was not set properly in containers when the `--userns=keep-id` option was set ([#8004](https://github.com/containers/podman/issues/8004)).
3140
- Fixed a bug where the `podman container restore` command could panic when the container in question was in a pod ([#8026](https://github.com/containers/podman/issues/8026)).
3141
- Fixed a bug where the output of the `podman image trust show --raw` command was not properly formatted.
3142
- Fixed a bug where the `podman runlabel` command could panic if a label to run was not given ([#8038](https://github.com/containers/podman/issues/8038)).
3143
- Fixed a bug where the `podman run` and `podman start --attach` commands would exit with an error when the user detached manually using the detach keys on remote Podman ([#7979](https://github.com/containers/podman/issues/7979)).
3144
- Fixed a bug where rootless CNI networking did not use the `dnsname` CNI plugin if it was not available on the host, despite it always being available in the container used for rootless networking ([#8040](https://github.com/containers/podman/issues/8040)).
3145
- Fixed a bug where Podman did not properly handle cases where an OCI runtime is specified by its full path, and could revert to using another OCI runtime with the same binary path that existed in the system `$PATH` on subsequent invocations.
3146
- Fixed a bug where the `--net=host` option to `podman create` and `podman run` would cause the `/etc/hosts` file to be incorrectly populated ([#8054](https://github.com/containers/podman/issues/8054)).
3147
- Fixed a bug where the `podman inspect` command did not include container network information when the container shared its network namespace (IE, joined a pod or another container's network namespace via `--net=container:...`) ([#8073](https://github.com/containers/podman/issues/8073)).
3148
- Fixed a bug where the `podman ps` command did not include information on all ports a container was publishing.
3149
- Fixed a bug where the `podman build` command incorrectly forwarded `STDIN` into build containers from `RUN` instructions.
3150
- Fixed a bug where the `podman wait` command's `--interval` option did not work when units were not specified for the duration ([#8088](https://github.com/containers/podman/issues/8088)).
3151
- Fixed a bug where the `--detach-keys` and `--detach` options could be passed to `podman create` despite having no effect (and not making sense in that context).
3152
- Fixed a bug where Podman could not start containers if running on a system without a `/etc/resolv.conf` file (which occurs on some WSL2 images) ([#8089](https://github.com/containers/podman/issues/8089)).
3153
- Fixed a bug where the `--extract` option to `podman cp` was nonfunctional.
3154
- Fixed a bug where the `--cidfile` option to `podman run` would, when the container was not run with `--detach`, only create the file after the container exited ([#8091](https://github.com/containers/podman/issues/8091)).
3155
- Fixed a bug where the `podman images` and `podman images -a` commands could panic and not list any images when certain improperly-formatted images were present in storage ([#8148](https://github.com/containers/podman/issues/8148)).
3156
- Fixed a bug where the `podman events` command could, when the `journald` events backend was in use, become nonfunctional when a badly-formatted event or a log message that container certain string was present in the journal ([#8125](https://github.com/containers/podman/issues/8125)).
3157
- Fixed a bug where remote Podman would, when using SSH transport, not authenticate to the server using hostkeys when connecting on a port other than 22 ([#8139](https://github.com/containers/podman/issues/8139)).
3158
- Fixed a bug where the `podman attach` command would not exit when containers stopped ([#8154](https://github.com/containers/podman/issues/8154)).
3159
- Fixed a bug where Podman did not properly clean paths before verifying them, resulting in Podman refusing to start if the root or temporary directories were specified with extra trailing `/` characters ([#8160](https://github.com/containers/podman/issues/8160)).
3160
- Fixed a bug where remote Podman did not support hashed hostnames in the `known_hosts` file on the host for establishing connections ([#8159](https://github.com/containers/podman/pull/8159)).
3161
- Fixed a bug where the `podman image exists` command would return non-zero (false) when multiple potential matches for the given name existed.
3162
- Fixed a bug where the `podman manifest inspect` command on images that are not manifest lists would error instead of inspecting the image ([#8023](https://github.com/containers/podman/issues/8023)).
3163
- Fixed a bug where the `podman system service` command would fail if the directory the Unix socket was to be created inside did not exist ([#8184](https://github.com/containers/podman/issues/8184)).
3164
- Fixed a bug where pods that shared the IPC namespace (which is done by default) did not share a `/dev/shm` filesystem between all containers in the pod ([#8181](https://github.com/containers/podman/issues/8181)).
3165
- Fixed a bug where filters passed to `podman volume list` were not inclusive ([#6765](https://github.com/containers/podman/issues/6765)).
3166
- Fixed a bug where the `podman volume create` command would fail when the volume's data directory already existed (as might occur when a volume was not completely removed) ([#8253](https://github.com/containers/podman/issues/8253)).
3167
- Fixed a bug where the `podman run` and `podman create` commands would deadlock when trying to create a container that mounted the same named volume at multiple locations (e.g. `podman run -v testvol:/test1 -v testvol:/test2`) ([#8221](https://github.com/containers/podman/issues/8221)).
3168
- Fixed a bug where the parsing of the `--net` option to `podman build` was incorrect ([#8322](https://github.com/containers/podman/issues/8322)).
3169
- Fixed a bug where the `podman build` command would print the ID of the built image twice when using remote Podman ([#8332](https://github.com/containers/podman/issues/8332)).
3170
- Fixed a bug where the `podman stats` command did not show memory limits for containers ([#8265](https://github.com/containers/podman/issues/8265)).
3171
- Fixed a bug where the `podman pod inspect` command printed the static MAC address of the pod in a non-human-readable format ([#8386](https://github.com/containers/podman/pull/8386)).
3172
- Fixed a bug where the `--tls-verify` option of the `podman play kube` command had its logic inverted (`false` would enforce the use of TLS, `true` would disable it).
3173
3174
### API
3175
- The Compat Create endpoint for Container has received a major refactor to share more code with the Libpod Create endpoint, and should be significantly more stable.
3176
- A Compat endpoint for exporting multiple images at once, `GET /images/get`, has been added ([#7950](https://github.com/containers/podman/issues/7950)).
3177
- The Compat Network Connect and Network Disconnect endpoints have been added.
3178
- Endpoints that deal with image registries now support a `X-Registry-Config` header to specify registry authentication configuration.
3179
- The Compat Create endpoint for images now properly supports specifying images by digest.
3180
- The Libpod Build endpoint for images now supports an `httpproxy` query parameter which, if set to true, will forward the server's HTTP proxy settings into the build container for `RUN` instructions.
3181
- The Libpod Untag endpoint for images will now remove all tags for the given image if no repository and tag are specified for removal.
3182
- Fixed a bug where the Compat Logs endpoint for containers did not send a newline character after each log line.
3183
- Fixed a bug where the Compat Logs endpoint for containers would mangle line endings to change newline characters to add a preceding carriage return ([#7942](https://github.com/containers/podman/issues/7942)).
3184
- Fixed a bug where the Compat Inspect endpoint for Containers did not properly list the container's stop signal ([#7917](https://github.com/containers/podman/issues/7917)).
3185
- Fixed a bug where the Compat Inspect endpoint for Containers formatted the container's create time incorrectly ([#7860](https://github.com/containers/podman/issues/7860)).
3186
- Fixed a bug where the Compat Inspect endpoint for Containers did not include complete network information on the container.
3187
- Fixed a bug where the server could panic if a client closed a connection midway through an image pull ([#7896](https://github.com/containers/podman/issues/7896)).
3188
- Fixed a bug where the Compat Create endpoint for volumes returned an error when a volume with the same name already existed, instead of succeeding with a 201 code ([#7740](https://github.com/containers/podman/issues/7740)).
3189
- Fixed a bug where a client disconnecting from the Libpod or Compat events endpoints could result in the server using 100% CPU ([#7946](https://github.com/containers/podman/issues/7946)).
3190
- Fixed a bug where the "no such image" error message sent by the Compat Inspect endpoint for Images returned a 404 status code with an error that was improperly formatted for Docker compatibility.
3191
- Fixed a bug where the Compat Create endpoint for networks did not properly set a default for the `driver` parameter if it was not provided by the client.
3192
- Fixed a bug where the Compat Inspect endpoint for images did not populate the `RootFS` field of the response.
3193
3194
### Misc
3195
- Updated Buildah to v1.18.0
3196
- Updated the containers/storage library to v1.24.0
3197
- Updated the containers/image library to v5.8.0
3198
- Updated the containers/common library to v0.27.0
3199
3200
v2.1.1
3201
3202
### Changes
3203
- The `podman info` command now includes the cgroup manager Podman is using.
3204
3205
### Bugfixes
3206
- Fixed a bug where Podman would not build with the `varlink` build tag enabled.
3207
- Fixed a bug where the `podman save` command could, when asked to save multiple images, write its progress bar to the archive instead of the terminal, producing a corrupted archive.
3208
- Fixed a bug where the `json-file` log driver did not write logs.
3209
- Fixed a bug where `podman-remote start --attach` did not properly handle detaching using the detach keys.
3210
- Fixed a bug where `podman pod ps --filter label=...` did not work.
3211
- Fixed a bug where the `podman build` command did not respect the `--runtime` flag.
3212
3213
### API
3214
- The REST API now includes a Server header in all responses.
3215
- Fixed a bug where the Libpod and Compat Attach endpoints could terminate early, before sending all output from the container.
3216
- Fixed a bug where the Compat Create endpoint for containers did not properly handle the Interactive parameter.
3217
- Fixed a bug where the Compat Kill endpoint for containers could continue to run after a fatal error.
3218
- Fixed a bug where the Limit parameter of the Compat List endpoint for Containers did not properly handle a limit of 0 (returning nothing, instead of all containers) ([#7722](https://github.com/containers/podman/issues/7722)).
3219
- The Libpod Stats endpoint for containers is being deprecated and will be replaced by a similar endpoint with additional features in a future release.
3220
3221
v2.1.0
3222
3223
### Features
3224
- A new command, `podman image mount`, has been added. This allows for an image to be mounted, read-only, to inspect its contents without creating a container from it ([#1433](https://github.com/containers/podman/issues/1433)).
3225
- The `podman save` and `podman load` commands can now create and load archives containing multiple images ([#2669](https://github.com/containers/podman/issues/2669)).
3226
- Rootless Podman now supports all `podman network` commands, and rootless containers can now be joined to networks.
3227
- The performance of `podman build` on `ADD` and `COPY` instructions has been greatly improved, especially when a `.dockerignore` is present.
3228
- The `podman run` and `podman create` commands now support a new mode for the `--cgroups` option, `--cgroups=split`. Podman will create two cgroups under the cgroup it was launched in, one for the container and one for Conmon. This mode is useful for running Podman in a systemd unit, as it ensures that all processes are retained in systemd's cgroup hierarchy ([#6400](https://github.com/containers/podman/issues/6400)).
3229
- The `podman run` and `podman create` commands can now specify options to slirp4netns by using the `--network` option as follows: `--net slirp4netns:opt1,opt2`. This allows for, among other things, switching the port forwarder used by slirp4netns away from rootlessport.
3230
- The `podman ps` command now features a new option, `--storage`, to show containers from Buildah, CRI-O and other applications.
3231
- The `podman run` and `podman create` commands now feature a `--sdnotify` option to control the behavior of systemd's sdnotify with containers, enabling improved support for Podman in `Type=notify` units.
3232
- The `podman run` command now features a `--preserve-fds` opton to pass file descriptors from the host into the container ([#6458](https://github.com/containers/podman/issues/6458)).
3233
- The `podman run` and `podman create` commands can now create overlay volume mounts, by adding the `:O` option to a bind mount (e.g. `-v /test:/test:O`). Overlay volume mounts will mount a directory into a container from the host and allow changes to it, but not write those changes back to the directory on the host.
3234
- The `podman play kube` command now supports the Socket HostPath type ([#7112](https://github.com/containers/podman/issues/7112)).
3235
- The `podman play kube` command now supports read-only mounts.
3236
- The `podman play kube` command now supports setting labels on pods from Kubernetes metadata labels.
3237
- The `podman play kube` command now supports setting container restart policy ([#7656](https://github.com/containers/podman/issues/7656)).
3238
- The `podman play kube` command now properly handles `HostAlias` entries.
3239
- The `podman generate kube` command now adds entries to `/etc/hosts` from `--host-add` generated YAML as `HostAlias` entries.
3240
- The `podman play kube` and `podman generate kube` commands now properly support `shareProcessNamespace` to share the PID namespace in pods.
3241
- The `podman volume ls` command now supports the `dangling` filter to identify volumes that are dangling (not attached to any container).
3242
- The `podman run` and `podman create` commands now feature a `--umask` option to set the umask of the created container.
3243
- The `podman create` and `podman run` commands now feature a `--tz` option to set the timezone within the container ([#5128](https://github.com/containers/podman/issues/5128)).
3244
- Environment variables for Podman can now be added in the `containers.conf` configuration file.
3245
- The `--mount` option of `podman run` and `podman create` now supports a new mount type, `type=devpts`, to add a `devpts` mount to the container. This is useful for containers that want to mount `/dev/` from the host into the container, but still create a terminal.
3246
- The `--security-opt` flag to `podman run` and `podman create` now supports a new option, `proc-opts`, to specify options for the container's `/proc` filesystem.
3247
- Podman with the `crun` OCI runtime now supports a new option to `podman run` and `podman create`, `--cgroup-conf`, which allows for advanced configuration of cgroups on cgroups v2 systems.
3248
- The `podman create` and `podman run` commands now support a `--override-variant` option, to override the architecture variant of the image that will be pulled and ran.
3249
- A new global option has been added to Podman, `--runtime-flags`, which allows for setting flags to use when the OCI runtime is called.
3250
- The `podman manifest add` command now supports the `--cert-dir`, `--auth-file`, `--creds`, and `--tls-verify` options.
3251
3252
### Security
3253
- This release resolves CVE-2020-14370, in which environment variables could be leaked between containers created using the Varlink API.
3254
3255
### Changes
3256
- Podman will now retry pulling an image 3 times if a pull fails due to network errors.
3257
- The `podman exec` command would previously print error messages (e.g. `exec session exited with non-zero exit code -1`) when the command run exited with a non-0 exit code. It no longer does this. The `podman exec` command will still exit with the same exit code as the command run in the container did.
3258
- Error messages when creating a container or pod with a name that is already in use have been improved.
3259
- For read-only containers running systemd init, Podman creates a tmpfs filesystem at `/run`. This was previously limited to 65k in size and mounted `noexec`, but is now unlimited size and mounted `exec`.
3260
- The `podman system reset` command no longer removes configuration files for rootless Podman.
3261
3262
### Bugfixes
3263
- Fixed a bug where Podman would not add an entry to `/etc/hosts` for a container if it joined another container's network namespace ([#66782](https://github.com/containers/podman/issues/6678)).
3264
- Fixed a bug where `podman save --format oci-dir` saved the image in an incorrect format ([#6544](https://github.com/containers/podman/issues/6544)).
3265
- Fixed a bug where privileged containers would still configure an AppArmor profile.
3266
- Fixed a bug where the `--format` option of `podman system df` was not properly interpreting format codes that included backslashes ([#7149](https://github.com/containers/podman/issues/7149)).
3267
- Fixed a bug where rootless Podman would ignore errors from `newuidmap` and `newgidmap`, even if `/etc/subuid` and `/etc/subgid` contained valid mappings for the user running Podman.
3268
- Fixed a bug where the `podman commit` command did not properly handle single-character image names ([#7114](https://github.com/containers/podman/issues/7114)).
3269
- Fixed a bug where the output of `podman ps --format=json` did not include a `Status` field ([#6980](https://github.com/containers/podman/issues/6980)).
3270
- Fixed a bug where input to the `--log-level` option was no longer case-insensitive.
3271
- Fixed a bug where `podman images` could segfault when an image pull was aborted while incomplete, leaving an image without a manifest ([#7444](https://github.com/containers/podman/issues/7444)).
3272
- Fixed a bug where rootless Podman would try to create the `~/.config` directory when it did not exist, despite not placing any configuration files inside the directory.
3273
- Fixed a bug where the output of `podman system df` was inconsistent based on whether the `-v` option was specified ([#7405](https://github.com/containers/podman/issues/7405)).
3274
- Fixed a bug where `--security-opt apparmor=unconfined` would error if Apparmor was not enabled on the system ([#7545](https://github.com/containers/podman/issues/7545)).
3275
- Fixed a bug where running `podman stop` on multiple containers starting with `--rm` could sometimes cause `no such container` errors ([#7384](https://github.com/containers/podman/issues/7384)).
3276
- Fixed a bug where `podman-remote` would still try to contact the server when displaying help information about subcommands.
3277
- Fixed a bug where the `podman build --logfile` command would segfault.
3278
- Fixed a bug where the `podman generate systemd` command did not properly handle containers which were created with a name given as `--name=$NAME` instead of `--name $NAME` ([#7157](https://github.com/containers/podman/issues/7157)).
3279
- Fixed a bug where the `podman ps` was ignoring the `--latest` flag.
3280
- Fixed a bug where the `podman-remote kill` command would hang when a signal that did not kill the container was specified ([#7135](https://github.com/containers/podman/issues/7135)).
3281
- Fixed a bug where the `--oom-score-adj` option of `podman run` and `podman create` was nonfunctional.
3282
- Fixed a bug where the `--display` option of `podman runlabel` was nonfunctional.
3283
- Fixed a bug where the `podman runlabel` command would not pull images that did not exist locally on the system.
3284
- Fixed a bug where `podman-remote run` would not exit with the correct code with the container was removed by a `podman-remote rm -f` while `podman-remote run` was still running ([#7117](https://github.com/containers/podman/issues/7117)).
3285
- Fixed a bug where the `podman-remote run --rm` command would error attempting to remove containers that had already been removed (e.g. by `podman-remote rm --force`) ([#7340](https://github.com/containers/podman/issues/7340)).
3286
- Fixed a bug where `podman --user` with a numeric user and `podman run --userns=keepid` could create users in `/etc/passwd` in the container that belong to groups without a corresponding entry in `/etc/group` ([#7389](https://github.com/containers/podman/issues/7389)).
3287
- Fixed a bug where `podman run --userns=keepid` could create entries in `/etc/passwd` with a UID that was already in use by another user ([#7503](https://github.com/containers/podman/issues/7503)).
3288
- Fixed a bug where `podman --user` with a numeric user and `podman run --userns=keepid` could create users that could not be logged into ([#7499](https://github.com/containers/podman/issues/7499)).
3289
- Fixed a bug where trying to join another container's user namespace with `--userns container:$ID` would fail ([#7547](https://github.com/containers/podman/issues/7547)).
3290
- Fixed a bug where the `podman play kube` command would trim underscores from container names ([#7020](https://github.com/containers/podman/issues/7020)).
3291
- Fixed a bug where the `podman attach` command would not show output when attaching to a container with a terminal ([#6523](https://github.com/containers/podman/issues/6253)).
3292
- Fixed a bug where the `podman system df` command could be extremely slow when large quantities of images were present ([#7406](https://github.com/containers/podman/issues/7406)).
3293
- Fixed a bug where `podman images -a` would break if any image pulled by digest was present in the store ([#7651](https://github.com/containers/podman/issues/7651)).
3294
- Fixed a bug where the `--mount` option to `podman run` and `podman create` required the `type=` parameter to be passed first ([#7628](https://github.com/containers/podman/issues/7628)).
3295
- Fixed a bug where the `--infra-command` parameter to `podman pod create` was nonfunctional.
3296
- Fixed a bug where `podman auto-update` would fail for any container started with `--pull=always` ([#7407](https://github.com/containers/podman/issues/7407)).
3297
- Fixed a bug where the `podman wait` command would only accept a single argument.
3298
- Fixed a bug where the parsing of the `--volumes-from` option to `podman run` and `podman create` was broken, making it impossible to use multiple mount options at the same time ([#7701](https://github.com/containers/podman/issues/7701)).
3299
- Fixed a bug where the `podman exec` command would not join executed processes to the container's supplemental groups if the container was started with both the `--user` and `--group-add` options.
3300
- Fixed a bug where the `--iidfile` option to `podman-remote build` was nonfunctional.
3301
3302
### API
3303
- The Libpod API version has been bumped to v2.0.0 due to a breaking change in the Image List API.
3304
- Docker-compatible Volume Endpoints (Create, Inspect, List, Remove, Prune) are now available!
3305
- Added an endpoint for generating systemd unit files for containers.
3306
- The `last` parameter to the Libpod container list endpoint now has an alias, `limit` ([#6413](https://github.com/containers/podman/issues/6413)).
3307
- The Libpod image list API new returns timestamps in Unix format, as integer, as opposed to as strings
3308
- The Compat Inspect endpoint for containers now includes port information in NetworkSettings.
3309
- The Compat List endpoint for images now features limited support for the (deprecated) `filter` query parameter ([#6797](https://github.com/containers/podman/issues/6797)).
3310
- Fixed a bug where the Compat Create endpoint for containers was not correctly handling bind mounts.
3311
- Fixed a bug where the Compat Create endpoint for containers would not return a 404 when the requested image was not present.
3312
- Fixed a bug where the Compat Create endpoint for containers did not properly handle Entrypoint and Command from images.
3313
- Fixed a bug where name history information was not properly added in the Libpod Image List endpoint.
3314
- Fixed a bug where the Libpod image search endpoint improperly populated the Description field of responses.
3315
- Added a `noTrunc` option to the Libpod image search endpoint.
3316
- Fixed a bug where the Pod List API would return null, instead of an empty array, when no pods were present ([#7392](https://github.com/containers/podman/issues/7392)).
3317
- Fixed a bug where endpoints that hijacked would do perform the hijack too early, before being ready to send and receive data ([#7195](https://github.com/containers/podman/issues/7195)).
3318
- Fixed a bug where Pod endpoints that can operate on multiple containers at once (e.g. Kill, Pause, Unpause, Stop) would not forward errors from individual containers that failed.
3319
- The Compat List endpoint for networks now supports filtering results ([#7462](https://github.com/containers/podman/issues/7462)).
3320
- Fixed a bug where the Top endpoint for pods would return both a 500 and 404 when run on a non-existant pod.
3321
- Fixed a bug where Pull endpoints did not stream progress back to the client.
3322
- The Version endpoints (Libpod and Compat) now provide version in a format compatible with Docker.
3323
- All non-hijacking responses to API requests should not include headers with the version of the server.
3324
- Fixed a bug where Libpod and Compat Events endpoints did not send response headers until the first event occurred ([#7263](https://github.com/containers/podman/issues/7263)).
3325
- Fixed a bug where the Build endpoints (Compat and Libpod) did not stream progress to the client.
3326
- Fixed a bug where the Stats endpoints (Compat and Libpod) did not properly handle clients disconnecting.
3327
- Fixed a bug where the Ignore parameter to the Libpod Stop endpoint was not performing properly.
3328
- Fixed a bug where the Compat Logs endpoint for containers did not stream its output in the correct format ([#7196](https://github.com/containers/podman/issues/7196)).
3329
3330
### Misc
3331
- Updated Buildah to v1.16.1
3332
- Updated the containers/storage library to v1.23.5
3333
- Updated the containers/image library to v5.6.0
3334
- Updated the containers/common library to v0.22.0
3335
3336
v2.1.0-RC2
3337
3338
This is the second release candidate for Podman v2.1.0.
3339
v2.1.0-RC1
3340
3341
This is the first release candidate of Podman v2.1.0. Preliminary release notes are attached below:
3342
3343
### Features
3344
- A new command, `podman image mount`, has been added. This allows for an image to be mounted, read-only, to inspect its contents without creating a container from it ([#1433](https://github.com/containers/podman/issues/1433)).
3345
- The `podman save` and `podman load` commands can now create and load archives containing multiple images ([#2669](https://github.com/containers/podman/issues/2669)).
3346
- Rootless Podman now supports all `podman network` commands, and rootless containers can now be joined to networks.
3347
- The performance of `podman build` on `ADD` and `COPY` instructions has been greatly improved, especially when a `.dockerignore` is present.
3348
- The `podman run` and `podman create` commands now support a new mode for the `--cgroups` option, `--cgroups=split`. Podman will create two cgroups under the cgroup it was launched in, one for the container and one for Conmon. This mode is useful for running Podman in a systemd unit, as it ensures that all processes are retained in systemd's cgroup hierarchy ([#6400](https://github.com/containers/podman/issues/6400)).
3349
- The `podman run` and `podman create` commands can now specify options to slirp4netns by using the `--network` option as follows: `--net slirp4netns:opt1,opt2`. This allows for, among other things, switching the port forwarder used by slirp4netns away from rootlessport.
3350
- The `podman ps` command now features a new option, `--storage`, to show containers from Buildah, CRI-O and other applications.
3351
- The `podman run` and `podman create` commands now feature a `--sdnotify` option to control the behavior of systemd's sdnotify with containers, enabling improved support for Podman in `Type=notify` units.
3352
- The `podman run` command now features a `--preserve-fds` opton to pass file descriptors from the host into the container ([#6458](https://github.com/containers/podman/issues/6458)).
3353
- The `podman run` and `podman create` commands can now create overlay volume mounts, by adding the `:O` option to a bind mount (e.g. `-v /test:/test:O`). Overlay volume mounts will mount a directory into a container from the host and allow changes to it, but not write those changes back to the directory on the host.
3354
- The `podman play kube` command now supports the Socket HostPath type ([#7112](https://github.com/containers/podman/issues/7112)).
3355
- The `podman play kube` command now supports read-only mounts.
3356
- The `podman play kube` command now properly handles `HostAlias` entries.
3357
- The `podman generate kube` command now adds entries to `/etc/hosts` from `--host-add` generated YAML as `HostAlias` entries.
3358
- The `podman play kube` and `podman generate kube` commands now properly support `shareProcessNamespace` to share the PID namespace in pods.
3359
- The `podman volume ls` command now supports the `dangling` filter to identify volumes that are dangling (not attached to any container).
3360
- The `podman run` and `podman create` commands now feature a `--umask` option to set the umask of the created container.
3361
- The `podman create` and `podman run` commands now feature a `--tz` option to set the timezone within the container ([#5128](https://github.com/containers/podman/issues/5128)).
3362
- Environment variables for Podman can now be added in the `containers.conf` configuration file.
3363
- The `--mount` option of `podman run` and `podman create` now supports a new mount type, `type=devpts`, to add a `devpts` mount to the container. This is useful for containers that want to mount `/dev/` from the host into the container, but still create a terminal.
3364
- The `--security-opt` flag to `podman run` and `podman create` now supports a new option, `proc-opts`, to specify options for the container's `/proc` filesystem.
3365
- Podman with the `crun` OCI runtime now supports a new option to `podman run` and `podman create`, `--cgroup-conf`, which allows for advanced configuration of cgroups on cgroups v2 systems.
3366
- The `podman create` and `podman run` commands now support a `--override-variant` option, to override the architecture variant of the image that will be pulled and ran.
3367
- A new global option has been added to Podman, `--runtime-flags`, which allows for setting flags to use when the OCI runtime is called.
3368
- The `podman manifest add` command now supports the `--cert-dir`, `--auth-file`, `--creds`, and `--tls-verify` options.
3369
3370
### Changes
3371
- Podman will now retry pulling an image 3 times if a pull fails due to network errors.
3372
- The `podman exec` command would previously print error messages (e.g. `exec session exited with non-zero exit code -1`) when the command run exited with a non-0 exit code. It no longer does this. The `podman exec` command will still exit with the same exit code as the command run in the container did.
3373
- Error messages when creating a container or pod with a name that is already in use have been improved.
3374
- For read-only containers running systemd init, Podman creates a tmpfs filesystem at `/run`. This was previously limited to 65k in size and mounted `noexec`, but is now unlimited size and mounted `exec`.
3375
- The `podman system reset` command no longer removes configuration files for rootless Podman.
3376
3377
### Bugfixes
3378
- Fixed a bug where Podman would not add an entry to `/etc/hosts` for a container if it joined another container's network namespace ([#66782](https://github.com/containers/podman/issues/6678)).
3379
- Fixed a bug where `podman save --format oci-dir` saved the image in an incorrect format ([#6544](https://github.com/containers/podman/issues/6544)).
3380
- Fixed a bug where privileged containers would still configure an AppArmor profile.
3381
- Fixed a bug where the `--format` option of `podman system df` was not properly interpreting format codes that included backslashes ([#7149](https://github.com/containers/podman/issues/7149)).
3382
- Fixed a bug where rootless Podman would ignore errors from `newuidmap` and `newgidmap`, even if `/etc/subuid` and `/etc/subgid` contained valid mappings for the user running Podman.
3383
- Fixed a bug where the `podman commit` command did not properly handle single-character image names ([#7114](https://github.com/containers/podman/issues/7114)).
3384
- Fixed a bug where the output of `podman ps --format=json` did not include a `Status` field ([#6980](https://github.com/containers/podman/issues/6980)).
3385
- Fixed a bug where input to the `--log-level` option was no longer case-insensitive.
3386
- Fixed a bug where `podman images` could segfault when an image pull was aborted while incomplete, leaving an image without a manifest ([#7444](https://github.com/containers/podman/issues/7444)).
3387
- Fixed a bug where rootless Podman would try to create the `~/.config` directory when it did not exist, despite not placing any configuration files inside the directory.
3388
- Fixed a bug where the output of `podman system df` was inconsistent based on whether the `-v` option was specified ([#7405](https://github.com/containers/podman/issues/7405)).
3389
- Fixed a bug where `--security-opt apparmor=unconfined` would error if Apparmor was not enabled on the system ([#7545](https://github.com/containers/podman/issues/7545)).
3390
- Fixed a bug where running `podman stop` on multiple containers starting with `--rm` could sometimes cause `no such container` errors ([#7384](https://github.com/containers/podman/issues/7384)).
3391
- Fixed a bug where `podman-remote` would still try to contact the server when displaying help information about subcommands.
3392
- Fixed a bug where the `podman build --logfile` command would segfault.
3393
- Fixed a bug where the `podman generate systemd` command did not properly handle containers which were created with a name given as `--name=$NAME` instead of `--name $NAME` ([#7157](https://github.com/containers/podman/issues/7157)).
3394
- Fixed a bug where the `podman ps` was ignoring the `--latest` flag.
3395
- Fixed a bug where the `podman-remote kill` command would hang when a signal that did not kill the container was specified ([#7135](https://github.com/containers/podman/issues/7135)).
3396
- Fixed a bug where the `--oom-score-adj` option of `podman run` and `podman create` was nonfunctional.
3397
- Fixed a bug where the `--display` option of `podman runlabel` was nonfunctional.
3398
- Fixed a bug where the `podman runlabel` command would not pull images that did not exist locally on the system.
3399
- Fixed a bug where `podman-remote run` would not exit with the correct code with the container was removed by a `podman-remote rm -f` while `podman-remote run` was still running ([#7117](https://github.com/containers/podman/issues/7117)).
3400
- Fixed a bug where the `podman-remote run --rm` command would error attempting to remove containers that had already been removed (e.g. by `podman-remote rm --force`) ([#7340](https://github.com/containers/podman/issues/7340)).
3401
- Fixed a bug where `podman --user` with a numeric user and `podman run --userns=keepid` could create users in `/etc/passwd` in the container that belong to groups without a corresponding entry in `/etc/group` ([#7389](https://github.com/containers/podman/issues/7389)).
3402
- Fixed a bug where `podman run --userns=keepid` could create entries in `/etc/passwd` with a UID that was already in use by another user ([#7503](https://github.com/containers/podman/issues/7503)).
3403
- Fixed a bug where `podman --user` with a numeric user and `podman run --userns=keepid` could create users that could not be logged into ([#7499](https://github.com/containers/podman/issues/7499)).
3404
- Fixed a bug where trying to join another container's user namespace with `--userns container:$ID` would fail ([#7547](https://github.com/containers/podman/issues/7547)).
3405
- Fixed a bug where the `podman play kube` command would trim underscores from container names ([#7020](https://github.com/containers/podman/issues/7020)).
3406
- Fixed a bug where the `podman attach` command would not show output when attaching to a container with a terminal ([#6523](https://github.com/containers/podman/issues/6253)).
3407
- Fixed a bug where the `podman system df` command could be extremely slow when large quantities of images were present ([#7406](https://github.com/containers/podman/issues/7406)).
3408
3409
### API
3410
- Docker-compatible Volume Endpoints (Create, Inspect, List, Remove, Prune) are now available!
3411
- Added an endpoint for generating systemd unit files for containers.
3412
- The `last` parameter to the Libpod container list endpoint now has an alias, `limit` ([#6413](https://github.com/containers/podman/issues/6413)).
3413
- The Libpod image list API new returns timestamps in Unix format, as integer, as opposed to as strings
3414
- The Compat Inspect endpoint for containers now includes port information in NetworkSettings.
3415
- The Compat List endpoint for images now features limited support for the (deprecated) `filter` query parameter ([#6797](https://github.com/containers/podman/issues/6797)).
3416
- Fixed a bug where the Compat Create endpoint for containers was not correctly handling bind mounts.
3417
- Fixed a bug where the Compat Create endpoint for containers would not return a 404 when the requested image was not present.
3418
- Fixed a bug where the Compat Create endpoint for containers did not properly handle Entrypoint and Command from images.
3419
- Fixed a bug where name history information was not properly added in the Libpod Image List endpoint.
3420
- Fixed a bug where the Libpod image search endpoint improperly populated the Description field of responses.
3421
- Added a `noTrunc` option to the Libpod image search endpoint.
3422
- Fixed a bug where the Pod List API would return null, instead of an empty array, when no pods were present ([#7392](https://github.com/containers/podman/issues/7392)).
3423
- Fixed a bug where endpoints that hijacked would do perform the hijack too early, before being ready to send and receive data ([#7195](https://github.com/containers/podman/issues/7195)).
3424
- Fixed a bug where Pod endpoints that can operate on multiple containers at once (e.g. Kill, Pause, Unpause, Stop) would not forward errors from individual containers that failed.
3425
- The Compat List endpoint for networks now supports filtering results ([#7462](https://github.com/containers/podman/issues/7462)).
3426
- Fixed a bug where the Top endpoint for pods would return both a 500 and 404 when run on a non-existant pod.
3427
3428
### Misc
3429
- Updated Buildah to v1.16.1
3430
- Updated the containers/storage library to v1.23.5
3431
- Updated the containers/common library to v0.22.0
3432
3433
v2.0.6
3434
3435
### Bugfixes
3436
- Fixed a bug where running systemd in a container on a cgroups v1 system would fail.
3437
- Fixed a bug where `/etc/passwd` could be re-created every time a container is restarted if the container's `/etc/passwd` did not contain an entry for the user the container was started as.
3438
- Fixed a bug where containers without an `/etc/passwd` file specifying a non-root user would not start.
3439
- Fixed a bug where the `--remote` flag would sometimes not make remote connections and would instead attempt to run Podman locally.
3440
3441
### Misc
3442
- Updated the containers/common library to v0.14.10
3443
3444
v2.0.6-rc1
3445
3446
This is the first release candidate for Podman v2.0.6. It includes several small bugfixes for issues identified with v2.0.5.
3447
v2.0.5
3448
3449
### Features
3450
- Rootless Podman will now add an entry to `/etc/passwd` for the user who ran Podman if run with `--userns=keep-id`.
3451
- The `podman system connection` command has been reworked to support multiple connections, and reenabled for use!
3452
- Podman now has a new global flag, `--connection`, to specify a connection to a remote Podman API instance.
3453
3454
### Changes
3455
- Podman's automatic systemd integration (activated by the `--systemd=true` flag, set by default) will now activate for containers using `/usr/local/sbin/init` as their command, instead of just `/usr/sbin/init` and `/sbin/init` (and any path ending in `systemd`).
3456
- Seccomp profiles specified by the `--security-opt seccomp=...` flag to `podman create` and `podman run` will now be honored even if the container was created using `--privileged`.
3457
3458
### Bugfixes
3459
- Fixed a bug where the `podman play kube` would not honor the `hostIP` field for port forwarding ([#5964](https://github.com/containers/podman/issues/5964)).
3460
- Fixed a bug where the `podman generate systemd` command would panic on an invalid restart policy being specified ([#7271](https://github.com/containers/podman/issues/7271)).
3461
- Fixed a bug where the `podman images` command could take a very long time (several minutes) to complete when a large number of images were present.
3462
- Fixed a bug where the `podman logs` command with the `--tail` flag would not work properly when a large amount of output would be printed ((#7230)[https://github.com/containers/podman/issues/7230]).
3463
- Fixed a bug where the `podman exec` command with remote Podman would not return a non-zero exit code when the exec session failed to start (e.g. invoking a non-existent command) ([#6893](https://github.com/containers/podman/issues/6893)).
3464
- Fixed a bug where the `podman load` command with remote Podman would did not honor user-specified tags ([#7124](https://github.com/containers/podman/issues/7124)).
3465
- Fixed a bug where the `podman system service` command, when run as a non-root user by Systemd, did not properly handle the Podman pause process and would not restart properly as a result ([#7180](https://github.com/containers/podman/issues/7180)).
3466
- Fixed a bug where the `--publish` flag to `podman create`, `podman run`, and `podman pod create` did not properly handle a host IP of 0.0.0.0 (attempting to bind to literal 0.0.0.0, instead of all IPs on the system) ([#7104](https://github.com/containers/podman/issues/7014)).
3467
- Fixed a bug where the `podman start --attach` command would not print the container's exit code when the command exited due to the container exiting.
3468
- Fixed a bug where the `podman rm` command with remote Podman would not remove volumes, even if the `--volumes` flag was specified ([#7128](https://github.com/containers/podman/issues/7128)).
3469
- Fixed a bug where the `podman run` command with remote Podman and the `--rm` flag could exit before the container was fully removed.
3470
- Fixed a bug where the `--pod new:...` flag to `podman run` and `podman create` would create a pod that did not share any namespaces.
3471
- Fixed a bug where the `--preserve-fds` flag to `podman run` and `podman exec` could close the wrong file descriptors while trying to close user-provided descriptors after passing them into the container.
3472
- Fixed a bug where default environment variables (`$PATH` and `$TERM`) were not set in containers when not provided by the image.
3473
- Fixed a bug where pod infra containers were not properly unmounted after exiting.
3474
- Fixed a bug where networks created with `podman network create` with an IPv6 subnet did not properly set an IPv6 default route.
3475
- Fixed a bug where the `podman save` command would not work properly when its output was piped to another command ([#7017](https://github.com/containers/podman/issues/7017)).
3476
- Fixed a bug where containers using a systemd init on a cgroups v1 system could leak mounts under `/sys/fs/cgroup/systemd` to the host.
3477
- Fixed a bug where `podman build` would not generate an event on completion ([#7022](https://github.com/containers/podman/issues/7022)).
3478
- Fixed a bug where the `podman history` command with remote Podman printed incorrect creation times for layers ([#7122](https://github.com/containers/podman/issues/7122)).
3479
- Fixed a bug where Podman would not create working directories specified by the container image if they did not exist.
3480
- Fixed a bug where Podman did not clear `CMD` from the container image if the user overrode `ENTRYPOINT` ([#7115](https://github.com/containers/podman/issues/7115)).
3481
- Fixed a bug where error parsing image names were not fully reported (part of the error message containing the exact issue was dropped).
3482
- Fixed a bug where the `podman images` command with remote Podman did not support printing image tags in Go templates supplied to the `--format` flag ([#7123](https://github.com/containers/podman/issues/7123)).
3483
- Fixed a bug where the `podman rmi --force` command would not attempt to unmount containers it was removing, which could cause a failure to remove the image.
3484
- Fixed a bug where the `podman generate systemd --new` command could incorrectly quote arguments to Podman that contained whitespace, leading to nonfunctional unit files ([#7285](https://github.com/containers/podman/issues/7285)).
3485
- Fixed a bug where the `podman version` command did not properly include build time and Git commit.
3486
- Fixed a bug where running systemd in a Podman container on a system that did not use the `systemd` cgroup manager would fail ([#6734](https://github.com/containers/podman/issues/6734)).
3487
- Fixed a bug where capabilities from `--cap-add` were not properly added when a container was started as a non-root user via `--user`.
3488
- Fixed a bug where Pod infra containers were not properly cleaned up when they stopped, causing networking issues ([#7103](https://github.com/containers/podman/issues/7103)).
3489
3490
### API
3491
- Fixed a bug where the libpod and compat Build endpoints did not accept the `application/tar` content type (instead only accepting `application/x-tar`) ([#7185](https://github.com/containers/podman/issues/7185)).
3492
- Fixed a bug where the libpod Exists endpoint would attempt to write a second header in some error conditions ([#7197](https://github.com/containers/podman/issues/7197)).
3493
- Fixed a bug where compat and libpod Network Inspect and Network Remove endpoints would return a 500 instead of 404 when the requested network was not found.
3494
- Added a versioned `_ping` endpoint (e.g. `http://localhost/v1.40/_ping`).
3495
- Fixed a bug where containers started through a systemd-managed instance of the REST API would be shut down when `podman system service` shut down due to its idle timeout ([#7294](https://github.com/containers/podman/issues/7294)).
3496
- Added stronger parameter verification for the libpod Network Create endpoint to ensure subnet mask is a valid value.
3497
- The `Pod` URL parameter to the Libpod Container List endpoint has been deprecated; the information previously gated by the `Pod` boolean will now be included in the response unconditionally.
3498
3499
### Misc
3500
- Updated Buildah to v1.15.1
3501
- Updated containers/image library to v5.5.2
3502
3503
v2.0.4
3504
3505
### Bugfixes
3506
- Fixed a bug where the output of `podman image search` did not populate the Description field as it was mistakenly assigned to the ID field.
3507
- Fixed a bug where `podman build -` and `podman build` on an HTTP target would fail.
3508
- Fixed a bug where rootless Podman would improperly chown the copied-up contents of anonymous volumes ([#7130](https://github.com/containers/podman/issues/7130)).
3509
- Fixed a bug where Podman would sometimes HTML-escape special characters in its CLI output.
3510
- Fixed a bug where the `podman start --attach --interactive` command would print the container ID of the container attached to when exiting ([#7068](https://github.com/containers/podman/pull/7068)).
3511
- Fixed a bug where `podman run --ipc=host --pid=host` would only set `--pid=host` and not `--ipc=host` ([#7100](https://github.com/containers/podman/issues/7100)).
3512
- Fixed a bug where the `--publish` argument to `podman run`, `podman create` and `podman pod create` would not allow binding the same container port to more than one host port ([#7062](https://github.com/containers/podman/issues/7062)).
3513
- Fixed a bug where incorrect arguments to `podman images --format` could cause Podman to segfault.
3514
- Fixed a bug where `podman rmi --force` on an image ID with more than one name and at least one container using the image would not completely remove containers using the image ([#7153](https://github.com/containers/podman/issues/7153)).
3515
- Fixed a bug where memory usage in bytes and memory use percentage were swapped in the output of `podman stats --format=json`.
3516
3517
### API
3518
- Fixed a bug where the libpod and compat events endpoints would fail if no filters were specified ([#7078](https://github.com/containers/podman/issues/7078)).
3519
- Fixed a bug where the `CgroupVersion` field in responses from the compat Info endpoint was prefixed by "v" (instead of just being "1" or "2", as is documented).
3520
3521
- Update storage to 1.24.5
3522
3523
1.24.5:
3524
3525
Use STORAGE_DRIVER environment variable in rootless mode
3526
Fix errors about undefined storage driver in vms
3527
idtools: handle single user mapped as root
3528
3529
3530
1.24.4:
3531
3532
Use /run instead of /var/run
3533
archive: Skip FIFO creation in user namespace
3534
3535
3536
1.24.3:
3537
3538
Revert returning storageOpts early in rootless mode.
3539
Log message when graphdriver is not set
3540
3541
3542
1.24.2:
3543
3544
Fix reading of ~/.config/containers/storage.conf
3545
3546
3547
1.24.1:
3548
3549
Fix unshare.HomeDir to use entry in /etc/passwd
3550
3551
3552
1.24.0:
3553
3554
Add support for force_mask field, which allows for sharing container image over NFS shares or between different users on the same system. (Experimental)
3555
3556
3557
3558
1.23.9:
3559
3560
Improve handling Get() in pkg/homedir, handling user namespaced homedirs correctly
3561
Improve ID range selection for automatic user namespace range selection.
3562
Restore usage of rootless_storage_path in user storage.conf
3563
3564
3565
1.20.5:
3566
3567
Fix handling of Interrupts while changing file system attributes.
3568
3569
1.23.8:
3570
3571
Tighten permissions on created directory
3572
Fix handling of EINTR when changing file permissions, being triggered by newer version of golang.
3573
Fix resource leaks and improve error messages.
3574
3575
3576
1.23.7:
3577
3578
Fix handling of SetDefaultConfigFilePath(path)
3579
Switch to handling EINTR when chowning content.
3580
3581
3582
3583
1.23.6:
3584
3585
Lot's of bug fixes.
3586
Drop some Warning messages down to Info level
3587
Improve error messages for users
3588
Improve imput parsing.
3589
Maintain IMA Attributes in image creation
3590
Fix usage of rootless_storage_path from system storage.conf file
3591
Improve devmapper handling.
3592
3593
3594
1.23.5:
3595
3596
For podman v2.0 we need to use use ignore_chown_errors field if set
3597
utils_test.go: make test show mismatching items
3598
Support the rootless storage path from the system file
3599
build(deps): bump github.com/klauspost/compress from 1.10.11 to 1.11.0
3600
3601
1.20.4:
3602
3603
For podman v2.0 we need to use use ignore_chown_errors field if set
3604
3605
3606
1.23.4:
3607
3608
build(deps): bump github.com/klauspost/pgzip from 1.2.4 to 1.2.5
3609
fix goroutine leak with close tatLogger in a defer clause
3610
3611
3612
1.23.3:
3613
3614
Switch to moby/sys/mountinfo
3615
counter: check for external umounts
3616
3617
3618
1.20.3:
3619
3620
counter: check for external umounts
3621
3622
3623
1.23.2:
3624
3625
counter: check for external umounts
3626
3627
3628
1.23.1:
3629
3630
recover use graphLock when mount a layer
3631
build(deps): bump github.com/klauspost/compress from 1.10.10 to 1.10.11
3632
Use `bash` binary from env instead of /bin/bash for scripts
3633
build(deps): bump github.com/klauspost/compress from 1.10.10 to 1.10.11
3634
Allow users to override imagestores
3635
Remove dead code
3636
3637
3638
1.23.0:
3639
3640
* Revert "build(deps): bump github.com/opencontainers/runc"
3641
* Allow any env variable for graphroot, runroot, storagepath
3642
* fileutils.Pattern.compile(): end the regex with the right path separator
3643
* archive: preallocate a buffer for io.Copy
3644
3645
1.22.0:
3646
3647
Allow env variables in graphroot and runroot
3648
userns: make sure host id is not always 0
3649
store: support mapped layers deletion
3650
Cirrus: Fix matrix filter
3651
build(deps): bump github.com/opencontainers/runc
3652
Cirrus: Add success-accumulator task
3653
Cirrus: Note matrix filter resolution
3654
store: support mapped layers deletion
3655
userns: fix host id calculation when ranges overlap
3656
userns: simplify function
3657
Fix leaked fd
3658
Coverity errors found
3659
3660
1.21.2:
3661
3662
archive: fix the bug of ReadSecurityXattrToTarHeader
3663
unbreak build on mipsen harder
3664
unshare: memoize HomeDir()
3665
3666
3667
1.21.1:
3668
3669
userns: fix available range with explicit idmapping
3670
layer mount: fix RO logic
3671
When mounting images we have no lowers, but still need to mount
3672
layerStore: clean residual resources in layerStore when remove an image
3673
Allow mounting of Non Read Write images read/only
3674
Always mount the layer via overlay.
3675
3676
3677
1.21.0:
3678
3679
Remove whitelist and replace with allowed
3680
build(deps): bump github.com/opencontainers/selinux from 1.5.2 to 1.6.0
3681
new interface for MountImage added
3682
Record security.ima in container images
3683
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.0.0-rc91
3684
Store the pvcreate --metadatasize option in storage.conf
3685
new interface Free for deleting Store object
3686
Just uncommenting this line blew up on me
3687
build(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
3688
Use temp instead of run as fallback directory for rootless mode
3689
Make lock files world readable
3690
Lock files should be CLOEXEC
3691
Stop using golang 1.12
3692
build(deps): bump github.com/klauspost/compress from 1.10.8 to 1.10.10
3693
devmapper: allow devmapper devices as directlvm device
3694
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1
3695
3696
3697
3698
1.20.2:
3699
3700
Add back skip_mount_home
3701
Update git validation EPOCH
3702
build(deps): bump github.com/opencontainers/runc from 1.0.0-rc9 to 1.0.0-rc90
3703
build(deps): bump github.com/klauspost/compress from 1.10.5 to 1.10.7
3704
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0
3705
unbreak build on mipsen
3706
3707
3708
- Switch to seccomp profile provided by common instead of podman
3709
- Update containers.conf to match latest version
3710
3711
-------------------------------------------------------------------
3712
Tue Oct 13 15:53:05 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
3713
3714
- Simplify %setup statements.
3715
3716
-------------------------------------------------------------------
3717
Mon Aug 3 17:10:46 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
3718
3719
- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)
3720
3721
-------------------------------------------------------------------
3722
Tue Jul 28 13:22:02 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
3723
3724
- Added containers/common tarball for containers.conf(5) man page
3725
- Install containers.conf default configuration in
3726
/usr/share/containers
3727
- libpod repository on github got renamed to podman
3728
- Update to image 5.5.1
3729
- Add documentation for credHelpera
3730
- Add defaults for using the rootless policy path
3731
- Update libpod/podman to 2.0.3
3732
- docs: user namespace can't be shared in pods
3733
- Switch references from libpod.conf to containers.conf
3734
- Allow empty host port in --publish flag
3735
- update document login see config.json as valid
3736
- Update storage to 1.20.2
3737
- Add back skip_mount_home
3738
3739
-------------------------------------------------------------------
3740
Fri Jun 19 09:57:44 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
3741
3742
- Remove remaining difference between SLE and openSUSE package and
3743
ship the some mounts.conf default configuration on both platforms.
3744
As the sources for the mount point do not exist on openSUSE by
3745
default this config will basically have no effect on openSUSE.
3746
(jsc#SLE-12122, bsc#1175821)
3747
3748
-------------------------------------------------------------------
3749
Wed Jun 3 14:37:20 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
3750
3751
- Update to image 5.4.4
3752
- Remove registries.conf VERSION 2 references from man page
3753
- Intial authfile man page
3754
- Add $HOME/.config/containers/certs.d to perHostCertDirPath
3755
- Add $HOME/.config/containers/registries.conf to config path
3756
- registries.conf.d: add stances for the registries.conf
3757
- update to libpod 1.9.3
3758
- userns: support --userns=auto
3759
- Switch to using --time as opposed to --timeout to better match Docker
3760
- Add support for specifying CNI networks in podman play kube
3761
- man pages: fix inconsistencies
3762
- Update to storage 1.19.1
3763
- userns: add support for auto
3764
- store: change the default user to containers
3765
- config: honor XDG_CONFIG_HOME
3766
- Remove the /var/lib/ca-certificates/pem/SUSE.pem workaround again.
3767
It never ended up in SLES and a different way to fix the underlying
3768
problem is being worked on.
3769
3770
-------------------------------------------------------------------
3771
Wed May 13 12:45:58 UTC 2020 - Richard Brown <rbrown@suse.com>
3772
3773
- Add registry.opensuse.org as default registry [bsc#1171578]
3774
3775
-------------------------------------------------------------------
3776
Fri Apr 24 08:35:54 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
3777
3778
- Add /var/lib/ca-certificates/pem/SUSE.pem to the SLES mounts.
3779
This for making container-suseconnect working in the public
3780
cloud on-demand images. It needs that file for being able to
3781
verify the server certificates of the RMT servers hosted
3782
in the public cloud.
3783
(https://github.com/SUSE/container-suseconnect/issues/41)
3784
3785
-------------------------------------------------------------------
3786
Fri Mar 6 11:14:24 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
3787
3788
- New snaphot (bsc#1165917)
3789
- Update to image 5.2.1
3790
* Add documentation about rewriting docker.io registries
3791
* Add registries warning to registries.conf
3792
- Update to libpod 1.8.0
3793
* Fixed some spelling errors in oci-hooks documentations
3794
* include containers-mounts.conf(5) man-page into the package
3795
- Update to storage 1.16.1
3796
* Add `rootless_storage_path` directive to storage.conf
3797
* Add better documentation for the mount_program in overlay driver
3798
3799
-------------------------------------------------------------------
3800
Wed Dec 11 16:13:32 UTC 2019 - Richard Brown <rbrown@suse.com>
3801
3802
- Update to image 5.0.0
3803
- Clean up various imports primarily so that imports of packages that aren't in the standard library are all in one section.
3804
- Update to major version v5
3805
- return resp error message
3806
- copy.Image(): select the CopySystemImage image using the source context
3807
- Add manifest list support
3808
- docker: handle http 429 status codes
3809
- allow for .dockercfg files to reside in non-home directories
3810
- Use the correct module path in (make test-skopeo)
3811
- Update to libpod 1.6.3
3812
- Handling of the libpod.conf configuration file has seen major changes. Most significantly, rootless users will no longer automatically receive a complete configuration file when they first use Podman, and will instead only receive differences from the global configuration.
3813
- Initial support for the CNI DNS plugin, which allows containers to resolve the IPs of other containers via DNS name, has been added
3814
- Podman now supports anonymous named volumes, created by specifying only a destination to the -v flag to the podman create and podman run commands
3815
- Named volumes now support uid and gid options in --opt o=... to set UID and GID of the created volume
3816
- Update to storage 1.15.3
3817
- overlay: allow storing images with more than 127 layers
3818
- Lazy initialize the layer store
3819
- tarlogger: drop state mutex
3820
3821
-------------------------------------------------------------------
3822
Wed Oct 2 08:29:50 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
3823
3824
- Update to image 4.0.0
3825
- Add http response to log
3826
- Add tests for parsing OpenShift kubeconfig files
3827
- Compress: define some consts for the compression algos
3828
- Compression: add support for the zstd
3829
- Compression: allow to specify the compression format
3830
- Copy: add nil checks
3831
- Copy: compression: default to gzip
3832
- Copy: don't lose annotations of BlobInfo
3833
- Copy: fix options.DestinationCtx nil check
3834
- Copy: use a bigger buffer for the compression
3835
- Fix cross-compilation by vendoring latest c/storage
3836
- Internal/testing/explicitfilepath-tmpdir: handle unset TMPDIR
3837
- Keyctl: clean up after tests
3838
- Make container tools work with go+openssl
3839
- Make test-skopeo: replace c/image module instead of copying code
3840
- Media type checks
3841
- Move keyctl to internal & func remove auth from keyring
3842
- Replace vendor.conf by go.mod
3843
- Update dependencies
3844
- Update test certificates
3845
- Update to mergo v0.3.5
3846
- Vendor.conf: update reference for containers/storage
3847
- Update to storage 1.13.4
3848
- Update generated files
3849
- ImageBigData: distinguish between no-such-image and no-such-item
3850
- ImageSize: don't get tripped up by images with no layers
3851
- tarlogger: disable raw accouting
3852
- Update to libpod 1.6.0
3853
- Nothing changed regarding the OCI hooks documentation provided by this
3854
package
3855
3856
-------------------------------------------------------------------
3857
Mon Sep 23 15:28:02 UTC 2019 - Richard Brown <rbrown@suse.com>
3858
3859
- Update to image 1.4.4
3860
- Hard-code the kernel keyring use to be disabled for now
3861
- Update to libpod 1.5.1
3862
- The hostname of pods is now set to the pod's name
3863
- Minor bugfixes
3864
- Update to storage 1.12.16
3865
- Ignore ro mount options in btrfs and windows drivers
3866
3867
-------------------------------------------------------------------
3868
Mon Sep 23 12:01:53 UTC 2019 - Richard Brown <rbrown@suse.com>
3869
3870
- Check /var/lib/containers if possible before setting btrfs backend (bsc#1151028)
3871
3872
-------------------------------------------------------------------
3873
Wed Aug 7 10:35:07 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
3874
3875
- Add missing licenses to spec file
3876
3877
-------------------------------------------------------------------
3878
Tue Aug 6 11:42:17 UTC 2019 - Marco Vedovati <mvedovati@suse.com>
3879
3880
- Add a default registries.d configuration file, used to specify images
3881
signatures storage location.
3882
3883
-------------------------------------------------------------------
3884
Fri Aug 2 09:46:10 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
3885
3886
- Update to image v3.0.0
3887
- Add "Env" to ImageInspectInfo
3888
- Add API function TryUpdatingCache
3889
- Add ability to install man pages
3890
- Add user registry auth to kernel keyring
3891
- Fix policy.json.md -> containers-policy.json.5.md references
3892
- Fix typo in docs/containers-registries.conf.5.md
3893
- Remove pkg/sysregistries
3894
- Touch up transport man page
3895
- Try harder in storageImageDestination.TryReusingBlob
3896
- Use the same HTTP client for contacting the bearer token server and the
3897
registry
3898
- ci: change GOCACHE to a writeable path
3899
- config.go: improve debug message
3900
- config.go: log where credentials come from
3901
- docker client: error if registry is blocked
3902
- docker: allow deleting OCI images
3903
- docker: delete: support all MIME types
3904
- ostree: default is no OStree support
3905
- ostree: improve error message
3906
- progress bar: use spinners for unknown blob sizes
3907
- use 'containers_image_ostree' as build tag
3908
- use keyring when authfile empty
3909
- Update to storage v1.12.16
3910
- Add cirrus vendor check
3911
- Add storage options to IgnoreChownErrors
3912
- Add support for UID as well as UserName in /etc/subuid files.
3913
- Add support for ignoreChownErrors to vfs
3914
- Add support for installing man pages
3915
- Fix cross-compilation
3916
- Keep track of the UIDs and GIDs used in applied layers
3917
- Move lockfiles to their own package
3918
- Remove merged directory when it is unmounted
3919
- Switch to go modules
3920
- Switch to golangci-lint
3921
- Update generated files
3922
- Use same variable name on both commands
3923
- cirrus: ubuntu: try removing cryptsetup-initramfs
3924
- compression: add support for the zstd algorithm
3925
- getLockfile(): use the absolute path
3926
- loadMounts(): reset counts before merging just-loaded data
3927
- lockfile: don't bother releasing a lock when closing a file
3928
- locking test updates
3929
- locking: take read locks on read-only stores
3930
- make local-cross more reliable for CI
3931
- overlay: cache the results of supported/using-metacopy/use-naive-diff
3932
feature tests
3933
- overlay: fix small piece of repeated work
3934
- utils: fix check for missing conf file
3935
- zstd: use github.com/klauspost/compress directly
3936
3937
-------------------------------------------------------------------
3938
Mon Jul 8 13:18:20 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
3939
3940
- Update to libpod v1.4.4
3941
- Fixed a bug where rootless Podman would attempt to use the
3942
entire root configuration if no rootless configuration was
3943
present for the user, breaking rootless Podman for new
3944
installations
3945
- Fixed a bug where rootless Podman's pause process would block
3946
SIGTERM, preventing graceful system shutdown and hanging until
3947
the system's init send SIGKILL
3948
- Fixed a bug where running Podman as root with sudo -E would not
3949
work after running rootless Podman at least once
3950
- Fixed a bug where options for tmpfs volumes added with the
3951
--tmpfs flag were being ignored
3952
- Fixed a bug where images with no layers could not properly be
3953
displayed and removed by Podman
3954
- Fixed a bug where locks were not properly freed on failure to
3955
create a container or pod
3956
- Podman now has greatly improved support for containers using
3957
multiple OCI runtimes. Containers now remember if they were
3958
created with a different runtime using --runtime and will
3959
always use that runtime
3960
- The cached and delegated options for volume mounts are now
3961
allowed for Docker compatability (#3340)
3962
- The podman diff command now supports the --latest flag
3963
- Fixed a bug where podman cp on a single file would create a
3964
directory at the target and place the file in it (#3384)
3965
- Fixed a bug where podman inspect --format '{{.Mounts}}' would
3966
print a hexadecimal address instead of a container's mounts
3967
- Fixed a bug where rootless Podman would not add an entry to
3968
container's /etc/hosts files for their own hostname (#3405)
3969
- Fixed a bug where podman ps --sync would segfault (#3411)
3970
- Fixed a bug where podman generate kube would produce an invalid
3971
ports configuration (#3408)
3972
- Podman now performs much better on systems with heavy I/O load
3973
- The --cgroup-manager flag to podman now shows the correct
3974
default setting in help if the default was overridden by
3975
libpod.conf
3976
- For backwards compatability, setting --log-driver=json-file in
3977
podman run is now supported as an alias for
3978
--log-driver=k8s-file. This is considered deprecated, and
3979
json-file will be moved to a new implementation in the future
3980
([#3363](https://github.com/containers/libpod/issues/3363))
3981
- Podman's default libpod.conf file now allows the crun OCI
3982
runtime to be used if it is installed
3983
- Fixed a bug where Podman could not run containers using an
3984
older version of Systemd as init (#3295)
3985
- Updated vendored Buildah to v1.9.0 to resolve a critical bug
3986
with Dockerfile RUN instructions
3987
- The error message for running podman kill on containers that
3988
are not running has been improved
3989
- The Podman remote client can now log to a file if syslog is not
3990
available
3991
- The MacOS dmg file is experimental, use at your own risk.
3992
- The podman exec command now sets its error code differently
3993
based on whether the container does not exist, and the command
3994
in the container does not exist
3995
- The podman inspect command on containers now outputs Mounts
3996
JSON that matches that of docker inspect, only including
3997
user-specified volumes and differentiating bind mounts and
3998
named volumes
3999
- The podman inspect command now reports the path to a
4000
container's OCI spec with the OCIConfigPath key (only included
4001
when the container is initialized or running)
4002
- The podman run --mount command now supports the
4003
bind-nonrecursive option for bind mounts (#3314)
4004
- Fixed a bug where podman play kube would fail to create
4005
containers due to an unspecified log driver
4006
- Fixed a bug where Podman would fail to build with musl libc
4007
(#3284)
4008
- Fixed a bug where rootless Podman using slirp4netns networking
4009
in an environment with no nameservers on the host other than
4010
localhost would result in nonfunctional networking (#3277)
4011
- Fixed a bug where podman import would not properly set
4012
environment variables, discarding their values and retaining
4013
only keys
4014
- Fixed a bug where Podman would fail to run when built with
4015
Apparmor support but run on systems without the Apparmor kernel
4016
module loaded (#3331)
4017
- Remote Podman will now default the username it uses to log in
4018
to remote systems to the username of the current user
4019
- Podman now uses JSON logging with OCI runtimes that support it,
4020
allowing for better error reporting
4021
- Updated vendored Buildah to v1.8.4
4022
- Updated vendored containers/image to v2.0
4023
- Update to image v2.0.0
4024
- Add registry mirror support
4025
- Include missing man pages (bsc#1139526)
4026
- Update to storage v1.12.10
4027
- Add support for UID as well as UserName in /etc/subuid files.
4028
- utils: fix check for missing conf file
4029
- compression: add support for the zstd algorithm
4030
- overlay: cache the results of
4031
supported/using-metacopy/use-naive-diff feature tests
4032
4033
-------------------------------------------------------------------
4034
Tue Jun 11 07:06:13 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
4035
4036
- Update to libpod v1.4.0
4037
- The podman checkpoint and podman restore commands can now be
4038
used to migrate containers between Podman installations on
4039
different systems
4040
- The podman cp command now supports a pause flag to pause
4041
containers while copying into them
4042
- The remote client now supports a configuration file for
4043
pre-configuring connections to remote Podman installations
4044
- Fixed CVE-2019-10152 - The podman cp command improperly
4045
dereferenced symlinks in host context
4046
- Fixed a bug where podman commit could improperly set
4047
environment variables that contained = characters
4048
- Fixed a bug where rootless Podman would sometimes fail to start
4049
containers with forwarded ports
4050
- Fixed a bug where podman version on the remote client could
4051
segfault
4052
- Fixed a bug where podman container runlabel would use
4053
/proc/self/exe instead of the path of the Podman command when
4054
printing the command being executed
4055
- Fixed a bug where filtering images by label did not work
4056
- Fixed a bug where specifying a bing mount or tmpfs mount over
4057
an image volume would cause a container to be unable to start
4058
- Fixed a bug where podman generate kube did not work with
4059
containers with named volumes
4060
- Fixed a bug where rootless Podman would receive permission
4061
denied errors accessing conmon.pid
4062
- Fixed a bug where podman cp with a folder specified as target
4063
would replace the folder, as opposed to copying into it
4064
- Fixed a bug where rootless Podman commands could double-unlock
4065
a lock, causing a crash
4066
- Fixed a bug where Podman incorrectly set tmpcopyup on /dev/
4067
mounts, causing errors when using the Kata containers runtime
4068
- Fixed a bug where podman exec would fail on older kernels
4069
- The podman commit command is now usable with the Podman remote
4070
client
4071
- The --signature-policy flag (used with several image-related
4072
commands) has been deprecated
4073
- The podman unshare command now defines two environment
4074
variables in the spawned shell: CONTAINERS_RUNROOT and
4075
CONTAINERS_GRAPHROOT, pointing to temporary and permanent
4076
storage for rootless containers
4077
- Updated vendored containers/storage and containers/image
4078
libraries with numerous bugfixes
4079
- Updated vendored Buildah to v1.8.3
4080
- Podman now requires Conmon v0.2.0
4081
- The podman cp command is now aliased as podman container cp
4082
- Rootless Podman will now default init_path using root Podman's
4083
configuration files (/etc/containers/libpod.conf and
4084
/usr/share/containers/libpod.conf) if not overridden in the
4085
rootless configuration
4086
- Update to image v1.5.1
4087
- Vendor in latest containers/storage
4088
- docker/docker_client: Drop redundant Domain(ref.ref) call
4089
- pkg/blobinfocache: Split implementations into subpackages
4090
- copy: progress bar: show messages on completion
4091
- docs: rename manpages to *.5.command
4092
- add container-certs.d.md manpage
4093
- pkg/docker/config: Bring auth tests from
4094
docker/docker_client_test
4095
- Don't allocate a sync.Mutex separately
4096
- Update to storage v1.12.10
4097
- Add function to parse out mount options from graphdriver
4098
- Merge the disparate parts of all of the Unix-like lockfiles
4099
- Fix unix-but-not-Linux compilation
4100
- Return XDG_RUNTIME_DIR as RootlessRuntimeDir if set
4101
- Cherry-pick moby/moby #39292 for CVE-2018-15664 fixes
4102
- lockfile: add RecursiveLock() API
4103
- Update generated files
4104
- Fix crash on tesing of aufs code
4105
- Let consumers know when Layers and Images came from read-only stores
4106
- chown: do not change owner for the mountpoint
4107
- locks: correctly mark updates to the layers list
4108
- CreateContainer: don't worry about mapping layers unless necessary
4109
- docs: fix manpage for containers-storage.conf
4110
- docs: sort configuration options alphabetically
4111
- docs: document OSTree file deduplication
4112
- Add missing options to man page for containers-storage
4113
- overlay: use the layer idmapping if present
4114
- vfs: prefer layer custom idmappings
4115
- layers: propagate down the idmapping settings
4116
- Recreate symlink when not found
4117
- docs: fix manpage for configuration file
4118
- docs: add special handling for manpages in sect 5
4119
- overlay: fix single-lower test
4120
- Recreate symlink when not found
4121
- overlay: propagate errors from mountProgram
4122
- utils: root in a userns uses global conf file
4123
- Fix handling of additional stores
4124
- Correctly check permissions on rootless directory
4125
- Fix possible integer overflow on 32bit builds
4126
- Evaluate device path for lvm
4127
- lockfile test: make concurrent RW test determinisitc
4128
- lockfile test: make concurrent read tests deterministic
4129
- drivers.DirCopy: fix filemode detection
4130
- storage: move the logic to detect rootless into utils.go
4131
- Don't set (struct flock).l_pid
4132
- Improve documentation of getLockfile
4133
- Rename getLockFile to createLockerForPath, and document it
4134
- Add FILES section to containers-storage.5 man page
4135
- add digest locks
4136
- drivers/copy: add a non-cgo fallback
4137
- Add default SLES mounts for container-suseconnect usage
4138
4139
-------------------------------------------------------------------
4140
Tue Jun 4 14:27:15 UTC 2019 - Richard Brown <rbrown@suse.com>
4141
4142
- Add util-linux and grep as Requires(post) to ensure btrfs config gets made correctly
4143
4144
-------------------------------------------------------------------
4145
Mon Apr 1 14:24:17 UTC 2019 - Richard Brown <rbrown@suse.com>
4146
4147
- Update to libpod v1.2.0
4148
* Rootless Podman can now be used with a single UID and GID, without requiring a full 65536 UIDs/GIDs to be allocated in /etc/subuid and /etc/subgid
4149
* Move pkg/util default storage functions from libpod to containers/storage
4150
- Update to image v1.5
4151
* Minor behind the scene bugfixes, no user facing changes
4152
- Update to storage v1.12.1
4153
* Move pkg/util default storage functions from libpod to containers/storage
4154
* containers/storage no longer depends on containers/image
4155
- Version 20190401
4156
4157
-------------------------------------------------------------------
4158
Wed Feb 27 14:51:55 UTC 2019 - Richard Brown <rbrown@suse.com>
4159
4160
- Update to libpod v1.1.0
4161
* Rootless Podman can now forward ports into containers (using the same -p and -P flags as root Podman)
4162
* Rootless Podman will now pull some configuration options (for example, OCI runtime path) from the default root libpod.conf if they are not explicitly set in the user's own libpod.conf
4163
4164
-------------------------------------------------------------------
4165
Tue Feb 19 15:34:54 UTC 2019 - Richard Brown <rbrown@suse.com>
4166
4167
- Upgrade to storage v1.10
4168
* enable parallel blob reads
4169
* Teach images to hold multiple manifests
4170
* Move structs for storage.conf to pkg/config
4171
- Upgrade to libpod v1.0.1
4172
* Do not unmarshal into c.config.Spec
4173
* spec: add nosuid,noexec,nodev to ro bind mount
4174
4175
-------------------------------------------------------------------
4176
Sat Feb 2 11:07:30 UTC 2019 - Richard Brown <rbrown@suse.com>
4177
4178
- Restore non-upstream storage.conf, needed by CRI-O
4179
4180
-------------------------------------------------------------------
4181
Fri Jan 25 14:30:45 UTC 2019 - Richard Brown <rbrown@suse.com>
4182
4183
- Upgrade to storage v1.8
4184
* Check for the OS when setting btrfs/libdm/ostree tags
4185
- Upgrade to image v1.3
4186
* vendor: use github.com/klauspost/pgzip instead of compress/gzip
4187
* vendor latest ostree
4188
- Refactor specfile to use versioned tarballs
4189
- Established package versioning scheme (ISODATE of change)
4190
- Remove non-upstream storage.conf
4191
- Set btrfs as default driver if /var/lib is on btrfs [boo#1123119]
4192
- Version 20190125
4193
4194
-------------------------------------------------------------------
4195
Thu Jan 17 14:20:49 UTC 2019 - Richard Brown <rbrown@suse.com>
4196
4197
- Upgrade to storage v1.6
4198
* Remove private mount from zfs driver
4199
* Update zfs driver to be closer to moby driver
4200
* Use mount options when mounting the chown layer.
4201
4202
-------------------------------------------------------------------
4203
Sun Jan 13 15:39:42 UTC 2019 - Richard Brown <rbrown@suse.com>
4204
4205
- Upgrade to libpod v1.0.0
4206
* Fixed a bug where storage.conf was sometimes ignored for rootless containers
4207
4208
-------------------------------------------------------------------
4209
Tue Jan 8 11:35:41 UTC 2019 - Richard Brown <rbrown@suse.com>
4210
4211
- Upgrade to libpod v0.12.1.2 and storage v1.4
4212
* No significant functional or packaging changes
4213
4214
-------------------------------------------------------------------
4215
Sun Jan 6 22:11:02 UTC 2019 - Richard Brown <rbrown@suse.com>
4216
4217
- storage.conf - restore btrfs as the default driver
4218
4219
-------------------------------------------------------------------
4220
Fri Dec 7 10:54:37 UTC 2018 - Richard Brown <rbrown@suse.com>
4221
4222
- Update to latest libpod and storage to support cri-o 1.13
4223
4224
-------------------------------------------------------------------
4225
Wed Dec 5 14:45:37 UTC 2018 - Richard Brown <rbrown@suse.com>
4226
4227
- Use seccomp.json from github.com/containers/libpod, instead of
4228
installing the tar.xz on users systems (boo#1118444)
4229
4230
-------------------------------------------------------------------
4231
Mon Nov 12 09:21:37 UTC 2018 - Valentin Rothberg <vrothberg@suse.com>
4232
4233
- Add oci-hooks(5) manpage from libpod.
4234
4235
-------------------------------------------------------------------
4236
Mon Nov 12 08:14:08 UTC 2018 - Valentin Rothberg <vrothberg@suse.com>
4237
4238
- Use seccomp.json from github.com/containers/libpod to align with the
4239
upstream defaults.
4240
4241
- Update to the latest image and storage to pull in improvements to the
4242
manpages.
4243
4244
-------------------------------------------------------------------
4245
Mon Aug 27 14:24:51 UTC 2018 - vrothberg@suse.com
4246
4247
- storage.conf: comment out options that are not supported by btrfs.
4248
This simplifies switching the driver as it avoids the whack-a-mole
4249
of commenting out "unsupported" options.
4250
4251
-------------------------------------------------------------------
4252
Mon Aug 27 08:48:16 UTC 2018 - vrothberg@suse.com
4253
4254
- Consolidate libcontainers-{common,image,storage} into one package,
4255
libcontainers-common. That's the way upstream intended all libraries from
4256
github.com/containers to be packaged. It facilitates updating and maintaining
4257
the package, as all configs and manpages come from a central source.
4258
4259
Note that the `storage` binary that previously has been provided by the
4260
libcontainers-storage package is not provided anymore as, despite the claims
4261
in the manpages, it is not intended for production use.
4262
4263
-------------------------------------------------------------------
4264
Mon Aug 13 11:44:31 UTC 2018 - vrothberg@suse.com
4265
4266
- Make libcontainers-common arch independent.
4267
4268
- Add LICENSE.
4269
4270
-------------------------------------------------------------------
4271
Thu Apr 12 09:36:39 UTC 2018 - fcastelli@suse.com
4272
4273
- Added /usr/share/containers/oci/hooks.d and /etc/containers/oci/hooks.d
4274
to the package. These are used by tools like cri-o and podman to store
4275
custom hooks.
4276
4277
-------------------------------------------------------------------
4278
Mon Mar 5 09:30:12 UTC 2018 - vrothberg@suse.com
4279
4280
- Configuration files should generally be tagged as %config(noreplace) in order
4281
to keep the modified config files and to avoid losing data when the package
4282
is being updated.
4283
4284
feature#crio
4285
4286
-------------------------------------------------------------------
4287
Thu Feb 8 13:07:24 UTC 2018 - vrothberg@suse.com
4288
4289
- Add libcontainers-common package.
4290