summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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 #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>
* | | Merge pull request #5591 from baude/v2exitcodeOpenShift Merge Robot2020-03-24
|\ \ \ | |/ / |/| | podmanv2 exit code
| * | podmanv2 exit codeBrent Baude2020-03-24
| |/ | | | | | | | | | | add ability to set and get exit code. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5598 from marusak/doc_commit_endpointOpenShift Merge Robot2020-03-24
|\ \ | | | | | | Correctly document libpod commit endpoint
| * | Correctly document libpod commit endpointMatej Marusak2020-03-24
| | | | | | | | | | | | | | | | | | In #5588 it was forgotten and documentation still points to `/commit`. Signed-off-by: Matej Marusak <mmarusak@redhat.com>
* | | Merge pull request #5601 from ↵OpenShift Merge Robot2020-03-24
|\ \ \ | |_|/ |/| | | | | | | | containers/dependabot/go_modules/github.com/sirupsen/logrus-1.5.0 Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
| * | Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0dependabot-preview[bot]2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.4.2 to 1.5.0. - [Release notes](https://github.com/sirupsen/logrus/releases) - [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md) - [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5581 from baude/v2containersOpenShift Merge Robot2020-03-24
|\ \ \ | |/ / |/| | podmanv2 add core container commands
| * | podmanv2 add core container commandsBrent Baude2020-03-22
| | | | | | | | | | | | | | | | | | add core container commands for podmanv2: kill, pause, restart, rm, stop, unpause Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5495 from openSUSE/image-signOpenShift Merge Robot2020-03-24
|\ \ \ | |_|/ |/| | Add image signing with GPG tutorial
| * | Add image signing with GPG tutorialSascha Grunert2020-03-23
| | | | | | | | | | | | Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* | | Merge pull request #5560 from QiWang19/remote_cedsOpenShift Merge Robot2020-03-23
|\ \ \ | | | | | | | | Use creds form PullImage remote
| * | | Use creds form PullImage remoteQi Wang2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #5511 Adds creds argument to PullImage API and Enables podman-remote to pull image with --creds Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | | Merge pull request #5588 from baude/apiv2commitfixOpenShift Merge Robot2020-03-23
|\ \ \ \ | | | | | | | | | | apiv2 container commit for libpod
| * | | | apiv2 container commit for libpodBrent Baude2020-03-23
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | add an endpoint for a libpod specific commit. add the abilility to define the format. also update documentation accordingly. Fixes: #5586 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5436 from QiWang19/rm_created_ctrOpenShift Merge Robot2020-03-23
|\ \ \ \ | | | | | | | | | | container prune remove state created, configured
| * | | | container prune remove state created, configuredQi Wang2020-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | podman container prune should remove containers with state Created, Configured to be compatible with docker Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | | | Merge pull request #5479 from cevich/auto_releaseOpenShift Merge Robot2020-03-23
|\ \ \ \ \ | | | | | | | | | | | | Cirrus: Disable non-docs release processing
| * | | | | Cirrus: Disable non-docs release processingChris Evich2020-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detecting when it's time to upload a release inside Cirrus-CI is really difficult for many automation and human reasons. Disabling it for now until a more robust solution can be implemented Signed-off-by: Chris Evich <cevich@redhat.com>
* | | | | | Merge pull request #5434 from mheon/force_delete_cni_netregOpenShift Merge Robot2020-03-23
|\ \ \ \ \ \ | | | | | | | | | | | | | | Attempt manual removal of CNI IP allocations on refresh
| * | | | | | Attempt manual removal of CNI IP allocations on refreshMatthew Heon2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously attempted to work within CNI to do this, without success. So let's do it manually, instead. We know where the files should live, so we can remove them ourselves instead. This solves issues around sudden reboots where containers do not have time to fully tear themselves down, and leave IP address allocations which, for various reasons, are not stored in tmpfs and persist through reboot. Fixes #5433 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | | | | | Merge pull request #5567 from rhatdan/serviceOpenShift Merge Robot2020-03-23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add APIV2 service files
| * | | | | | | Add APIV2 service filesDaniel J Walsh2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix issue in pods_test.go Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | | | Merge pull request #5559 from rhatdan/dockerOpenShift Merge Robot2020-03-23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix docker man page links
| * | | | | | | | Fix docker man page linksDaniel J Walsh2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | | | | Merge pull request #5582 from kunalkushwaha/bugfix-5001Daniel J Walsh2020-03-22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Improved readability in image json output
| * | | | | | | | | Improved readability in image json outputKunal Kushwaha2020-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes made in json output to improve readability of podman images output. Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
* | | | | | | | | | Merge pull request #5552 from giuseppe/rootlessport-handle-sigpipeOpenShift Merge Robot2020-03-22
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | rootlessport: handle SIGPIPE
| * | | | | | | | | | rootlessport: handle SIGPIPEGiuseppe Scrivano2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when a sigpipe is received the stdout/stderr pipe was closed, so reopen them with /dev/null. Closes: https://github.com/containers/libpod/issues/5541 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | | | | | | | Merge pull request #5549 from ↵OpenShift Merge Robot2020-03-22
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | containers/dependabot/go_modules/github.com/containers/common-0.6.1 Bump github.com/containers/common from 0.5.0 to 0.6.1
| * | | | | | | | | | Bump github.com/containers/common from 0.5.0 to 0.6.1dependabot-preview[bot]2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | | | | Merge pull request #5576 from baude/nettestrmfOpenShift Merge Robot2020-03-21
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | when removing networks for tests, force should be used
| * | | | | | | | | | | when removing networks for tests, force should be usedBrent Baude2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when removing networks in integration tests, we should should force; otherwise if the network has containers associated with it, it will fail to remove. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | | | | | | | | Merge pull request #5579 from mtrmac/macOS-unit-testsOpenShift Merge Robot2020-03-21
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Make macOS unit tests runnable
| * | | | | | | | | | | | Add stubs for cmd/podman in non-Linux local modeMiloslav Trmač2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is _only_ to be able able to run unit tests. I didn't even TRY running the result, I'm scared of what it would do. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
| * | | | | | | | | | | | Make libpod/lock/shm completely Linux-onlyMiloslav Trmač2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the tests are not Linux-only, (go test ./...) still tries to build and test the package. Signed-off-by: Miloslav Trmač <mitr@redhat.com>