aboutsummaryrefslogtreecommitdiff
path: root/cmd
Commit message (Collapse)AuthorAge
* Merge pull request #5733 from sujil02/v2-pod-pruneOpenShift Merge Robot2020-04-18
|\ | | | | Add pod prune for api v2
| * Add pod prune for api v2.Sujil022020-04-17
| | | | | | | | | | | | | | | | Add the ability to prune pods for api v2, Includes the addition of force flag, for client side prompt. Update test suite to support this use case. Signed-off-by: Sujil02 <sushah@redhat.com>
* | Merge pull request #5871 from baude/v2t3OpenShift Merge Robot2020-04-18
|\ \ | |/ |/| enable integration testing
| * enable integration testingBrent Baude2020-04-17
| | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | We were not handling the user option on createDaniel J Walsh2020-04-17
|/ | | | | | With this patch we can get run_passwd_test.go to pass Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* Merge pull request #5868 from baude/v2t2OpenShift Merge Robot2020-04-17
|\ | | | | Fixes for system tests
| * Fixes for system testsBrent Baude2020-04-17
| | | | | | | | | | | | Various fixes to protect against regressions in system tests Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5819 from vrothberg/v2-buildOpenShift Merge Robot2020-04-17
|\ \ | |/ |/| podmanV2: implement build
| * podmanV2: implement buildValentin Rothberg2020-04-17
| | | | | | | | | | | | | | | | Implement `podman build` for the local client. The remote client will require some rather large work in the backend and a new build endpoint for the libpod rest API. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | Enable some testingBrent Baude2020-04-17
| | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Fix bug where two configurations had been createdJhon Honce2020-04-16
|/ | | | | | * registry.PodmanConfig() new returns a pointer to the source of truth Signed-off-by: Jhon Honce <jhonce@redhat.com>
* Podman V2 birthBrent Baude2020-04-16
| | | | | | remote podman v1 and replace with podman v2. Signed-off-by: Brent Baude <bbaude@redhat.com>
* V2 Enable rootlessJhon Honce2020-04-16
| | | | | | | | | | | | | * Enable running podman V2 rootless * Fixed cobra.PersistentPreRunE usage in all the commands * Leveraged cobra.PersistentPreRunE/cobra.PersistentPostRunE to manage: * rootless * trace (--trace) * profiling (--cpu-profile) * initializing the registry copies of Image/Container engines * Help and Usage templates autoset for all sub-commands Signed-off-by: Jhon Honce <jhonce@redhat.com>
* podman v2 remove bloat v2Brent Baude2020-04-16
| | | | | | rid ourseleves of libpod references in v2 client Signed-off-by: Brent Baude <bbaude@redhat.com>
* Merge pull request #5827 from baude/v2bloatOpenShift Merge Robot2020-04-15
|\ | | | | v2 bloat pruning phase 2
| * v2 bloat pruning phase 2Brent Baude2020-04-15
| | | | | | | | | | | | this is second phase of removing unneeded bloat in the remote client. this is important to be able to reduce the client size as well as possible native compilation for windows/mac. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5817 from rhatdan/selinux1OpenShift Merge Robot2020-04-15
|\ \ | |/ |/| Fix up SELinux labeling
| * Fix up SELinux labelingDaniel J Walsh2020-04-15
| | | | | | | | | | | | SELinux label options processing fixes, should allow system tests to pass. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #5775 from sujil02/v2-container-pruneOpenShift Merge Robot2020-04-15
|\ \ | |/ |/| Ability to prune container in api V2
| * Ability to prune container in api V2Sujil022020-04-15
| | | | | | | | | | | | | | Adds ability to prune containers for v2. Adds client side prompt with force flag and filters options to prune. Signed-off-by: Sujil02 <sushah@redhat.com>
* | podmanv2 eventsBrent Baude2020-04-15
|/ | | | | | add the ability to monitor events Signed-off-by: Brent Baude <bbaude@redhat.com>
* Merge pull request #5813 from baude/v2edtests2OpenShift Merge Robot2020-04-15
|\ | | | | More system test fixes on regressions
| * More system test fixes on regressionsBrent Baude2020-04-14
| | | | | | | | | | | | Fix more regressions between v1 and v2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | podmanV2: fix nil derefValentin Rothberg2020-04-15
|/ | | | | | | Fix a typo when looking up a flag causing a nil deref and all commands to fail. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* Add support for the global flags and config filesJhon Honce2020-04-14
| | | | | | | Note: This PR doesn't provide full rootless support that will be addressed in a future PR Signed-off-by: Jhon Honce <jhonce@redhat.com>
* 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 #5804 from rhatdan/seccompOpenShift Merge Robot2020-04-14
|\ \ | | | | | | Need to set security options even if user does not specify options
| * | Need to set security options even if user does not specify optionsDaniel J Walsh2020-04-13
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@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>
* | | 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>
* | | 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