Valentin Rothberg
cc129d13c5
v2 api: implement pods top endpoint
...
Note that this commit does not add tests for the pod-top endpoint.
They will be added in a later change.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-28 16:49:08 +01:00
OpenShift Merge Robot
684b4bd2f1
Merge pull request #5644 from rhatdan/buildah
...
Bump to buildah v1.14.5
2020-03-28 16:29:54 +01:00
OpenShift Merge Robot
21b67e6469
Merge pull request #4976 from rpjday/rpjday/podman_version
...
docs: mention that "podman version" prints out Remote API Version
2020-03-28 10:52:42 +01:00
OpenShift Merge Robot
17ad800905
Merge pull request #5368 from cevich/opensuse_ubuntu_packages
...
Opensuse openbuild ubuntu + buildah packages
2020-03-28 10:50:10 +01:00
OpenShift Merge Robot
debd6face3
Merge pull request #4340 from cevich/libseccomp_update
...
Log libseccomp package version
2020-03-28 10:47:32 +01:00
OpenShift Merge Robot
3336b100ef
Merge pull request #4698 from rhatdan/containers.conf
...
Add support for containers.conf
2020-03-27 20:55:48 +01:00
Daniel J Walsh
4e2aa8563b
Bump to buildah v1.14.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-27 14:49:19 -04:00
OpenShift Merge Robot
1fe2fbb421
Merge pull request #5642 from tylarb/5610_play_kube_network
...
Sanitize port parsing for pods in play kube
2020-03-27 19:42:50 +01:00
Daniel J Walsh
4352d58549
Add support for containers.conf
...
vendor in c/common config pkg for containers.conf
Signed-off-by: Qi Wang qiwan@redhat.com
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-27 14:36:03 -04:00
OpenShift Merge Robot
2c5c198020
Merge pull request #5632 from jwhonce/wip/images
...
V2 podman image prune
2020-03-27 18:47:51 +01:00
Tyler Ramer
d704144f53
Sanitize port parsing for pods in play kube
...
The logic used in parsing the ports to be utilized in a kubenetes api
defined pod did not fully adhere to the kubenetes spec, nor did it map
well to a podman context. This fix sanitizes the input of container
ports to meet the following rules:
- A defined containerPort with no defined hostPort does nothing in a
podman context, or is informational. This is line with [usage in
Kubernetes.](https://github.com/kubernetes/kubernetes/issues/4332 )
- A defined hostPort with no defined containerPort acts like a
publish [hostPort]:[hostPort]
- A defined containerPort and defined hostPort works like it does in
kubernetes, as in a publish [hostPort]:[containerPort]
Addresses https://github.com/containers/libpod/issues/5610
Signed-off-by: Tyler Ramer <tyaramer@gmail.com>
2020-03-27 13:33:37 -04:00
OpenShift Merge Robot
4233250c43
Merge pull request #5611 from baude/v2podcreate
...
podmanv2 pod create using podspecgen
2020-03-27 16:25:30 +01:00
OpenShift Merge Robot
3ddb5b10d5
Merge pull request #5595 from stefano-pogliani/pod-ps-filter-label
...
Support label filters for podman pod ps
2020-03-27 15:18:27 +01:00
Brent Baude
e56d529561
podmanv2 pod create using podspecgen
...
using the factory approach similar to container, we now create pods based on a pod spec generator. wired up the podmanv2 pod create command, podcreatewithspec binding, simple binding test, and apiv2 endpoint.
also included some code refactoring as it introduced as easy circular import.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-27 09:04:10 -05:00
OpenShift Merge Robot
7007680bfd
Merge pull request #5618 from vrothberg/v2-top
...
podmanV2: implement top
2020-03-27 13:55:17 +01:00
OpenShift Merge Robot
340312cc1b
Merge pull request #5636 from vrothberg/pause3.2
...
use `pause:3.2` image for infra containers
2020-03-27 12:53:20 +01:00
OpenShift Merge Robot
5cd20b3e34
Merge pull request #5630 from eriksjolund/fix_markdown_typo_in_podman_create_1_md
...
[CI:DOCS] Fix Markdown typo in podman-create.1.md
2020-03-27 12:50:20 +01:00
Valentin Rothberg
2c4ac55c81
use `pause:3.2` image for infra containers
...
The `pause:3.1` has wrong configs for non-amd64 images as they all claim
to be for amd64. The issue has now been fixed in the latest
`pause:3.2`.
[1] https://github.com/kubernetes/kubernetes/issues/87325
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-27 10:32:04 +01:00
Valentin Rothberg
500a2d508b
podmanV2: implement top
...
Implement the `top` command for podmanV2.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-27 09:14:01 +01:00
Erik Sjölund
f33942166d
Fix Markdown typo in podman-create.1.md
...
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2020-03-27 08:37:14 +01:00
Jhon Honce
581dd312af
V2 podman image prune
...
* Fixed header for `podman image ls`
* Implemented prune `all` flag, preserved filter method for backwards
capability
* Updated binding tests
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-26 18:32:44 -07:00
Stefano Pogliani
df568e4963
Support label filters for podman pod ps.
...
Update the podman pod ps command to support filtering by labels.
This brings the command in line with the documentation as well as
the functionality by the containers equivalent podman ps.
Signed-off-by: Stefano Pogliani <stefano@spogliani.net>
2020-03-26 23:11:07 +00:00
OpenShift Merge Robot
1710eca4e9
Merge pull request #5629 from baude/v2containerinspect
...
podmanv2 container inspect
2020-03-26 22:43:38 +01:00
Brent Baude
2fa78938a9
podmanv2 container inspect
...
add ability to inspect a container
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-26 15:54:26 -05:00
OpenShift Merge Robot
6a46a87d08
Merge pull request #5625 from baude/v2pods
...
podmanv2 pod subcommands
2020-03-26 21:36:36 +01:00
Brent Baude
c5ce210f7d
podmanv2 pod subcommands
...
add pod kill, pause, restart, rm, start, stop, and unpause
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-26 14:14:05 -05:00
OpenShift Merge Robot
913426c70c
Merge pull request #5573 from mheon/add_basic_exec_endpoints
...
Implement APIv2 Exec Create and Inspect Endpoints
2020-03-26 20:10:08 +01:00
OpenShift Merge Robot
14ece7ecaf
Merge pull request #5627 from baude/apiv2createnet
...
apiv2 add default network in specgen
2020-03-26 18:59:47 +01:00
OpenShift Merge Robot
e2cab552de
Merge pull request #5624 from giuseppe/use-slirp4netns-seccomp
...
slirp: enable seccomp filter
2020-03-26 18:51:45 +01:00
Matthew Heon
e42cbdd1b2
Add bindings for Container Exec Create + Inspect
...
Also adds some basic tests for these two. More tests are needed
but will have to wait for state to be finished.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-03-26 13:33:33 -04:00
OpenShift Merge Robot
4f38509b6c
Merge pull request #5615 from jwhonce/wip/images
...
V2 podman image rm | podman rmi [IMAGE]
2020-03-26 18:11:38 +01:00
Brent Baude
cac8bcdd7e
apiv2 add default network in specgen
...
when a network is not provided, we should set a default mode based on rootless or rootfull.
Fixes : #5366
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-26 11:58:22 -05:00
Giuseppe Scrivano
f8ccd76858
slirp: enable seccomp filter
...
add a check for --enable-seccomp support in slirp4netns. If it is
supported, always enable it.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-26 16:45:33 +01:00
OpenShift Merge Robot
8cccac5497
Merge pull request #5612 from baude/v2enablelint
...
enable linting on v2
2020-03-26 15:16:17 +01:00
OpenShift Merge Robot
c869b96d77
Merge pull request #5614 from baude/v2containersfix
...
podmanv2 add pre-run to each commmand
2020-03-26 14:12:18 +01:00
OpenShift Merge Robot
18c15300b2
Merge pull request #5613 from mheon/reorder_exec_resize
...
Ensure that exec sends resize events
2020-03-26 09:01:26 +01:00
Jhon Honce
f38a26bfa0
V2 podman image rm | podman rmi [IMAGE]
...
* Add support for rm and rmi commands
* Support for registry.ExitCode
* Support for N-errors from domain layer
* Add log-level support
* Add syslog support
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-25 17:54:14 -07:00
Jhon Honce
36a4cc864d
V2 podman image
...
* Exists()
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-25 17:54:14 -07:00
Brent Baude
06e2a5dd86
podmanv2 add pre-run to each commmand
...
each container command needs a prerune because it is not part of the containers subcommand yet
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-25 19:24:24 -05:00
Matthew Heon
1313f8a450
Ensure that exec sends resize events
...
We previously tried to send resize events only after the exec
session successfully started, which makes sense (we might drop an
event or two that came in before the exec session started
otherwise). However, the start function blocks, so waiting
actually means we send no resize events at all, which is
obviously worse than losing a few.. Sending resizes before attach
starts seems to work fine in my testing, so let's do that until we
get bug reports that it doesn't work.
Fixes #5584
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-25 15:33:52 -04:00
Brent Baude
ba1d8ad2af
enable linting on v2
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-25 14:16:56 -05:00
OpenShift Merge Robot
ff0124aee1
Merge pull request #5534 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.2
...
Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
2020-03-25 17:23:48 +01:00
OpenShift Merge Robot
852dd7fbde
Merge pull request #5607 from containers/dependabot/go_modules/github.com/containers/storage-1.16.6
...
Bump github.com/containers/storage from 1.16.5 to 1.16.6
2020-03-25 14:26:05 +01:00
dependabot-preview[bot]
e8e590ed88
Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.8.0 to 0.9.2.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.8.0...v0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-25 14:20:34 +01:00
dependabot-preview[bot]
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
OpenShift Merge Robot
69b011d3ac
Merge pull request #5604 from jwhonce/wip/images
...
V2 podman images/image list
2020-03-25 01:26:21 +01:00
Jhon Honce
1d7cb7cc48
V2 podman images/image list
...
* Updated entities to support flags/options
* Updated bindings caused by entities changes
* Removed handlers.ImageSummary in favor of entities.ImageSummary
* Introduced StringSet() container object to simply error checking
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-24 16:06:01 -07:00
OpenShift Merge Robot
b4520649af
Merge pull request #5593 from baude/v2volumes
...
podmanv2 volumes
2020-03-24 23:20:25 +01:00
Brent Baude
ae614920bf
podmanv2 volumes
...
add volume commands: create, inspect, ls, prune, and rm
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-24 16:03:49 -05:00
OpenShift Merge Robot
0c084d9719
Merge pull request #5592 from jwhonce/wip/globalflags
...
Combine GlobalFlags and EngineFlags into EngineOptions
2020-03-24 21:48:37 +01:00