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
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
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
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
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
42fcdbf1a8
vendor c/image v5.4.2
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-07 12:09:48 +02:00
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
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
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
4e2aa8563b
Bump to buildah v1.14.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-27 14:49:19 -04:00
2a3fe35666
Bump github.com/containers/storage from 1.16.5 to 1.16.6
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.16.5 to 1.16.6.
- [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.16.5...v1.16.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-25 08:30:02 -04:00
68a5a85cc2
Bump github.com/containers/common from 0.5.0 to 0.6.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.5.0 to 0.6.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.5.0...v0.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-19 10:40:44 +01:00
67d0d1e509
Vendor in containers/buildah v1.14.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-18 14:26:40 -04:00
83d2686f46
Fix vendoring on master
...
It looks like something snuck in and now make vendor fails on
master. This should make things happy.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-17 15:20:14 -04:00
8f1ce4bddd
Merge pull request #5524 from rhatdan/vendor
...
Update containers/storage to v1.16.5
2020-03-17 17:25:21 +01:00
9ef5d28759
Merge pull request #5449 from baude/manifests
...
apiv2 addition of manifests
2020-03-17 16:00:05 +01:00
8081d9c745
Update containers/storage to v1.16.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-17 09:52:11 -04:00
abbbeacd68
apiv2 addition of manifests
...
add endpoints for create, add, remove, inspect, and push. this allows manifests to be managed through the restful interfaces.
also added go-bindings and tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-16 10:03:55 -05:00
a95e9e5b4a
Bump github.com/containers/common from 0.4.2 to 0.5.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.4.2...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-13 13:11:17 -04:00
925da74118
Bump github.com/containers/storage from 1.16.2 to 1.16.3
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.16.2 to 1.16.3.
- [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.16.2...v1.16.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-12 10:37:32 -04:00
5640520579
Bump github.com/containers/storage from 1.16.1 to 1.16.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.16.1 to 1.16.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.16.1...v1.16.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-09 11:26:33 +01:00
0015c376a3
Vendor buildah 1.14.2
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-04 16:53:39 -05:00
b61da86b2c
Bump to Buildah v1.14.1
...
As the title says. Bumped to Buildah v1.14.1.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-03-03 09:08:34 -05:00
151bf72bed
Vendor in latest containers/buildah
...
Pulls in fix that sets the correct ownership on
the working directory during the build process.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2020-02-27 09:12:10 -05:00
68c313911e
Update vendor of buildah and containers/common
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-25 07:46:20 -04:00
96de762eed
Update to the latest version of buildah
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-19 16:04:00 -05:00
86be569961
build(deps): bump github.com/containers/storage from 1.15.8 to 1.16.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.8 to 1.16.0.
- [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.15.8...v1.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-19 11:40:53 +01:00
93b9008540
build(deps): bump github.com/containers/image/v5 from 5.2.0 to 5.2.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.2.0...v5.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-06 20:49:48 -05:00
801977b40d
vendor github.com/containers/image/v5@v5.2.0
...
See release notes:
https://github.com/containers/image/releases/tag/v5.2.0
Fixes : #4877
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-05 09:55:50 +01:00
94453c85c7
build(deps): bump github.com/containers/storage from 1.15.7 to 1.15.8
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.7 to 1.15.8.
- [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.15.7...v1.15.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-03 13:51:31 +01:00
587a25fd8a
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.5 to 1.15.7.
- [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.15.5...v1.15.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 03:49:20 -05:00
ac47e80b07
Add an API for Attach over HTTP API
...
The new APIv2 branch provides an HTTP-based remote API to Podman.
The requirements of this are, unfortunately, incompatible with
the existing Attach API. For non-terminal attach, we need append
a header to what was copied from the container, to multiplex
STDOUT and STDERR; to do this with the old API, we'd need to copy
into an intermediate buffer first, to handle the headers.
To avoid this, provide a new API to handle all aspects of
terminal and non-terminal attach, including closing the hijacked
HTTP connection. This might be a bit too specific, but for now,
it seems to be the simplest approach.
At the same time, add a Resize endpoint. This needs to be a
separate endpoint, so our existing channel approach does not work
here.
I wanted to rework the rest of attach at the same time (some
parts of it, particularly how we start the Attach session and how
we do resizing, are (in my opinion) handled much better here.
That may still be on the table, but I wanted to avoid breaking
existing APIs in this already massive change.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-01-16 13:49:21 -05:00
f5bda9994d
Bump to Buildah v1.13.1
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-01-14 14:46:46 -05:00
6dfffa92d9
Update containers/storage to v1.15.4
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-23 10:16:20 -05:00
50ece79387
build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.0.0...v5.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-20 09:30:47 -05:00
63bda55c1f
update c/buildah to v1.12.0
...
Also bump docker/docker.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-19 18:17:23 +01:00
5941894757
build(deps): bump github.com/containers/psgo from 1.3.2 to 1.4.0
...
Bumps [github.com/containers/psgo](https://github.com/containers/psgo ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/containers/psgo/releases )
- [Commits](https://github.com/containers/psgo/compare/v1.3.2...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-11 10:47:21 +01:00
18436ec71b
Update containers/storage to v1.15.3
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-12-10 17:19:27 -05:00
625a02a286
build(deps): bump github.com/containers/storage from 1.15.0 to 1.15.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.0 to 1.15.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.15.0...v1.15.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-06 10:27:06 +01:00
5851dacc32
Bump Buildah to v1.11.6
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2019-12-04 10:08:14 -05:00
63e46cc85c
Add support for image name history
...
We leverage the containers/storage image history tracking feature to
show the previously used image names when running:
`podman images --history`
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-27 13:42:06 +01:00
866391bb57
build(deps): bump github.com/containers/storage from 1.13.5 to 1.14.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.13.5 to 1.14.0.
- [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.13.5...v1.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-22 15:03:53 +01:00
6003033ada
Bump to Buildah v1.11.5
...
Bump to Buildah v1.11.5. Most notably changes to the
podman build `--pull` functionality. `--pull=true` and `--pull=false` now
work as Docker does, `--pull-never` added to supply the functionality
of the old `--pull=false`.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2019-11-13 10:57:19 -05:00
5f3a61ed42
Add support for make vendor-in-container
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-08 06:27:17 -05:00
2a149ad90a
Vendor in latest containers/buildah
...
Pull in changes to pkg/secrets/secrets.go that adds the
logic to disable fips mode if a pod/container has a
label set.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2019-11-01 09:41:09 -04:00
a4a70b4506
bump containers/image to v5.0.0, buildah to v1.11.4
...
Move to containers/image v5 and containers/buildah to v1.11.4.
Replace an equality check with a type assertion when checking for a
docker.ErrUnauthorizedForCredentials in `podman login`.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2019-10-29 13:35:18 -04:00
94489e0b0e
vendor github.com/containers/storage@v1.13.5
...
* Do not discard errors when panicing on lockfile open
* config: drop skip_mount_home
* storage: drop ostree deduplication
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-14 19:37:37 +02:00
6e0ca9e46c
vendor c/psgo@v1.3.2
...
Now supports cgroupsv2.
Fixes : #4192
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-07 16:27:09 +02:00
d3f59bedb3
Update c/image to v4.0.1 and buildah to 1.11.3
...
This requires updating all import paths throughout, and a matching
buildah update to interoperate.
I can't figure out the reason for go.mod tracking
github.com/containers/image v3.0.2+incompatible // indirect
((go mod graph) lists it as a direct dependency of libpod, but
(go list -json -m all) lists it as an indirect dependency),
but at least looking at the vendor subdirectory, it doesn't seem
to be actually used in the built binaries.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2019-10-04 20:18:23 +02:00
ee2b61bffa
update c/storage to v1.13.4
...
* Update generated files
* ImageBigData: distinguish between no-such-image and no-such-item
* ImageSize: don't get tripped up by images with no layers
* tarlogger: disable raw accouting
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-30 14:20:17 +02:00