Daniel J Walsh
54c5f6c010
Vendor in containers/storage v1.20.4
...
This will allow the passing down of the ignore_chown_errors flag from
/etc/containers/storage.conf for rootless containers.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-06 06:39:20 -04:00
TomSweeneyRedHat
023c4fadf5
Bump c/common to v0.14.10 and c/conmon to v2.0.20
...
As the title says.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-08-27 16:38:44 -04:00
Matthew Heon
b7828b7ce4
Update c/storage to v1.20.3
...
This includes an important patch to fix a CI issue where the
cleanup process's unmount of a container was not being
registered by `podman system service`.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-08-25 13:06:00 -04:00
Matthew Heon
c1a6e67183
Revert "HACK: Manually include c/storage #698 "
...
This reverts commit ae2ee65eff .
This was a horrible hack that we did for time reasons, to get
2.0.5 out on schedule; now that it has been merged into c/storage
properly we no longer need or want it.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-08-25 13:03:01 -04:00
Matthew Heon
ae2ee65eff
HACK: Manually include c/storage #698
...
We need this release out by end of day, so we don't have time to
do this right. Disable the vendor task and manually add c/storage
PR #698 to the vendored copy of c/storage to make the tests pass.
Once #698 merges into c/storage, we need to remove this commit
and backport it to the v1.20 stable branch, then cut a release
there.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-08-24 15:10:53 -04:00
Daniel J Walsh
6505322c51
Vendor in containers/common v0.14.9
...
This will fix the localions of the containers.conf file
on Windows and MacOS Boxes.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-23 06:41:37 -04:00
Daniel J Walsh
7ed653804c
In podman 1.* regression on --cap-add
...
In podman 1.0 if you executed a command like:
podman run --user dwalsh --cap-add net_bind_service alpine nc -l 80
It would work, and the user dwalsh would get the capability, in
podman 2.0, only root and the binding set gets the capability.
This change restores us back to the way podman 1.0 worked.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-21 10:55:22 -04:00
Matthew Heon
98a4f89854
Bump github.com/containers/common to v0.14.7
...
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-08-20 12:16:53 -04:00
Valentin Rothberg
524ae12977
vendor c/image v5.5.2
...
Enable pagination until the search result reaches the limit, instead of
returning default 100 limit from registry API.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1866153
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-08-20 10:12:27 +02:00
TomSweeneyRedHat
8da5767856
Bump Buildah to v1.15.1 on v2.0 branch
...
As the title says
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-08-03 13:29:57 -04:00
Matthew Heon
9e7c7211c4
Bump github.com/containers/common to v0.14.6
...
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-22 10:48:13 -04:00
Daniel J Walsh
5f9e7b5355
Vendor containers/common v0.14.4
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-06 06:49:21 -04:00
Valentin Rothberg
6eefff6471
vendor github.com/containers/common@v0.14.3
...
Includes several fixes for config parsing and AppArmor.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-25 18:00:28 +02:00
TomSweeneyRedHat
fde8040faa
Bump Buildah to v1.15.0
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-06-17 15:32:22 -04:00
Valentin Rothberg
ac4f4b1482
vendor github.com/containers/image/v5@v5.5.1
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-17 17:27:04 +02:00
Daniel J Walsh
713287ce36
Vendor containers/common v0.14.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 16:44:55 -04:00
dependabot-preview[bot]
28f2cbe0c5
Bump github.com/containers/common from 0.13.0 to 0.13.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.13.0...v0.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-12 05:42:09 -04:00
dependabot-preview[bot]
01c45698ca
Bump github.com/containers/common from 0.12.0 to 0.13.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.12.0...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-09 10:23:06 -04:00
Daniel J Walsh
545aef7d9b
Vendor in container/storage v1.20.2
...
Also modify gate Dockerfile to take advantage of skipping
mounting of the storage directory.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-03 17:22:49 -04:00
Daniel J Walsh
4157af8776
Update vendor containers/psgo
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 05:56:52 -04:00
Valentin Rothberg
dc80267b59
compat handlers: add X-Registry-Auth header support
...
* Support the `X-Registry-Auth` http-request header.
* The content of the header is a base64 encoded JSON payload which can
either be a single auth config or a map of auth configs (user+pw or
token) with the corresponding registries being the keys. Vanilla
Docker, projectatomic Docker and the bindings are transparantly
supported.
* Add a hidden `--registries-conf` flag. Buildah exposes the same
flag, mostly for testing purposes.
* Do all credential parsing in the client (i.e., `cmd/podman`) pass
the username and password in the backend instead of unparsed
credentials.
* Add a `pkg/auth` which handles most of the heavy lifting.
* Go through the authentication-handling code of most commands, bindings
and endpoints. Migrate them to the new code and fix issues as seen.
A final evaluation and more tests is still required *after* this
change.
* The manifest-push endpoint is missing certain parameters and should
use the ABI function instead. Adding auth-support isn't really
possible without these parts working.
* The container commands and endpoints (i.e., create and run) have not
been changed yet. The APIs don't yet account for the authfile.
* Add authentication tests to `pkg/bindings`.
Fixes : #6384
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-29 15:39:37 +02:00
Daniel J Walsh
911b6d8b48
Vendor in containers/common v0.12.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 16:58:53 -04:00
Daniel J Walsh
935a716418
Vendor in latest containers/buildah
...
This will take a significant size away from the podman-remote executables.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-23 06:48:57 -04:00
dependabot-preview[bot]
f4833346e8
Bump github.com/containers/common from 0.11.2 to 0.11.4
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.11.2 to 0.11.4.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.11.2...v0.11.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-22 05:52:27 -04:00
Daniel J Walsh
7ccf5708da
Bump github.com/containers/storage from 1.19.2 to 1.20.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.19.2 to 1.20.1.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.19.2...v1.20.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-21 09:55:44 -04:00
dependabot-preview[bot]
1f0cc866d4
Bump github.com/containers/storage from 1.19.1 to 1.19.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.19.1 to 1.19.2.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.19.1...v1.19.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-14 07:23:58 -04:00
OpenShift Merge Robot
968741d6de
Merge pull request #6173 from containers/dependabot/go_modules/github.com/containers/common-0.11.2
...
Bump github.com/containers/common from 0.11.1 to 0.11.2
2020-05-12 05:02:47 -07:00
dependabot-preview[bot]
164768c3b9
Bump github.com/containers/image/v5 from 5.4.3 to 5.4.4
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.4.3...v5.4.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-11 14:40:55 -04:00
dependabot-preview[bot]
c4e391ad2e
Bump github.com/containers/common from 0.11.1 to 0.11.2
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.11.1...v0.11.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-11 14:18:28 -04:00
Daniel J Walsh
5cbb0b8a66
Fix handling of overridden paths from database
...
If the first time you run podman in a user account you do a
su - USER, and the second time, you run as the logged in USER
podman fails, because it is not handling the tmpdir definition
in the database. This PR fixes this problem.
vendor containers/common v0.11.1
This should fix a couple of issues we have seen in podman 1.9.1
with handling of libpod.conf.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-08 09:27:39 -04:00
Qi Wang
45f731aa49
enable login/logut unspecified args
...
Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-05-07 09:48:13 -04:00
dependabot-preview[bot]
86f7dbc4cb
Bump github.com/containers/storage from 1.19.0 to 1.19.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.19.0...v1.19.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-05 13:35:24 -04:00
Daniel J Walsh
97fcbfcbec
cgroupsns was not following containers.conf
...
Implement ParseCgroupsNamespace to handle defaults.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-01 15:00:33 -04:00
Daniel J Walsh
4a2765c498
Properly handle default capabilities listed in containers.conf
...
If user/admin specifies a different list of default capabilties
we need to honor these.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-01 15:00:26 -04:00
OpenShift Merge Robot
8c9e5fdaf0
Merge pull request #5861 from containers/dependabot/go_modules/github.com/containers/psgo-1.5.0
...
Bump github.com/containers/psgo from 1.4.0 to 1.5.0
2020-04-30 21:33:36 +02:00
dependabot-preview[bot]
f0ebde8254
Bump github.com/containers/common from 0.9.4 to 0.9.5
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.9.4...v0.9.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-24 06:43:30 -04:00
Daniel J Walsh
4494ec6f04
vendor in containers/common v0.9.4
...
This will change the default of UserNS to false
Also turn on tests for create_staticip_test.go
run_device_test.go, run_selinux_test.go
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-22 06:57:06 -04:00
OpenShift Merge Robot
ce07f1cde8
Merge pull request #5925 from rhatdan/containers.conf
...
Bump to github.com/containers/common to v0.9.2
2020-04-21 16:15:26 -04:00
Daniel J Walsh
08734894ae
Bump to github.com/containers/common to v0.9.2
...
This allows us to fix issues with people with old libpod.conf
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 13:31:07 -04:00
Valentin Rothberg
0138ecfba0
v2: implement log{in,out}
...
Implement podman login and logout. Smoke tests were successful but the
system tests are currently failing as we seem unable to run a registry
at the moment.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-21 15:10:31 +02:00
dependabot-preview[bot]
d6d8106601
Bump github.com/containers/psgo from 1.4.0 to 1.5.0
...
Bumps [github.com/containers/psgo](https://github.com/containers/psgo ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/containers/psgo/releases )
- [Commits](https://github.com/containers/psgo/compare/v1.4.0...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-17 06:05:48 -04:00
Daniel J Walsh
c4ca3c71ff
Add support for selecting kvm and systemd labels
...
In order to better support kata containers and systemd containers
container-selinux has added new types. Podman should execute the
container with an SELinux process label to match the container type.
Traditional Container process : container_t
KVM Container Process: containre_kvm_t
PID 1 Init process: container_init_t
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-15 16:52:16 -04:00
Daniel J Walsh
47b6d35bfb
build(deps): bump github.com/containers/common from 0.8.1 to 0.9.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.8.1...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-10 18:48:06 -04:00
Daniel J Walsh
daca146f9d
build(deps): bump github.com/containers/buildah from 1.14.7 to 1.14.8
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/master/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.14.7...v1.14.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-10 08:56:27 -04:00
TomSweeneyRedHat
405bd5f49a
Bump Buildah to v1.14.7
...
As the title says, bumping Buildah to v1.14.7
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-04-07 18:20:46 -04:00
Daniel J Walsh
cfd64d3e2c
Bump containers/image to v5.4.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-07 14:23:59 -04:00
Valentin Rothberg
42fcdbf1a8
vendor c/image v5.4.2
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-07 12:09:48 +02:00
dependabot-preview[bot]
6f733ecdbc
build(deps): bump github.com/containers/common from 0.8.0 to 0.8.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.8.0...v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-06 14:24:13 +02:00
dependabot-preview[bot]
eb86bfc344
Bump github.com/containers/common from 0.6.1 to 0.8.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.6.1 to 0.8.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.6.1...v0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-03 06:35:42 -04:00
Daniel J Walsh
366001fb5f
Update vendor of boltdb and containers/image
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-29 06:16:27 -04:00