summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #6179 from mheon/add_hairpinOpenShift Merge Robot2020-05-22
|\ | | | | Add HairpinMode to our CNI configs
| * Add HairpinMode to our CNI configsMatthew Heon2020-05-11
| | | | | | | | | | | | | | This may resolve some issues with routing traffic between containers using the host's IP. Signed-off-by: Matthew Heon <mheon@redhat.com>
* | Merge pull request #6330 from rhatdan/startOpenShift Merge Robot2020-05-22
|\ \ | | | | | | Fix podman-remote start tests
| * | Fix podman-remote start testsDaniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | Also enable some tests for remote by removing -l flag. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #6275 from rhatdan/VERSIONOpenShift Merge Robot2020-05-22
|\ \ \ | | | | | | | | Display human build date in podman info
| * | | podman version --format ... was not workingDaniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the podman --version --format command. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | | Display human build date in podman infoDaniel J Walsh2020-05-21
| |/ / | | | | | | | | | | | | | | | | | | Currently we are displaying the Seconds since EPOCH this will change to displaying date, similar to `podman version` Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #6329 from rhatdan/testOpenShift Merge Robot2020-05-21
|\ \ \ | | | | | | | | Turn on more remote tests
| * | | Turn on more remote testsDaniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #6326 from rhatdan/stopOpenShift Merge Robot2020-05-21
|\ \ \ \ | |_|/ / |/| | | Fix podman-remote stop --all to handle not running containers
| * | | Fix podman-remote stop --all to handle not running containersDaniel J Walsh2020-05-21
| |/ / | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #6224 from ↵OpenShift Merge Robot2020-05-21
|\ \ \ | |/ / |/| | | | | | | | containers/dependabot/go_modules/github.com/opencontainers/go-digest-1.0.0 Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
| * | Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0Daniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/opencontainers/go-digest](https://github.com/opencontainers/go-digest) from 1.0.0-rc1 to 1.0.0. - [Release notes](https://github.com/opencontainers/go-digest/releases) - [Commits](https://github.com/opencontainers/go-digest/compare/v1.0.0-rc1...v1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #6323 from rhatdan/shrinkOpenShift Merge Robot2020-05-21
|\ \ \ | | | | | | | | Remove github.com/libpod/libpod from cmd/pkg/podman
| * | | Remove github.com/libpod/libpod from cmd/pkg/podmanDaniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By moving a couple of variables from libpod/libpod to libpod/libpod/define I am able shrink the podman-remote-* executables by another megabyte. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #6320 from rhatdan/skipOpenShift Merge Robot2020-05-21
|\ \ \ \ | | | | | | | | | | Start testing with cross compilation
| * | | | Start testing with cross compilationDaniel J Walsh2020-05-21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Add missing man page links for podman-image-search and podman-image-diff Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #6316 from ↵OpenShift Merge Robot2020-05-21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.2 Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.2
| * | | | Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.2Daniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.12.0 to 1.12.2. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v1.12.0...v1.12.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #6314 from ↵OpenShift Merge Robot2020-05-21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | containers/dependabot/go_modules/github.com/containers/storage-1.20.1 Bump github.com/containers/storage from 1.19.2 to 1.20.1
| * | | | | Bump github.com/containers/storage from 1.19.2 to 1.20.1Daniel J Walsh2020-05-21
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.19.2 to 1.20.1. - [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.19.2...v1.20.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #6313 from sujil02/pod-create-idOpenShift Merge Robot2020-05-21
|\ \ \ \ \ | |_|_|/ / |/| | | | Fixes podman pod create --pod-id-file #6292
| * | | | Fixes podman pod create --pod-id-file #6292Sujil022020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prints pod id to file and adds relevant test case Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | | Merge pull request #6322 from QiWang19/untag-remote-testOpenShift Merge Robot2020-05-21
|\ \ \ \ \ | | | | | | | | | | | | remote untag test
| * | | | | remote untag testQi Wang2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable v2remote untag test. Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | | | | Merge pull request #6319 from rhatdan/exitOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Get proper exit code when running or starting a container.
| * | | | | Get proper exit code when running or starting a container.Daniel J Walsh2020-05-21
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | When we finish running a container, we need to call wait in order to get the exit code from the container. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #6312 from rhatdan/imageOpenShift Merge Robot2020-05-21
|\ \ \ \ \ | | | | | | | | | | | | Fix remote handling of podman images calls
| * | | | | Handle filters correctly for podman pruneDaniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | | | | Fix remote handling of podman images callsDaniel J Walsh2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable three more tests Fix handling of image filters Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | Merge pull request #6318 from sujil02/sysprune-testOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | Enable system prune test remote client
| * | | | | | Enable system prune test remote clientSujil022020-05-21
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the use of lastest flags as not supported in remote client and latest flag alredy teseted in indivisual pod start stop test. Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | | | Merge pull request #6281 from rhatdan/fipsOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix mountpont in SecretMountsWithUIDGID
| * | | | | | Fix mountpont in SecretMountsWithUIDGIDDaniel J Walsh2020-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In FIPS Mode we expect to work off of the Mountpath not the Rundir path. This is causing FIPS Mode checks to fail. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | | Merge pull request #6308 from giuseppe/update-seccomp-containers-golangOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vendor: update seccomp/containers-golang to v0.4.1
| * | | | | | | vendor: update seccomp/containers-golang to v0.4.1Giuseppe Scrivano2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | | | | Merge pull request #6280 from mheon/switch_off_noexecOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Turn off 'noexec' option by default for named volumes
| * | | | | | | Turn off 'noexec' option by default for named volumesMatthew Heon2020-05-20
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously enforced this for security reasons, but as Dan has explained on several occasions, it's not very valuable there (it's trivially easy to bypass) and it does seriously annoy folks trying to use named volumes. Flip the default from 'on' to 'off'. Signed-off-by: Matthew Heon <mheon@redhat.com>
* | | | | | | Merge pull request #6310 from mheon/update_api_tutorialOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Update Derivative API tutorial to reflect the HTTP API
| * | | | | | | Update Derivative API tutorial to reflect the HTTP APIMatthew Heon2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once the HTTP API becomes stable, I think we want to drive people towards using it, as opposed to directly calling our CLI (when possible). Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | | | | | | Merge pull request #6199 from rhatdan/manOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | [ci:docs] Update troubleshoot page
| * | | | | | | | Update troubleshoot pageDaniel J Walsh2020-05-19
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add information about podman with SELinux and using container_init_t. Add informantion about Centos7 as well as RHEL7 init containers not working on a cgroups V2 system. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | | | Merge pull request #6304 from baude/v2remotehctestsOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Fix remote integration for healthchecks
| * | | | | | | Fix remote integration for healthchecksBrent Baude2020-05-20
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the one remaining test that is still skipped do to missing exec function Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | | | Merge pull request #6270 from mheon/detached_execOpenShift Merge Robot2020-05-21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Implement detached exec
| * | | | | | | Add a test for detached execMatthew Heon2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | | | | | Update manpage for `podman exec` to include detach flagMatthew Heon2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | | | | | Enable cleanup processes for detached execMatthew Heon2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cleanup command creation logic is made public as part of this and wired such that we can call it both within SpecGen (to make container exit commands) and from the ABI detached exec handler. Exit commands are presently only used for detached exec, but theoretically could be turned on for all exec sessions if we wanted (I'm declining to do this because of potential overhead). I also forgot to copy the exit command from the exec config into the ExecOptions struct used by the OCI runtime, so it was not being added. There are also two significant bugfixes for exec in here. One is for updating the status of running exec sessions - this was always failing as I had coded it to remove the exit file *before* reading it, instead of after (oops). The second was that removing a running exec session would always fail because I inverted the check to see if it was running. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | | | | | Add ability to clean up exec sessions with cleanupMatthew Heon2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to be able to use cleanup processes to remove exec sessions as part of detached exec. This PR adds that ability. A new flag is added to `podman container cleanup`, `--exec`, to specify an exec session to be cleaned up. As part of this, ensure that `ExecCleanup` can clean up exec sessions that were running, but have since exited. This ensures that we can come back to an exec session that was running but has since stopped, and clean it up. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | | | | | Add CLI frontend for detached execMatthew Heon2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new ContainerEngine method for creating a detached exec session, and wire in the frontend code to do this. As part of this, move Streams out of ExecOptions to the function signature in an effort to share the struct between both methods. Fixes #5884 Signed-off-by: Matthew Heon <matthew.heon@pm.me>