Paul Holzinger
27be5dc1df
Export no such secret error
...
There is code in podman which uses `errors.Cause(err).Error() != "no such secret"`,
this is just bad code. Common should expose this error so podman
can check with `errors.Is()`.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-09-21 11:12:52 +02:00
OpenShift Merge Robot
c42a32358c
Merge pull request #778 from giuseppe/copier-accept-compression
...
libimage: accept CompressionFormat/CompressionLevel
2021-09-21 03:35:37 -04:00
OpenShift Merge Robot
272b38d4e7
Merge pull request #773 from rhatdan/ipv6
...
Add description of slirp options
2021-09-20 13:42:42 -04:00
OpenShift Merge Robot
cadb781e46
Merge pull request #774 from rhatdan/userns
...
UserNS should default to '' rather then host
2021-09-20 12:19:43 -04:00
OpenShift Merge Robot
8e5a61b479
Merge pull request #775 from vrothberg/digest-creds
...
(*libimage.Image).HasDifferentDigest: add authentication
2021-09-20 05:35:43 -04:00
Giuseppe Scrivano
45ac9e1f99
libimage: accept CompressionFormat/CompressionLevel
...
allow to specify the compression format and compression level.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-09-20 11:34:37 +02:00
Valentin Rothberg
6dcfb65360
(*libimage.Image).HasDifferentDigest: add authentication
...
Allow for passing down credentials when comparing a local image with a
remote one. The linked BZ relates to a regression in `podman auto-update`
but while reading the code I noticed it's also impacting pull policies.
BZ: bugzilla.redhat.com/show_bug.cgi?id=2000943
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-09-20 10:44:12 +02:00
Daniel J Walsh
8795468580
UserNS should default to '' rather then host
...
If you use this field in rootless mode, it will blow up,
since rootless mode can not use the host user namespace.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-18 07:00:40 -04:00
Daniel J Walsh
c9d79c2438
Add description of slirp options
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-17 09:33:25 -04:00
OpenShift Merge Robot
9709833140
Merge pull request #744 from rhatdan/ipv6
...
Enable ipv6 for rootless users by default
2021-09-17 09:25:53 -04:00
Daniel J Walsh
34010ec073
Merge branch 'main' of github.com:containers/common into ipv6
2021-09-17 07:15:03 -04:00
OpenShift Merge Robot
6deb9d2c44
Merge pull request #772 from rhatdan/timeout
...
Make podman system service timeout configurable in containers.conf
2021-09-17 07:11:52 -04:00
Daniel J Walsh
b45ac6d515
Make podman system service timeout configurable in containers.conf
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-15 06:15:42 -04:00
Daniel J Walsh
4d48017b0d
Merge pull request #771 from containers/dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.2
...
build(deps): bump github.com/mitchellh/mapstructure from 1.4.1 to 1.4.2
2021-09-15 05:52:57 -04:00
dependabot[bot]
c8bbffc56c
build(deps): bump github.com/mitchellh/mapstructure from 1.4.1 to 1.4.2
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-15 04:29:09 +00:00
OpenShift Merge Robot
14af6f73f6
Merge pull request #770 from cevich/update_images
...
Cirrus: Freshen VM images
2021-09-14 13:38:11 -04:00
OpenShift Merge Robot
85fbbf9321
Merge pull request #768 from fcrozat/krun
...
Add support for the krun (runc running in KVM) OCI Runtime
2021-09-14 13:37:10 -04:00
Chris Evich
df7c401f4f
Cirrus: Freshen VM images
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-09-14 11:41:16 -04:00
Frederic Crozat
abfd6e3fdd
ensure same path is used in all location for krun
2021-09-14 16:59:26 +02:00
Frederic Crozat
c2965e479c
Add support for the krun (runc running in KVM) OCI Runtime
...
Signed-off-by: Frederic Crozat <fcrozat@suse.com>
2021-09-14 15:57:26 +02:00
OpenShift Merge Robot
e6935a30bb
Merge pull request #760 from rhatdan/config
...
Add support for image_copy_tmp_dir
2021-09-14 09:22:54 -04:00
Daniel J Walsh
6613380027
Merge pull request #765 from rhatdan/VERSION
...
Bump to v0.44.0
2021-09-13 09:34:33 -04:00
Daniel J Walsh
45ef4536a9
Move to v0.44.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-13 09:33:23 -04:00
Daniel J Walsh
f453d7f541
Bump to v0.44.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-13 09:33:23 -04:00
OpenShift Merge Robot
6d26f89592
Merge pull request #764 from containers/dependabot/go_modules/github.com/containers/storage-1.36.0
...
build(deps): bump github.com/containers/storage from 1.35.0 to 1.36.0
2021-09-13 09:31:42 -04:00
dependabot[bot]
a70e98c23a
build(deps): bump github.com/containers/storage from 1.35.0 to 1.36.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.35.0...v1.36.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 04:31:09 +00:00
Daniel J Walsh
fd50dccd46
Enable ipv6 for rootless users by default
...
Fixes containers/podman#10889
Inspired by @rugk
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-12 06:31:56 -04:00
Daniel J Walsh
a5bac2096a
Add support for image_copy_tmp_dir
...
Allow users to set the default location for the temporary files used
during image pulls and pushes.
Defaults to /var/tmp;
Overridden via "TMPDIR" environment variable.
Allow special flag "storage" to indicate the the storage should use
the tmp directory in containers/storage/tmp.
Needed to fix: https://github.com/containers/podman/issues/11107
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-11 04:51:27 -04:00
OpenShift Merge Robot
00438ee425
Merge pull request #758 from Luap99/helperBinDir
...
Add HelperBinariesDir field to engine config
2021-09-11 04:49:18 -04:00
OpenShift Merge Robot
a870384f46
Merge pull request #761 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.8.5
...
build(deps): bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5
2021-09-10 07:52:49 -04:00
Paul Holzinger
25622da26e
Add HelperBinariesDir field to engine config
...
This field contains a list of directories which should be used to store
some helper binaries, e.g. gvproxy.
Also add a FindHelperBinary method to the config struct to get the full
path to a helper binary.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-09-10 13:38:19 +02:00
dependabot[bot]
43874bc31e
build(deps): bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.8.4 to 1.8.5.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.8.4...v1.8.5 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 04:30:23 +00:00
OpenShift Merge Robot
c92d6656cc
Merge pull request #759 from Luap99/runtimePath
...
Fix the fallback runtime path
2021-09-08 14:02:27 -04:00
Paul Holzinger
4bd5b0f4bd
Fix the fallback runtime path
...
Podman should not use `/tmp/run-...`. The Podman PR#8241 changed the
path to `/tmp/podman-run-...` and added systemd tmpfile config to make
sure the path is not removed. However the tmpDir is set in c/common and
was never changed.
Fixes containers/podman#11478
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-09-08 14:26:25 +02:00
OpenShift Merge Robot
8590eaf340
Merge pull request #755 from siretart/patch-1
...
docs/containers.conf.5.md: Fix manpage section
2021-09-06 11:30:35 +02:00
Reinhard Tartler
32d1b83191
docs/containers.conf.5.md: Fix manpage section
...
Avoids a nroff warning in the generated manpage
[CI:DOCS]
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2021-09-04 18:37:13 +02:00
OpenShift Merge Robot
4d13eae581
Merge pull request #754 from mheon/rootlessnetworking_cni_osx
...
Switch default Rootless Networking to "CNI" for OSX
2021-09-02 09:09:20 -04:00
OpenShift Merge Robot
f8cff3dff3
Merge pull request #753 from flouthoc/remove-image-options-add-lookup-manifest
...
remove-image: Add optional `LookupManifest` to RemoveImagesOptions.
2021-09-02 05:52:22 -04:00
Aditya Rajan
29da01d939
remove-image: Add optional LookupManifest to RemoveImagesOptions.
...
Following flag allows user to configure RemoveImages in a manner so that
remove func becomes exclusive to removing manifests when needed and not
removing underlying referenced images.
Signed-off-by: Aditya Rajan <arajan@redhat.com>
2021-09-02 14:21:51 +05:30
Matthew Heon
92ebb4a858
Switch default Rootless Networking to "CNI" for OSX
...
This should better support rootless CNI usescases.
Fixes https://github.com/containers/podman/issues/11396
Signed-off-by: Matthew Heon <mheon@redhat.com>
2021-09-01 15:57:00 -04:00
OpenShift Merge Robot
65b6dbd4a7
Merge pull request #749 from rhatdan/config
...
add some cni plugin paths
2021-09-01 13:25:08 -04:00
unknowndevQwQ
43bd1ced8a
add some cni plugin paths
...
add some possible paths for the cni plugin to be stored
Replaces: containers/common#728
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-08-31 06:23:16 -04:00
Daniel J Walsh
aff2c4e55c
Merge pull request #752 from vrothberg/fix-751
...
libimage: disk usage: catch corrupted images
2021-08-31 06:19:20 -04:00
Valentin Rothberg
55d18c545f
libimage: disk usage: catch corrupted images
...
Make sure to check an image for corruption before running disk usage on
it. Such checks are already applied on various execution paths but not
yet on disk usage.
Further update the corrupted-image error to include that the image
should be removed to resolve the error. This should ultimately guide
users to resolve the issue.
Fixes : containers/common#751
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-08-31 11:09:21 +02:00
OpenShift Merge Robot
c6221ebeb1
Merge pull request #747 from flouthoc/return-manifest-if-present
...
runtime: Add `ManifestList` to `LookupImageOptions`
2021-08-30 04:53:22 -04:00
flouthoc
bfb9606066
runtime: Add ReturnManifestIfPresent to LookupImageOptions
...
If matching images resolves to a manifest list, return manifest list
instead of resolving to image instance, if manifest list is not found
try resolving image.
Signed-off-by: Aditya Rajan <flouthoc.git@gmail.com>
2021-08-30 14:16:32 +05:30
OpenShift Merge Robot
902130d47c
Merge pull request #746 from containers/dependabot/go_modules/github.com/containers/image/v5-5.16.0
...
build(deps): bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
2021-08-26 08:33:07 -04:00
dependabot[bot]
905cba6045
build(deps): bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.2...v5.16.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 11:24:31 +00:00
OpenShift Merge Robot
68227a25cc
Merge pull request #745 from containers/dependabot/go_modules/github.com/containers/storage-1.35.0
...
build(deps): bump github.com/containers/storage from 1.34.1 to 1.35.0
2021-08-26 07:05:07 -04:00
dependabot[bot]
5f49795da7
build(deps): bump github.com/containers/storage from 1.34.1 to 1.35.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.34.1 to 1.35.0.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.34.1...v1.35.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 04:36:28 +00:00