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