summaryrefslogtreecommitdiff
path: root/pkg
Commit message (Collapse)AuthorAge
* Merge pull request #5801 from baude/v2mountOpenShift Merge Robot2020-04-14
|\ | | | | podmanv2 mount and umount
| * podmanv2 mount and umountBrent Baude2020-04-14
| | | | | | | | | | | | add the ability to mount and unmount containers for the local client only Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5807 from openSUSE/pids-ctr-pathOpenShift Merge Robot2020-04-14
|\ \ | | | | | | Fix invalid container path comparison for pid cgroup
| * | Fix invalid container path comparison for pid cgroupSascha Grunert2020-04-14
| | | | | | | | | | | | | | | | | | | | | This fixes the behavior to return nil for the PIDs cgroup if the container path is empty. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* | | Merge pull request #5755 from mheon/fix_attachOpenShift Merge Robot2020-04-14
|\ \ \ | | | | | | | | Improve APIv2 support for Attach
| * | | Improve APIv2 support for AttachMatthew Heon2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few major fixes here: - Support for attaching to Configured containers, to match Docker behavior. - Support for stream parameter has been improved (we now properly handle cases where it is not set). - Initial support for logs parameter has been added. - Setting attach streams when the container has a terminal is now supported. - Errors are properly reported once the hijack has begun. Signed-off-by: Matthew Heon <mheon@redhat.com>
* | | | Merge pull request #5709 from vrothberg/v2-searchOpenShift Merge Robot2020-04-14
|\ \ \ \ | |_|_|/ |/| | | podmanV2: implement search
| * | | podmanV2: implement searchValentin Rothberg2020-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also implement a new libpod endpoint to add more parameters and to prevent us from converting between slices and maps and make use of the filter parsing in the image backend. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | | v2podman add container initBrent Baude2020-04-13
| |_|/ |/| | | | | | | | | | | | | | add the ability to init a container both local and remote Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5800 from baude/v2edtestsOpenShift Merge Robot2020-04-13
|\ \ \ | | | | | | | | Fixes for load and other system tests
| * | | Fixes for load and other system testsBrent Baude2020-04-13
| | | | | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5777 from jwhonce/issues/5599OpenShift Merge Robot2020-04-13
|\ \ \ \ | |/ / / |/| | | Refactor service idle support
| * | | Refactor service idle supportJhon Honce2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move connection tracking into APIServer using ConnState() * Remove Connection counters from CLI code * Update events handler to support client not closing connection * Improve logging messages Fixes #5599 Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | Merge pull request #5778 from baude/v2removetemplatesOpenShift Merge Robot2020-04-13
|\ \ \ \ | |/ / / |/| | | podmanv2 history and image remove templates
| * | | podmanv2 history and image remove templatesBrent Baude2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | remove the use of template functions images and history to allow for straight-forward user experience. instead of templates we use structs and struct methods. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5797 from giuseppe/use-snprintfOpenShift Merge Robot2020-04-13
|\ \ \ \ | |/ / / |/| | | rootless: use snprintf
| * | | rootless: use snprintfGiuseppe Scrivano2020-04-13
| | | | | | | | | | | | | | | | | | | | | | | | use directly snprintf instead of strlen+strcpy. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | v2podman container cleanupBrent Baude2020-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add the ability to clean up after a container has attempted to run. this is also important for podman run --rm --rmi. also included are fixes and tweaks to various code bits to correct regressions on output. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5754 from baude/v2psformatOpenShift Merge Robot2020-04-09
|\ \ \ \ | | | | | | | | | | v2podman ps alter formats
| * | | | v2podman ps alter formatsBrent Baude2020-04-08
| |/ / / | | | | | | | | | | | | | | | | | | | | in order to get the go templating to work for custom input, we now use structure methods instead of template map funcs. this requires some manipulation of fields so that the funcs can have the proper names. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5634 from jwhonce/wip/serviceOpenShift Merge Robot2020-04-09
|\ \ \ \ | | | | | | | | | | V2 podman system service
| * | | | V2 podman system serviceJhon Honce2020-04-07
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added support for system service * Enabled linting on the varlinkapi source, needed to support V2 service command * Added support for PODMAN_SOCKET Skip linting deprecated code Rather than introduce bugs by correcting deprecated code, linting the code is being skipped. Code that is being ported into V2 is being checked. Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | / / podmanV2: implement logsValentin Rothberg2020-04-09
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the `podman {container} logs` for the v2 client. The remote client does not yet support it. There's some more work needed for the rest api; some options are missing (e.g., printing names) while others are broken (e.g., the until http parameter). The remote parts will be tackled in a future change. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | add tests for kill and existsLokesh Mandvekar2020-04-08
|/ / | | | | | | Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
* | Merge pull request #5739 from jwhonce/wip/diffOpenShift Merge Robot2020-04-07
|\ \ | | | | | | V2 Podman diff(changes) support
| * | V2 podman diff(changes) supportJhon Honce2020-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Ported CLI command * Added API endpoint * Added bindings * Updated swagger (TODO: n endpoints, one handler) Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #5738 from baude/v2infoOpenShift Merge Robot2020-04-07
|\ \ \ | |/ / |/| | podmanv2 info
| * | podmanv2 infoBrent Baude2020-04-07
| |/ | | | | | | | | | | add ability to run info for v2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5728 from openSUSE/pids.currentOpenShift Merge Robot2020-04-07
|\ \ | |/ |/| Do not error on pids.current stats if ctr.path is empty
| * Do not error on pids.current stats if ctr.path is emptySascha Grunert2020-04-07
| | | | | | | | | | | | | | | | | | | | If the ctr.path is empty, then we do not try to access `/sys/fs/cgroup/pids/pids.current` any more because this path will be wrong in any case. We now return and do not set the PIDs stats. Refers to https://github.com/cri-o/cri-o/issues/3522 Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* | Merge pull request #5734 from baude/v2runOpenShift Merge Robot2020-04-07
|\ \ | | | | | | v2podman run
| * | v2podman runBrent Baude2020-04-06
| | | | | | | | | | | | | | | | | | add the ability to run a container Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5478 from giuseppe/auto-usernsOpenShift Merge Robot2020-04-06
|\ \ \ | |/ / |/| | userns: support --userns=auto
| * | userns: support --userns=autoGiuseppe Scrivano2020-04-06
| | | | | | | | | | | | | | | | | | | | | automatically pick an empty range and create an user namespace for the container. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Merge pull request #5716 from baude/v2psOpenShift Merge Robot2020-04-06
|\ \ \ | | | | | | | | podmanv2 ps
| * | | podmanv2 psBrent Baude2020-04-06
| | | | | | | | | | | | | | | | | | | | | | | | add the ability to list containers Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | refactor infoBrent Baude2020-04-06
|/ / / | | | | | | | | | | | | | | | the current implementation of info, while typed, is very loosely done so. we need stronger types for our apiv2 implmentation and bindings. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5620 from cfelder/play-kube-networkingOpenShift Merge Robot2020-04-06
|\ \ \ | | | | | | | | Add support for specifying CNI networks in podman play kube
| * | | Add support for specifying CNI networks in podman play kubeChristian Felder2020-03-27
| | | | | | | | | | | | | | | | | | | | Fixes: #5609 Signed-off-by: Christian Felder <c.felder@fz-juelich.de>
| * | | Fix typo in pod createChristian Felder2020-03-27
| | | | | | | | | | | | | | | | Signed-off-by: Christian Felder <c.felder@fz-juelich.de>
* | | | podmanv2 startBrent Baude2020-04-06
| |/ / |/| | | | | | | | | | | | | | add the ability to start containers Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5689 from sujil02/v2-pod-inspectOpenShift Merge Robot2020-04-06
|\ \ \ | | | | | | | | podmanv2 pod inspect
| * | | podmanv2 pod inspectSujil022020-04-01
| | | | | | | | | | | | | | | | | | | | | | | | Add the ability to inspect pod in podmanv2 Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | Merge pull request #5714 from baude/v2attachOpenShift Merge Robot2020-04-06
|\ \ \ \ | | | | | | | | | | v2podman attach
| * | | | v2podman attach and execBrent Baude2020-04-05
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | add the ability to attach to a running container. the tunnel side of this is not enabled yet as we have work on the endpoints and plumbing to do yet. add the ability to exec a command in a running container. the tunnel side is also being deferred for same reason. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5713 from baude/v2versionOpenShift Merge Robot2020-04-06
|\ \ \ \ | |/ / / |/| | | podmanv2 version
| * | | podmanv2 versionBrent Baude2020-04-03
| | | | | | | | | | | | | | | | | | | | | | | | this is only for the abi side and does not print out the remote information yet. the remote information will need to be worked on and agreed upon later. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | v2podman container createBrent Baude2020-04-03
| | | | | | | | | | | | | | | | | | | | | | | | create a container in podmanv2 using specgen approach. this is the core implementation and still has quite a bit of code commented out specifically around volumes, devices, and namespaces. need contributions from smes on these parts. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5672 from baude/v2saveOpenShift Merge Robot2020-04-03
|\ \ \ \ | | | | | | | | | | podmanv2 save image
| * | | | podmanv2 save imageBrent Baude2020-04-03
| |/ / / | | | | | | | | | | | | | | | | | | | | add ability to save an image for podman v2 Signed-off-by: Brent Baude <bbaude@redhat.com>