summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #4698 from rhatdan/containers.confOpenShift Merge Robot2020-03-27
|\ | | | | Add support for containers.conf
| * Add support for containers.confDaniel J Walsh2020-03-27
| | | | | | | | | | | | | | 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>
* | Merge pull request #5642 from tylarb/5610_play_kube_networkOpenShift Merge Robot2020-03-27
|\ \ | |/ |/| Sanitize port parsing for pods in play kube
| * Sanitize port parsing for pods in play kubeTyler Ramer2020-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #5632 from jwhonce/wip/imagesOpenShift Merge Robot2020-03-27
|\ \ | | | | | | V2 podman image prune
| * | V2 podman image pruneJhon Honce2020-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | Merge pull request #5611 from baude/v2podcreateOpenShift Merge Robot2020-03-27
|\ \ \ | | | | | | | | podmanv2 pod create using podspecgen
| * | | podmanv2 pod create using podspecgenBrent Baude2020-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #5595 from stefano-pogliani/pod-ps-filter-labelOpenShift Merge Robot2020-03-27
|\ \ \ \ | |/ / / |/| | | Support label filters for podman pod ps
| * | | Support label filters for podman pod ps.Stefano Pogliani2020-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #5618 from vrothberg/v2-topOpenShift Merge Robot2020-03-27
|\ \ \ \ | | | | | | | | | | podmanV2: implement top
| * | | | podmanV2: implement topValentin Rothberg2020-03-27
| | |/ / | |/| | | | | | | | | | | | | | | | | | Implement the `top` command for podmanV2. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | | Merge pull request #5636 from vrothberg/pause3.2OpenShift Merge Robot2020-03-27
|\ \ \ \ | | | | | | | | | | use `pause:3.2` image for infra containers
| * | | | use `pause:3.2` image for infra containersValentin Rothberg2020-03-27
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #5630 from ↵OpenShift Merge Robot2020-03-27
|\ \ \ \ | |/ / / |/| | | | | | | | | | | eriksjolund/fix_markdown_typo_in_podman_create_1_md [CI:DOCS] Fix Markdown typo in podman-create.1.md
| * | | Fix Markdown typo in podman-create.1.mdErik Sjölund2020-03-27
|/ / / | | | | | | | | | Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
* | | Merge pull request #5629 from baude/v2containerinspectOpenShift Merge Robot2020-03-26
|\ \ \ | |/ / |/| | podmanv2 container inspect
| * | podmanv2 container inspectBrent Baude2020-03-26
|/ / | | | | | | | | | | add ability to inspect a container Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5625 from baude/v2podsOpenShift Merge Robot2020-03-26
|\ \ | | | | | | podmanv2 pod subcommands
| * | podmanv2 pod subcommandsBrent Baude2020-03-26
|/ / | | | | | | | | | | add pod kill, pause, restart, rm, start, stop, and unpause Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5573 from mheon/add_basic_exec_endpointsOpenShift Merge Robot2020-03-26
|\ \ | | | | | | Implement APIv2 Exec Create and Inspect Endpoints
| * | Add bindings for Container Exec Create + InspectMatthew Heon2020-03-26
| | | | | | | | | | | | | | | | | | | | | 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>
| * | Implement APIv2 Exec Create and Inspect EndpointsMatthew Heon2020-03-23
| | | | | | | | | | | | | | | | | | Start and Resize require further implementation work. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | Merge pull request #5627 from baude/apiv2createnetOpenShift Merge Robot2020-03-26
|\ \ \ | | | | | | | | apiv2 add default network in specgen
| * | | apiv2 add default network in specgenBrent Baude2020-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #5624 from giuseppe/use-slirp4netns-seccompOpenShift Merge Robot2020-03-26
|\ \ \ \ | | | | | | | | | | slirp: enable seccomp filter
| * | | | slirp: enable seccomp filterGiuseppe Scrivano2020-03-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | add a check for --enable-seccomp support in slirp4netns. If it is supported, always enable it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #5615 from jwhonce/wip/imagesOpenShift Merge Robot2020-03-26
|\ \ \ \ | |/ / / |/| | | V2 podman image rm | podman rmi [IMAGE]
| * | | V2 podman image rm | podman rmi [IMAGE]Jhon Honce2020-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * | | V2 podman imageJhon Honce2020-03-25
| | |/ | |/| | | | | | | | | | | | | * Exists() Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #5612 from baude/v2enablelintOpenShift Merge Robot2020-03-26
|\ \ \ | | | | | | | | enable linting on v2
| * | | enable linting on v2Brent Baude2020-03-25
| |/ / | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5614 from baude/v2containersfixOpenShift Merge Robot2020-03-26
|\ \ \ | | | | | | | | podmanv2 add pre-run to each commmand
| * | | podmanv2 add pre-run to each commmandBrent Baude2020-03-25
| |/ / | | | | | | | | | | | | | | | each container command needs a prerune because it is not part of the containers subcommand yet Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5613 from mheon/reorder_exec_resizeOpenShift Merge Robot2020-03-26
|\ \ \ | |/ / |/| | Ensure that exec sends resize events
| * | Ensure that exec sends resize eventsMatthew Heon2020-03-25
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #5534 from ↵OpenShift Merge Robot2020-03-25
|\ \ | | | | | | | | | | | | 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
| * | Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2dependabot-preview[bot]2020-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #5607 from ↵OpenShift Merge Robot2020-03-25
|\ \ \ | |/ / |/| | | | | | | | containers/dependabot/go_modules/github.com/containers/storage-1.16.6 Bump github.com/containers/storage from 1.16.5 to 1.16.6
| * | Bump github.com/containers/storage from 1.16.5 to 1.16.6dependabot-preview[bot]2020-03-25
|/ / | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #5604 from jwhonce/wip/imagesOpenShift Merge Robot2020-03-25
|\ \ | | | | | | V2 podman images/image list
| * | V2 podman images/image listJhon Honce2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | Merge pull request #5593 from baude/v2volumesOpenShift Merge Robot2020-03-24
|\ \ \ | |/ / |/| | podmanv2 volumes
| * | podmanv2 volumesBrent Baude2020-03-24
|/ / | | | | | | | | | | add volume commands: create, inspect, ls, prune, and rm Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5592 from jwhonce/wip/globalflagsOpenShift Merge Robot2020-03-24
|\ \ | | | | | | Combine GlobalFlags and EngineFlags into EngineOptions
| * | Combine GlobalFlags and EngineFlags into EngineOptionsJhon Honce2020-03-24
|/ / | | | | | | | | | | | | * EngineOptions obtained in command via `opt, err := registry.Options(cmd)` Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | Merge pull request #5589 from giuseppe/rootlessport-use-unixOpenShift Merge Robot2020-03-24
|\ \ | | | | | | rootlessport: use x/sys/unix instead of syscall
| * | rootlessport: use x/sys/unix instead of syscallGiuseppe Scrivano2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | Dup2 is not defined on arm64 in the syscall package. Closes: https://github.com/containers/libpod/issues/5587 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Merge pull request #5596 from jwhonce/wip/historyOpenShift Merge Robot2020-03-24
|\ \ \ | | | | | | | | Complete podmanV2 history command
| * | | Complete podmanV2 history commandJhon Honce2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | * All format options now implemented Signed-off-by: Jhon Honce <jhonce@redhat.com>