summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bump to v1.0.4v1.0.4Matthew Heon2019-08-05
| | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Backport rm --storage to Podman 1.0Matthew Heon2019-08-05
| | | | | | | | This amounted to a near-complete rewrite in parts, but in the end is a pretty simple change. The core functionality was already review in #3330. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #3604 from mheon/bump_1.0.3OpenShift Merge Robot2019-07-19
|\ | | | | Bump to v1.0.3
| * Bump to v1.0.4-devMatthew Heon2019-07-18
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Bump to v1.0.3v1.0.3Matthew Heon2019-07-18
|/ | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #3600 from mheon/backportsOpenShift Merge Robot2019-07-19
|\ | | | | Backport Exec memory leak fix
| * Remove exec PID files after use to prevent memory leaksMatthew Heon2019-07-18
|/ | | | | | | | | | | | We have another patch running to do the same for exit files, with a much more in-depth explanation of why it's necessary. Suffice to say that persistent files in tmpfs tied to container CGroups lead to significant memory allocations that last for the lifetime of the file. Based on a patch by Andrea Arcangeli (aarcange@redhat.com). Signed-off-by: Matthew Heon <mheon@redhat.com>
* Merge pull request #3431 from mheon/bump_1.0.2OpenShift Merge Robot2019-06-25
|\ | | | | Bump to v1.0.2
| * Bump to v1.0.3-devMatthew Heon2019-06-25
| | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
| * Bump to v1.0.2v1.0.2Matthew Heon2019-06-25
|/ | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
* Merge pull request #3427 from mheon/openstack_backportsOpenShift Merge Robot2019-06-25
|\ | | | | Openstack backports
| * Update c/storage to 67bf6c9b41967780f4bcb5725c00283ad6397679Matthew Heon2019-06-25
| | | | | | | | | | | | Pick up caching of overlay feature checks Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Avoid a read-write transaction on DB initMatthew Heon2019-06-25
| | | | | | | | | | | | | | | | Instead, use a less expensive read-only transaction to see if the DB is ready for use (it probably is), and only fire the expensive RW transaction if absolutely necessary. Signed-off-by: Matthew Heon <mheon@redhat.com>
| * Make configuration validation not require a DB commitMatthew Heon2019-06-25
| | | | | | | | | | | | | | | | | | If there are missing fields, we still require a commit, but that should not happen often. <Fixed conflicts for backport> Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Document exit codes for podman execDaniel J Walsh2019-06-25
| | | | | | | | | | | | | | | | | | Also fix podman run exit codes to show real messages when failures happen. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> <Fixed conflicts> Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * If container is not in correct state podman exec should exit with 126Daniel J Walsh2019-06-25
|/ | | | | | | | | | | | | | This way a tool can determine if the container exists or not, but is in the wrong state. Since 126 is documeted as: **_126_** if the **_contained command_** cannot be invoked It makes sense that the container would exit with this state. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> <Fixed conflicts> Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #2890 from nalind/manifest-updateOpenShift Merge Robot2019-04-11
|\ | | | | bump(github.com/containers/storage,github.com/containers/image)
| * bump(github.com/containers/storage,github.com/containers/image)Nalin Dahyabhai2019-04-10
|/ | | | | | | | Bump github.com/containers/storage and github.com/containers/image, to commits 06b6c2e4cf254f5922a79da058c94ac2a65bb92f and 93bced01015eb94bec4821df1876314be8197680, respectively. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
* Merge pull request #2891 from mheon/remove_paprOpenShift Merge Robot2019-04-10
|\ | | | | Remove Papr - it's no longer functional on this repo
| * Remove Papr - it's no longer functional on this repoMatthew Heon2019-04-10
|/ | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
* Merge pull request #2294 from mheon/v1.0_backportsOpenShift Merge Robot2019-02-11
|\ | | | | V1.0 backports
| * Up timeout for build_each_commitMatthew Heon2019-02-11
| | | | | | | | | | | | Lots of backports = lots of commits = long timeouts needed. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Bump to v1.0.2-devMatthew Heon2019-02-11
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Bump to v1.0.1v1.0.1Matthew Heon2019-02-11
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Fix tests after cherry-pickingMatthew Heon2019-02-08
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * rootless: join both userns and mount namespace with --podGiuseppe Scrivano2019-02-08
| | | | | | | | | | | | | | When --pod is specified then join both the user and mount namespace for the pod so we can initialize the storage. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * spec: add nosuid,noexec,nodev to ro bind mountGiuseppe Scrivano2019-02-08
| | | | | | | | | | | | | | runc fails to change the ro mode of a rootless bind mount if the other flags are not kept. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * rootless: create the userns immediately when creating a new podGiuseppe Scrivano2019-02-08
| | | | | | | | | | | | Closes: https://github.com/containers/libpod/issues/2124 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * Preserve exited state across rebootMatthew Heon2019-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of unconditionally resetting to ContainerStateConfigured after a reboot, allow containers in the Exited state to remain there, preserving their exit code in podman ps after a reboot. This does not affect the ability to use and restart containers after a reboot, as the Exited state can be used (mostly) interchangeably with Configured for starting and managing containers. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * libpod/image: Use RepoDigests() in Inspect()W. Trevor King2019-02-08
| | | | | | | | | | | | | | To get the more-robust handling from 0f6535cf (libpod/image: Use ParseNormalizedNamed in RepoDigests, 2019-01-08, #2106) here too. Signed-off-by: W. Trevor King <wking@tremily.us>
| * podman image prune -- implement all flagbaude2019-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we now, by default, only prune dangling images. if --all is passed, we prune dangling images AND images that do not have an associated containers. also went ahead and enabled the podman-remote image prune side of things. Fixes: #2192 Signed-off-by: baude <bbaude@redhat.com> MH: Removed dependence on remote-client adapter work to limit scale of changes Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Add varlink support for prunebaude2019-02-08
| | | | | | | | | | | | | | Add the ability to prune unused images using the varlink API. Signed-off-by: baude <bbaude@redhat.com>
| * Make --quiet work in podman create/runDaniel J Walsh2019-02-08
| | | | | | | | | | | | | | | | | | The --queit option is supposed to suppress the pulling messages when a new image is being pulled down. This patch fixes this issue. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * Show a better error message when podman info fails during a refreshRyan Gonzalez2019-02-08
| | | | | | | | Signed-off-by: Ryan Gonzalez <rymg19@gmail.com>
| * Vendor in latest opencontainers/selinuxDaniel J Walsh2019-02-08
| | | | | | | | | | | | | | | | | | | | | | This will now verify labels passed in by the user. Will also prevent users from accidently relabeling their homedir. podman run -ti -v ~/home/user:Z fedora sh Is not a good idea. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * rootless: fix --pid=host without --privilegedGiuseppe Scrivano2019-02-08
| | | | | | | | | | | | | | When using --pid=host don't try to cover /proc paths, as they are coming from the /proc bind mounted from the host. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * Do not unmarshal into c.config.SpecMatthew Heon2019-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | We try to keep c.config immutable, but Go doesn't really agree with me that things other than strings and ints can be immutable, so occasionally things like this slip through. When unmarshalling the OCI spec from disk, do it into a separate struct, to ensure we don't make lasting modifications to the spec in the Container struct (which could affect container restart). Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * podman-inspect: don't ignore errorsValentin Rothberg2019-02-08
| | | | | | | | | | | | | | | | | | Return errors when executing the --format templates. Otherwise, Podman will just silently ignore them and not print any output that could guide user into solving the issue. Fixes: #2159 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
| * Ensure that wait exits on state transitionMatthew Heon2019-02-08
|/ | | | | | | | | | | When waiting for a container, there is a long interval between status checks - plenty long enough for the container in question to start, then subsequently be cleaned up and returned to Created state to be restarted. As such, we can't wait on container state to go to Stopped or Exited - anything that is not Running or Paused indicates the container is dead. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #2146 from mheon/release_v1.0Matthew Heon2019-01-11
|\ | | | | Bump to v1.0
| * Update gitvalidation epochMatthew Heon2019-01-11
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Bump to v1.0.1-devMatthew Heon2019-01-11
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Bump to v1.0.0v1.0.0Matthew Heon2019-01-11
|/ | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #2144 from mheon/release_notes_v1.0OpenShift Merge Robot2019-01-11
|\ | | | | Update release notes for v1.0
| * Update release notes for v1.0Matthew Heon2019-01-11
|/ | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #2140 from mheon/fix_easyjsonOpenShift Merge Robot2019-01-11
|\ | | | | Regenerate EasyJSON to fix JSON issues
| * Remove clientintegration from MakefileMatthew Heon2019-01-11
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * Regenerate EasyJSON to fix JSON issuesMatthew Heon2019-01-11
|/ | | | Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #2133 from cevich/v1.0Matthew Heon2019-01-10
|\ | | | | Cirrus: Post-Merge Testing for v1.0 Branch
| * Cirrus: Post-Merge Testing for v1.0 BranchChris Evich2019-01-10
| | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>