dependabot[bot]
8ebafbde34
Bump github.com/containers/common from 0.36.0 to 0.37.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.36.0...v0.37.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-22 07:59:24 +00:00
dependabot[bot]
bb01c01ef9
Bump github.com/containers/common from 0.35.4 to 0.36.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.4 to 0.36.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.4...v0.36.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-14 07:59:08 +00:00
dependabot[bot]
a4390cd898
Bump github.com/containers/common from 0.35.3 to 0.35.4
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.3 to 0.35.4.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.3...v0.35.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-25 07:06:07 +00:00
dependabot[bot]
f46b34ecd2
Bump github.com/containers/common from 0.35.0 to 0.35.3
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.0 to 0.35.3.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.0...v0.35.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-19 15:03:28 +01:00
Parker Van Roy
ccbe4ff73f
updated common to 0.35.0
...
Signed-off-by: Parker Van Roy <pvanroy@redhat.com >
2021-02-24 14:52:19 -05:00
Eduardo Vega
874f2327e6
Add U volume flag to chown source volumes
...
Signed-off-by: Eduardo Vega <edvegavalerio@gmail.com >
2021-02-22 22:55:19 -06:00
Ashley Cui
832a69b0be
Implement Secrets
...
Implement podman secret create, inspect, ls, rm
Implement podman run/create --secret
Secrets are blobs of data that are sensitive.
Currently, the only secret driver supported is filedriver, which means creating a secret stores it in base64 unencrypted in a file.
After creating a secret, a user can use the --secret flag to expose the secret inside the container at /run/secrets/[secretname]
This secret will not be commited to an image on a podman commit
Signed-off-by: Ashley Cui <acui@redhat.com >
2021-02-09 09:13:21 -05:00
Valentin Rothberg
3c3e644c1c
vendor latest containers/common
...
We had a couple of regressions in containers/common in the last release.
Before cutting a new release, let's vendor it here. Since 3.0 has been
branched, we can vendor a non-release commit of c/common.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-02-08 13:19:08 +01:00
OpenShift Merge Robot
e273ba34ef
Merge pull request #8966 from ashley-cui/common33
...
Vendor in common 0.33.1
2021-01-13 16:01:25 -05:00
Ashley Cui
566a923950
Vendor in common 0.33.1
...
As per title
Signed-off-by: Ashley Cui <acui@redhat.com >
2021-01-13 13:00:33 -05:00
baude
827f6c9cb0
Reduce general binding binary size
...
when using the bindings to *only* make a connection, the binary was
rough 28MB. This PR reduces it down to 11. There is more work to do
but it will come in a secondary PR.
Signed-off-by: baude <bbaude@redhat.com >
2021-01-13 09:35:24 -06:00
Daniel J Walsh
1c1e670d40
Use HTTPProxy settings from containers.conf
...
This PR takes the settings from containers.conf and uses
them. This works on the podman local but does not fix the
issue for podman remote or for APIv2. We need a way
to specify optionalbooleans when creating containers.
Fixes: https://github.com/containers/podman/issues/8843
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-01-11 17:35:39 -05:00
Daniel J Walsh
04b43ccf64
Add Security information to podman info
...
When debugging issues, it would be helpful to know the
security settings of the system running into the problem.
Adding security info to `podman info` is also useful to users.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-12-22 08:13:14 -05:00
dependabot-preview[bot]
641046a79e
Bump github.com/containers/common from 0.31.0 to 0.31.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.31.0...v0.31.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2020-12-18 10:26:24 +01:00
dependabot-preview[bot]
0c97252a6f
Bump github.com/containers/common from 0.30.0 to 0.31.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.30.0...v0.31.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-12-07 05:53:35 -05:00
Ashley Cui
90d41104d9
Vendor in containers/common v0.30.0
...
Signed-off-by: Ashley Cui <acui@redhat.com >
2020-12-04 13:35:00 -05:00
Daniel J Walsh
20160af018
Switch from pkg/secrets to pkg/subscriptions
...
The buildah/pkg/secrts package was move to
containers/common/pkg/subscriptions.
Switch to using this by default.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-11-26 07:30:18 -05:00
dependabot-preview[bot]
3344afde72
Bump github.com/containers/common from 0.27.0 to 0.29.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.27.0 to 0.29.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.27.0...v0.29.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-11-23 05:45:25 -05:00
dependabot-preview[bot]
24ec03a5f1
Bump github.com/containers/common from 0.26.3 to 0.27.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.26.3 to 0.27.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.26.3...v0.27.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-11-10 07:21:13 -05:00
Daniel J Walsh
2099c86f33
build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.26.0 to 0.26.3.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](containers/common@v0.26 .0...v0.26.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-10-27 07:25:23 -04:00
Jhon Honce
bab3cda0e8
Refactor podman to use c/common/pkg/report
...
All formatting for containers stack moved into one package
The does not correct issue with headers when using custom tables
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-10-21 08:16:52 -07:00
Daniel J Walsh
711d4ba027
Bump github.com/containers/common from 0.24.0 to 0.26.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.24.0 to 0.26.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.24.0...v0.26.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-10-16 04:38:06 -04:00
Daniel J Walsh
f9140f7efc
Bump github.com/containers/common from 0.23.0 to 0.24.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.23.0...v0.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-10-02 08:59:07 -04:00
dependabot-preview[bot]
017f8d6a63
Bump github.com/containers/common from 0.22.0 to 0.23.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.22.0...v0.23.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-09-25 04:19:55 -04:00
Daniel J Walsh
cd2b2d9fae
Vendor in containers/common v0.22.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-09-11 09:52:19 -04:00
Valentin Rothberg
7fea46752c
support multi-image (docker) archives
...
Support loading and saving tarballs with more than one image.
Add a new `/libpod/images/export` endpoint to the rest API to
allow for exporting/saving multiple images into an archive.
Note that a non-release version of containers/image is vendored.
A release version must be vendored before cutting a new Podman
release. We force the containers/image version via a replace in
the go.mod file; this way go won't try to match the versions.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2020-09-08 08:47:19 +02:00
Sascha Grunert
98ead36531
Switch to containers/common for seccomp
...
The seccomp/containers-golang library is not maintained any more and we
should stick to containers/common.
Signed-off-by: Sascha Grunert <sgrunert@suse.com >
2020-08-27 21:14:59 +02:00
Daniel J Walsh
3848cac860
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:56:29 -04:00
Qi Wang
42d756d77b
Retry pulling image
...
Wrap the inner helper in the retry function. Functions pullimage failed with retriable error will default maxretry 3 times using exponential backoff.
Signed-off-by: Qi Wang <qiwan@redhat.com >
2020-08-04 15:56:19 -04:00
dependabot-preview[bot]
87f60bbfaa
Bump github.com/containers/common from 0.17.0 to 0.18.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-23 05:05:26 -04:00
dependabot-preview[bot]
ca049ef6f9
Bump github.com/containers/common from 0.16.0 to 0.17.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.16.0...v0.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-07-22 05:29:34 -04:00
Daniel J Walsh
fb6d9a84c5
Bump github.com/containers/common from 0.15.2 to 0.16.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.15.2 to 0.16.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.15.2...v0.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-07-16 13:11:10 -04:00
Daniel J Walsh
b020d1ad13
Vendor in new version of Buildah
...
This also pulls in latest runc and containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-07-09 11:02:28 -04:00
dependabot-preview[bot]
cd9d4f376d
Bump github.com/containers/common from 0.14.3 to 0.15.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.14.3 to 0.15.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.14.3...v0.15.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-07-01 06:34:45 -04:00
Valentin Rothberg
e4dcb3e31c
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 17:53:49 +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
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
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
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
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
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