summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #5909 from abitrolly/patch-2OpenShift Merge Robot2020-04-21
|\ | | | | gate/README.md Fix link to .cirrus.yml and reword
| * gate/README.md Fix link to .cirrus.yml and rewordAnatoli Babenia2020-04-21
| | | | | | | | Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
* | Merge pull request #5919 from rhatdan/v2OpenShift Merge Robot2020-04-21
|\ \ | | | | | | Lots more fixes for V2 conversion.
| * | Handle hostname flag from clientDaniel J Walsh2020-04-21
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | Add support for devices from command lineDaniel J Walsh2020-04-21
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | Fix handling of CGroupsParent and CGroupsModeDaniel J Walsh2020-04-21
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | Throw error on IPv6 ip addressesDaniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | | | Podman does not currently support IPv6 addresses. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5925 from rhatdan/containers.confOpenShift Merge Robot2020-04-21
|\ \ \ | | | | | | | | Bump to github.com/containers/common to v0.9.2
| * | | Bump to github.com/containers/common to v0.9.2Daniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | This allows us to fix issues with people with old libpod.conf Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #5851 from jwhonce/wip/jsonOpenShift Merge Robot2020-04-21
|\ \ \ \ | | | | | | | | | | Provide a json variable pointing to a configured json API
| * | | | Provide a json variable pointing to a configured json APIJhon Honce2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All commands now using the same instance of json API * `json` variable created in each package to prevent `encoding/json` from being re-introduced Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | | Merge pull request #5916 from giuseppe/userns-autoOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | | | | | | | | | | | | v2, podman: plug --userns=auto
| * | | | | v2, podman: plug --userns=autoGiuseppe Scrivano2020-04-21
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | --userns=auto tests pass now. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | Merge pull request #5894 from baude/v2testOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | | | | | | | | | | | | Enable integration tests (skip fails)
| * | | | | Force integration tests to passBrent Baude2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failing tests are now skipped and we should work from this. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | | Merge pull request #5905 from mheon/redo_namespacesOpenShift Merge Robot2020-04-21
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Modify namespace generation code for specgen
| * | | | | Modify namespace generation code for specgenMatthew Heon2020-04-21
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Namespaces have now been changed to properly handle all cases. Spec handling code for namespaces was consolidated in a single function. Still missing: - Image ports - Pod namespaces likely still broken in Podmanv2 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | | | Merge pull request #5917 from vrothberg/v2-login-logoutOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | |/ / / / |/| | | | v2: implement log{in,out}
| * | | | v2: implement log{in,out}Valentin Rothberg2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement podman login and logout. Smoke tests were successful but the system tests are currently failing as we seem unable to run a registry at the moment. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | | | Merge pull request #5911 from giuseppe/cgroup-skip-unsetOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | | | | | | | | | | | | podman: do not set empty cgroup limit blocks
| * | | | | podman: do not set empty cgroup limit blocksGiuseppe Scrivano2020-04-21
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | refactor cgroup limits in their own function. If there are no limits set avoid to set the block. Basic rootless containers work now. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | Merge pull request #5923 from baude/mybadOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | |_|_|_|/ |/| | | | my bad
| * | | | my badBrent Baude2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | typos in previous pr are causing panics Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5900 from baude/v2cpOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | |/ / / / |/| | | | podmanv2 cp
| * | | | podmanv2 cpBrent Baude2020-04-21
| | |_|/ | |/| | | | | | | | | | | | | | | | | | enable podman to copy files between container and host, local mode only. this is a straight port of v1 code to v2. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5921 from baude/v2imageepOpenShift Merge Robot2020-04-21
|\ \ \ \ | | | | | | | | | | add entrypoint from image where needed
| * | | | add entrypoint from image where neededBrent Baude2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if the image specifies both the image and entrypoint, we need to account for that and preprend the entrypoint to the command. this only happens if no user command and entrypoint were supplied. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5920 from edsantiago/chcon_podman_remoteOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | | | | | | | | | | | | Makefile: fix broken chcon for podman-remote
| * | | | | Makefile: fix broken chcon for podman-remoteEd Santiago2020-04-21
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The install.remote target looks like it was copy-pasted from install.bin and missed a spot. Signed-off-by: Ed Santiago <santiago@redhat.com>
* | | | | Merge pull request #5912 from giuseppe/v2-rlimitsOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | |_|/ / / |/| | | | v2, pkg: implement rlimits
| * | | | pkg: implement rlimitsGiuseppe Scrivano2020-04-21
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #5908 from baude/v2subsOpenShift Merge Robot2020-04-21
|\ \ \ \ | | | | | | | | | | podmanv2 container subcommands
| * | | | podmanv2 container subcommandsBrent Baude2020-04-21
| | |/ / | |/| | | | | | | | | | | | | | | | | | add container subcommands with example text that has proper context. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5902 from baude/v2portOpenShift Merge Robot2020-04-21
|\ \ \ \ | |/ / / |/| | | v2podman port
| * | | v2podman portBrent Baude2020-04-21
|/ / / | | | | | | | | | | | | | | | add port command to podman. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5910 from abitrolly/shared-depsOpenShift Merge Robot2020-04-21
|\ \ \ | | | | | | | | Move Fedora 31 dependencies for building podman into separate file
| * | | Move Fedora dependencies for building podman into separate fileAnatoli Babenia2020-04-21
| |/ / | | | | | | | | | | | | | | | This ones listed here are actual for Fedora 31. Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
* | | Merge pull request #5913 from rhatdan/v2OpenShift Merge Robot2020-04-21
|\ \ \ | |_|/ |/| | More fixes for podman create tests
| * | Handle annotations passed in via the clientDaniel J Walsh2020-04-21
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | Need to set the EntrypointDaniel J Walsh2020-04-21
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | Fix podman inspect to return errors on failureDaniel J Walsh2020-04-21
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5647 from rhatdan/containers.confOpenShift Merge Robot2020-04-21
|\ \ \ | |/ / |/| | Update podmanV2 to use containers.conf
| * | Add support for containers.conf to podmanimagesDaniel J Walsh2020-04-20
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | Update podman to use containers.confDaniel J Walsh2020-04-20
| | | | | | | | | | | | | | | | | | | | | | | | Add more default options parsing Switch to using --time as opposed to --timeout to better match Docker. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5875 from rhatdan/networkOpenShift Merge Robot2020-04-21
|\ \ \ | | | | | | | | Cleanup network option parsing
| * | | Cleanup network option parsingDaniel J Walsh2020-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were not handling the parsing of --ip. This pr adds validation checks and now will support the flag. Move validation to the actual parsing of the network flags. We should only parse the dns flags if the user changed them. We don't want to pass default options if set in containers.conf to the server. Potential for duplicating defaults. Add support for --dns-opt flag passing Begin handling of --network flag, although we don't have a way right now to translate a string into a specgen.Namespace. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #5863 from vrothberg/v2-fix-rmiOpenShift Merge Robot2020-04-21
|\ \ \ \ | |_|_|/ |/| | | podman rmi: refactor logic
| * | | podman rmi: refactor logicValentin Rothberg2020-04-21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this commit was initially meant to fix #5847, it has turned into a bigger refactoring which I did not manage to break into smaller pieces: * Fix #5847 by refactoring the image-removal logic. * Make the api handler for image-removal use the ABI code. This way, both (i.e., ABI and Tunnel) end up using the same code. Achieving this code share required to move some code around to prevent circular dependencies. * Everything in pkg/api (excluding pkg/api/types) must now only be accessed from code using `ABISupport`. * Avoid imports from entities on handlers to prevent circular dependencies. * Move `podman system service` logic into `cmd` to prevent circular dependencies - it depends on pkg/api. * Also remove the build header from infra/abi files. It will otherwise confuse swagger and other tools; errors we cannot fix as go doesn't expose a build-tag env variable. Fixes: #5847 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | Merge pull request #5883 from abitrolly/patch-3OpenShift Merge Robot2020-04-20
|\ \ \ | | | | | | | | Return labes in API (fixes #5882)
| * | | Return labes in API (fixes #5882)Anatoli Babenia2020-04-20
| |/ / | | | | | | | | | Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>