summaryrefslogtreecommitdiff
path: root/cmd/podmanV2
Commit message (Collapse)AuthorAge
* Merge pull request #5808 from baude/v2psformat2OpenShift Merge Robot2020-04-14
|\ | | | | v2podman ps revert structure changes
| * v2podman ps revert structure changesBrent Baude2020-04-14
| | | | | | | | | | | | reverting name changes to the listcontainer structure because it negatively impacted the direct consumption of the restful API. instead we now use a local structure in the CLI to modify the output as needed. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | 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 #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 #5762 from baude/v2versionformatOpenShift Merge Robot2020-04-13
|\ \ | | | | | | podmanv2 version format variable name change
| * | podmanv2 version format variable name changeBrent Baude2020-04-13
| | | | | | | | | | | | | | | | | | change the name of the variable for version to avoid collision with other commands. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Fixes for load and other system testsBrent Baude2020-04-13
|/ / | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | 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>
* | 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>
* | Merge pull request #5758 from rhatdan/exitcodeOpenShift Merge Robot2020-04-09
|\ \ | | | | | | Set exit codes on errors.
| * | Set exit codes on errors.Daniel J Walsh2020-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | podmanV2 run fedora /etc Should exit with 126 podmanV2 run fedora /etc/foobar Should exit with 127 podmanv2 run --fobar fedora echo hello Should exit with 125 podmanv2 run fedora bash -c "exit 100" Should exit with 100 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5748 from baude/v2imageformatOpenShift Merge Robot2020-04-09
|\ \ \ | |/ / |/| | podmanv2 images user format
| * | podmanv2 images user formatBrent Baude2020-04-07
| | | | | | | | | | | | | | | | | | honor the format provided by user for output Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | run/create were processing options after the image nameDaniel J Walsh2020-04-08
| |/ |/| | | | | | | | | | | | | flags.SetInterspersed(false) Needs to be added to allow options to be used within the containers. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | 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>
* / podmanv2 infoBrent Baude2020-04-07
|/ | | | | | add ability to run info for v2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* v2podman runBrent Baude2020-04-06
| | | | | | add the ability to run a container Signed-off-by: Brent Baude <bbaude@redhat.com>
* podmanv2 psBrent Baude2020-04-06
| | | | | | add the ability to list containers Signed-off-by: Brent Baude <bbaude@redhat.com>
* 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>
* | | Merge pull request #5638 from baude/v2containercheckOpenShift Merge Robot2020-04-03
|\ \ \ | |/ / |/| | podmanv2 checkpoint and restore
| * | podmanv2 checkpoint and restoreBrent Baude2020-04-03
| | | | | | | | | | | | | | | | | | add the ability to checkpoint and restore containers on v2podman Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | podmanV2: implement pushValentin Rothberg2020-04-02
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement `podman-push` and `podman-image-push` for the podmanV2 client. * Tests for `pkg/bindings` are not possible at the time of writing as we don't have a local registry running. * Implement `/images/{name}/push` compat endpoint. Tests are not implemented for this v2 endpoint. It has been tested manually. General note: The auth config extraction from the http header is not implement for push. Since it's not yet supported for other endpoints either, I deferred it to future work. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | Merge pull request #5688 from baude/v2importOpenShift Merge Robot2020-04-02
|\ \ | | | | | | podmanv2 import
| * | podmanv2 importBrent Baude2020-04-01
| | | | | | | | | | | | | | | | | | add the ability to import a container image from a container export Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | podmanv2 exportBrent Baude2020-04-01
|/ / | | | | | | | | | | add ability to export a container to a tarball Signed-off-by: Brent Baude <bbaude@redhat.com>
* / podmanv2 loadBrent Baude2020-04-01
|/ | | | | | | | | | enable podman load for v2 add reexec into main add systemd build flag to v2 makefile Signed-off-by: Brent Baude <bbaude@redhat.com>
* V2 podman inspectJhon Honce2020-04-01
| | | | | | | * Expose podman container inspect * Expose podman image inspect Signed-off-by: Jhon Honce <jhonce@redhat.com>
* Merge pull request #5656 from baude/v2imagetagOpenShift Merge Robot2020-04-01
|\ | | | | podman v2 image tag and untag
| * podman v2 image tag and untagBrent Baude2020-03-31
| | | | | | | | | | | | add the ability to tag and untag images in podmanv2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | podmanv2 pod psBrent Baude2020-03-31
|/ | | | | | add the ability to list pods in podmanv2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* Merge pull request #5655 from baude/v2hcrunOpenShift Merge Robot2020-03-31
|\ | | | | podmanv2 enable healthcheck run
| * podmanv2 enable healthcheck runBrent Baude2020-03-29
| | | | | | | | | | | | run healthcheck with podmanv2 Signed-off-by: Brent Baude <bbaude@redhat.com>