summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add example of fuse-overlay to podman system resetDaniel J Walsh2020-11-10
| | | | | | | | | | | | A fairly common mistake users are hitting is running rootless podman without installing fuse-overlay. Then they want to reset storage. Sometimes they modify storage.conf first and `podman system reset` fails. This PR attempts to explain how to convert properly. Fixes: https://github.com/containers/podman/issues/7446 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* Merge pull request #8284 from edsantiago/batsOpenShift Merge Robot2020-11-10
|\ | | | | system tests: skip journald tests on RHEL8
| * system tests: skip journald tests on RHEL8Ed Santiago2020-11-09
| | | | | | | | | | | | | | | | (actually, on any system exhibiting the symptom wherein journalctl fails due to insufficient permissions, which for all practical purposes means only RHEL8) Signed-off-by: Ed Santiago <santiago@redhat.com>
* | Merge pull request #8256 from rhatdan/manOpenShift Merge Robot2020-11-09
|\ \ | | | | | | [CI:DOCS] Update podman build man page to match buildah bud man page
| * | Update podman build man page to match buildah bud man pageDaniel J Walsh2020-11-09
| | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #8236 from jwhonce/jira/run-976OpenShift Merge Robot2020-11-09
|\ \ \ | | | | | | | | Update CI tests to run python docker library against API
| * | | Update CI tests to run python docker library against APIJhon Honce2020-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update reference to docker-py to docker to reflect change in library name * Update tests to create storage sandbox * Enable all tests that endpoints support * Refactor containers/{id}/rename to return 404 not 500 * Refactor tests to use quay.io vs. docker.io Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | Merge pull request #8276 from Luap99/search-jsonOpenShift Merge Robot2020-11-09
|\ \ \ \ | |_|/ / |/| | | Add support for podman search --format json
| * | | Add support for podman search --format jsonPaul Holzinger2020-11-09
| |/ / | | | | | | | | | | | | | | | Fixes #8274 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
* | | Merge pull request #8282 from jwhonce/issues/7942OpenShift Merge Robot2020-11-09
|\ \ \ | |_|/ |/| | Stop binding layer from changing line endings
| * | Stop binding layer from changing line endingsJhon Honce2020-11-09
| |/ | | | | | | | | | | | | The binding layer attempted to help the CLI, which just made things worse. Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | Merge pull request #8283 from kierdavis/docsOpenShift Merge Robot2020-11-09
|\ \ | | | | | | [CI:DOCS] man pages: add an example, tweak formatting
| * | podman-pull.1.md: add example for pulling an image by hashKier Davis2020-11-09
| | | | | | | | | | | | Signed-off-by: Kier Davis <me@kierdavis.com>
| * | podman-import.1.md: fix paragraph formattingKier Davis2020-11-09
| | | | | | | | | | | | Signed-off-by: Kier Davis <me@kierdavis.com>
| * | podman-import.1.md: fix shell syntaxKier Davis2020-11-09
|/ / | | | | | | Signed-off-by: Kier Davis <me@kierdavis.com>
* | Merge pull request #8245 from baude/rootlesscreatecompatOpenShift Merge Robot2020-11-09
|\ \ | |/ |/| rootless container creation settings
| * rootless container creation settingsbaude2020-11-05
| | | | | | | | | | | | | | | | when running container creation as rootless on the compatibility layer, we need to make sure settings are not being done for memory and memory swappiness. Signed-off-by: baude <bbaude@redhat.com>
* | Merge pull request #8264 from joelsmith/masterOpenShift Merge Robot2020-11-06
|\ \ | | | | | | Show error on bad name filter in podman ps
| * | Show error on bad name filter in podman psJoel Smith2020-11-06
|/ / | | | | | | Signed-off-by: Joel Smith <joelsmith@redhat.com>
* | Merge pull request #8241 from rhatdan/tmpfileOpenShift Merge Robot2020-11-06
|\ \ | | | | | | Use /tmp/podman-run-* for backup XDG_RUNTIME_DIR
| * | Use /tmp/podman-run-* for backup XDG_RUNTIME_DIRDaniel J Walsh2020-11-04
| | | | | | | | | | | | | | | | | | | | | We need to block systemd from cleaning up this directory by dropping a /usr/lib/tmpfiles.d/podman.conf file in place. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #8260 from mbargull/check-scripts-env-ccOpenShift Merge Robot2020-11-06
|\ \ \ | | | | | | | | Use CPP, CC and flags in dep check scripts
| * | | Use CPP, CC and flags in dep check scriptsMarcel Bargull2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow build systems without standard cc to successfully run the dependency checking helper scripts from the Makefile. This supports custom compilers specified by the common CC environment variable, preprocessors given as CPP and additional preprocessor flags from CPPFLAGS. Additional flags from CFLAGS and LDFLAGS are considered for compiling/linking. Overall, this facilitates cross-compilation and similar setups. Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
* | | | Merge pull request #8255 from rhatdan/readmeOpenShift Merge Robot2020-11-06
|\ \ \ \ | |/ / / |/| | | [ci:docs] Fix link to point at correct content
| * | | Fix link to point at correct contentDaniel J Walsh2020-11-05
|/ / / | | | | | | | | | | | | | | | | | | | | | Version of runtime.spec was incorrect. Fixes: https://github.com/containers/podman/issues/8244 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #8254 from yangm97/adopt-existing-volumesOpenShift Merge Robot2020-11-06
|\ \ \ | | | | | | | | fix: allow volume creation when the _data directory already exists
| * | | fix: allow volume creation when the _data directory already existsYan Minari2020-11-05
| | |/ | |/| | | | | | | | | | | | | This restores pre f7e72bc86aff2ff986290f190309deceb7f22099 behavior Signed-off-by: Yan Minari <yangm97@gmail.com>
* | | Merge pull request #8246 from ↵OpenShift Merge Robot2020-11-06
|\ \ \ | | | | | | | | | | | | | | | | containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.11.0 Bump github.com/rootless-containers/rootlesskit from 0.10.1 to 0.11.0
| * | | Bump github.com/rootless-containers/rootlesskit from 0.10.1 to 0.11.0dependabot-preview[bot]2020-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.10.1 to 0.11.0. - [Release notes](https://github.com/rootless-containers/rootlesskit/releases) - [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.10.1...v0.11.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #8248 from alvistack/master-linux-amd64OpenShift Merge Robot2020-11-06
|\ \ \ \ | |_|/ / |/| | | Update nix pin with `make nixpkgs`
| * | | Update nix pin with `make nixpkgs`Wong Hoi Sing Edison2020-11-05
| |/ / | | | | | | | | | Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
* | | Merge pull request #8249 from marcnuri-forks/fix/doc-typoOpenShift Merge Robot2020-11-05
|\ \ \ | | | | | | | | [CI:DOCS] fix: podman-system-service doc time is seconds
| * | | fix: podman-system-service doc time is secondsMarc Nuri2020-11-05
| | | | | | | | | | | | | | | | Signed-off-by: Marc Nuri <marc@marcnuri.com>
* | | | Merge pull request #8185 from rhatdan/mountOpenShift Merge Robot2020-11-05
|\ \ \ \ | |/ / / |/| | | Add support for mounting external containers
| * | | Add support for mounting external containersDaniel J Walsh2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continue progress on use of external containers. This PR adds the ability to mount, umount and list the storage containers whether they are in libpod or not. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #8205 from rhatdan/homeOpenShift Merge Robot2020-11-05
|\ \ \ \ | |_|/ / |/| | | Only use container/storage/pkg/unshare.HomeDir()
| * | | Only use container/storage/pkg/homedir.Get()Daniel J Walsh2020-11-04
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are resolving the homedir of the user in many different places. This Patch consolodates them to use container/storage version. This PR also fixes a failure mode when the homedir does not exists, and the user sets a root path. In this situation podman should continue to work. Podman does not require a users homedir to exist in order to run. Finally the rootlessConfigHomeDirOnce and rootlessRuntimeDirOnce were broken, because if an error ever happened, they would not be recorded the second time, and "" would be returned as the path. Fixes: https://github.com/containers/podman/issues/8131 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #8238 from joelsmith/masterOpenShift Merge Robot2020-11-05
|\ \ \ | |/ / |/| | Use regex for "pod ps" name filter to match "ps" behavior
| * | Use regex for "pod ps" name filter to match "ps" behaviorJoel Smith2020-11-03
| | | | | | | | | | | | Signed-off-by: Joel Smith <joelsmith@redhat.com>
* | | Merge pull request #8074 from cevich/new_f33_imagesOpenShift Merge Robot2020-11-04
|\ \ \ | | | | | | | | Cirrus: Use F33 VM image
| * | | Cirrus: Use F33beta VM imageChris Evich2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes disk-space increase for all Fedora images to accommodate the static-build job disk space requirements. This job substantially leverages task-cache, which was previously failing to restore early on in the Cirrus-CI task setup, due to disk-space limitations. Also simplify .cirrus.yml slightly by removing an unncessary setup and run directory change step. Signed-off-by: Chris Evich <cevich@redhat.com>
| * | | Cirrus: Simplify artifact collectionChris Evich2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On several occasions, fatal task failures were observed during the upload of artifacts after a otherwise successful testing. Prior to this commit, most tasks were storing both logs and binary artifacts. Avoid possible major inconveniences of upload failures, by only collecting binary artifacts when necessary. Signed-off-by: Chris Evich <cevich@redhat.com>
| * | | Use ping from alpineChris Evich2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of this commit, in Fedora 33, without without `CAP_NET_ADMIN` and `CAP_NET_RAW`, require setting `net.ipv3.ping_group_range` in order for the `ping` command to work inside a container. However, not all images `ping` are created equal. For whatever reason, the busybox version in the busybox container image, does not function. Switch to the Alpine image's busybox ping, which seems to work fine. Signed-off-by: Chris Evich <cevich@redhat.com>
* | | | Merge pull request #8156 from mheon/add_net_aliases_dbOpenShift Merge Robot2020-11-04
|\ \ \ \ | |/ / / |/| | | Add network aliases for containers to DB
| * | | Add tests for network aliasesMatthew Heon2020-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of this, we need two new functions, for retrieving all aliases for a network and removing all aliases for a network, both required to test. Also, rework handling for some things the tests discovered were broken (notably conflicts between container name and existing aliases). Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | Add a way to retrieve all network aliases for a ctrMatthew Heon2020-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original interface only allowed retrieving aliases for a specific network, not for all networks. This will allow aliases to be retrieved for every network the container is present in, in a single DB operation. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | Add network aliases for containers to DBMatthew Heon2020-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the database backend for network aliases. Aliases are additional names for a container that are used with the CNI dnsname plugin - the container will be accessible by these names in addition to its name. Aliases are allowed to change over time as the container connects to and disconnects from networks. Aliases are implemented as another bucket in the database to register all aliases, plus two buckets for each container (one to hold connected CNI networks, a second to hold its aliases). The aliases are only unique per-network, to the global and per-container aliases buckets have a sub-bucket for each CNI network that has aliases, and the aliases are stored within that sub-bucket. Aliases are formatted as alias (key) to container ID (value) in both cases. Three DB functions are defined for aliases: retrieving current aliases for a given network, setting aliases for a given network, and removing all aliases for a given network. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | | Merge pull request #8239 from ↵OpenShift Merge Robot2020-11-04
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | containers/dependabot/go_modules/github.com/containers/storage-1.23.9 Bump github.com/containers/storage from 1.23.8 to 1.23.9
| * | | Bump github.com/containers/storage from 1.23.8 to 1.23.9dependabot-preview[bot]2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.23.8 to 1.23.9. - [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.23.8...v1.23.9) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #8225 from ↵OpenShift Merge Robot2020-11-04
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | debarshiray/wip/rishi/exec_test-use-containsubstring Improve error messages from failing tests