7f69669a3a
Hidden remote flags can be nil
...
The pull command has several options that are hidden for the remote client. In that case, when checking to see if the flag has been flipped with .Changed, we get a nil pointer error. Using IsSet is tolerant of this.
Fixes : #4706
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-26 14:53:22 -06:00
4aeb25d5f2
docs: add boolean values and defaults to "man podman-history" options
...
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-26 14:13:54 -05:00
c28af15932
Merge pull request #4979 from rpjday/rpjday/system_prune
...
docs: fix system-prune markdown; reword for clarity
2020-01-26 10:18:27 -08:00
42f48245ce
Merge pull request #4977 from rpjday/rpjday/man_pages
...
docs: clean up "man podman-rm", "man podman-rmi"
2020-01-26 10:02:20 -08:00
bb66d78b2f
docs: remove reference to "sudo" in "podman exists" examples
...
In both of "podman {container,image} exists" man pages, there
are superfluous uses of "sudo" in examples -- get rid of them.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-26 12:43:26 -05:00
40d36b1cf1
Merge pull request #4975 from agners/add-openembedded-to-install.md
...
install.md: mention availability of OpenEmbedded recipes
2020-01-26 09:28:12 -08:00
5871446e8d
docs: fix system-prune markdown; reword for clarity
...
In addition to tweaking markdown, reword the explanation of
the "--volumes" option for clarity.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-26 07:46:21 -05:00
3ff2ea329b
docs: clean up "man podman-rm", "man podman-rmi"
...
Standardize markdown for options and commands, and add leading
dollar signs to emphasize commands being run.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-26 07:16:16 -05:00
d7e99b04b9
Merge pull request #4933 from rpjday/docs/markdown/inspect
...
markdown: reword 'podman-inspect' to properly explain '--size'
2020-01-26 03:00:31 -08:00
5b71056cf6
install.md: mention availability of OpenEmbedded recipes
...
OpenEmbedded is a build framework to build an embedded Linux
distribution. Podman recipes are available in the meta-virtualization
layer.
Signed-off-by: Stefan Agner <stefan@agner.ch>
2020-01-26 11:15:21 +01:00
2557cdb4b2
Cleanup man pages exit code descriptions
...
The conversion of markdown to man pages is causing "_" to cover entire lines.
This PR cleans this up and fixes some of the english.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-01-26 08:53:52 +01:00
c21445d73d
Merge pull request #4926 from TomSweeneyRedHat/dev/tsweeney/fixsystemdf
...
Fix example format in system df man
2020-01-25 23:35:33 -08:00
d07f611885
Merge pull request #4965 from baude/reviewcorrections3
...
APIv2 review corrections #3
2020-01-25 23:23:39 -08:00
689da532fa
Merge pull request #4941 from containers/dependabot/go_modules/gopkg.in/yaml.v2-2.2.8
...
build(deps): bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8
2020-01-25 23:23:32 -08:00
c1e2698f81
Merge pull request #4952 from mheon/inspect_default_shares
...
Default CPUShares in Inspect are 1024
2020-01-25 23:12:57 -08:00
0800ab4f65
Merge pull request #4968 from vrothberg/fork-camelcase
...
fork fatih/camelcase
2020-01-25 22:05:02 -08:00
5da70b04dd
APIv2 review corrections #3
...
The third pass of corrections for the APIv2.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-25 15:09:09 -06:00
e3ad92f85d
camelcase: fix lint reports
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-25 09:48:37 +01:00
ac8e6c9910
fork fatih/camelcase
...
faith/camelcase has been archived and is no longer maintained.
The package is sufficiently small and self-contained enough to
maintain it in libpod.
Fixes : #4783
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-25 09:42:48 +01:00
975854ad5c
Merge pull request #4966 from jwhonce/wip/filters
...
[CI:DOCS] Refactor time parsing to be more liberal in accepted values
2020-01-24 10:57:30 -08:00
9a2e275abd
Refactor time parsing to be more liberal in accepted values
...
* Added helper function to allow parsing from filters
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-01-24 10:11:05 -07:00
81e59a742b
Merge pull request #4958 from jwhonce/wip/filters
...
[CI:DOCS] Add query parameter converters for complex types
2020-01-24 06:56:55 -08:00
c49bc1f176
apparmor: allow receiving of signals from 'podman kill'
...
In newer kernels, AppArmor will reject attempts to send signals to a
container because the signal originated from outside of that AppArmor
profile. Correct this by allowing all unconfined signals to be received.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-24 15:34:47 +01:00
9634e7eef7
Add query parameter converters for complex types
...
* Add converter for URL query parameters of type map[string][]string
* Add converter for URL query parameters of type time.Time
* Added function to allocate and configure schema.Decoder for API use
* Updated API handlers to leverage new converters, and correct handler
code for filter type
An encoding example for a client using filters:
v := map[string][]string{
"dangling": {"true"},
}
payload, err := jsoniter.MarshalToString(v)
if err != nil {
panic(err)
}
payload = "?filters=" + url.QueryEscape(payload)
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-01-23 16:32:00 -07:00
5bad873c4c
Merge pull request #4953 from baude/reviewcorrections2
...
Review corrections pass #2
2020-01-23 11:12:36 -08:00
cf7be58b2c
Review corrections pass #2
...
Add API review comments to correct documentation and endpoints. Also, add a libpode prune method to reduce code duplication. Only used right now for the API but when the remote client is wired, we will switch over there too.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-23 11:58:26 -06:00
9d68ba5945
build(deps): bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.7...v2.2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 10:50:43 -05:00
8beeb067aa
Merge pull request #4948 from vrothberg/seccomp-label
...
seccomp policy: expect profile in config label
2020-01-23 07:31:11 -08:00
eb229d526c
Default CPUShares in Inspect are 1024
...
This is purely a display change - we weren't initializing the
default value to display for the CPUShares field, which defaults
to 1024.
Fixes #4822
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 09:46:11 -05:00
6518421f89
Merge pull request #4939 from containers/dependabot/go_modules/github.com/pkg/errors-0.9.1
...
build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1
2020-01-23 06:41:13 -08:00
2321a49195
Merge pull request #4949 from containers/dependabot/go_modules/github.com/containers/conmon-2.0.10+incompatible
...
build(deps): bump github.com/containers/conmon from 2.0.9+incompatible to 2.0.10+incompatible
2020-01-23 06:15:24 -08:00
f037f24b67
Merge pull request #4947 from containers/dependabot/go_modules/github.com/containers/storage-1.15.7
...
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
2020-01-23 06:15:18 -08:00
8098cbbee1
Merge pull request #4946 from containers/dependabot/go_modules/github.com/vishvananda/netlink-1.1.0
...
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
2020-01-23 06:15:11 -08:00
c5f3899cb4
Merge pull request #4943 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.22.1+incompatible
...
build(deps): bump github.com/uber/jaeger-client-go from 2.20.1+incompatible to 2.22.1+incompatible
2020-01-23 06:15:04 -08:00
4113e7152e
Merge pull request #4942 from containers/dependabot/go_modules/github.com/json-iterator/go-1.1.9
...
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
2020-01-23 06:14:58 -08:00
e6cf0ec857
Merge pull request #4945 from containers/dependabot/go_modules/github.com/containernetworking/plugins-0.8.5
...
build(deps): bump github.com/containernetworking/plugins from 0.8.2 to 0.8.5
2020-01-23 06:04:00 -08:00
91fb903b72
Merge pull request #4940 from containers/dependabot/go_modules/k8s.io/api-0.17.2
...
build(deps): bump k8s.io/api from 0.17.0 to 0.17.2
2020-01-23 06:03:53 -08:00
052bcfc80a
Merge pull request #4938 from openSUSE/latest-version
...
Update README.md to reference latest version
2020-01-23 05:39:08 -08:00
103b5e7807
markdown: fix grammar/formatting, standardize on markdown
...
While fixing grammar and list formatting issues, standardize on
markdown as follows:
- commands are marked by '**'
- files are marked by backquotes
- list items are marked with leading '-'
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-23 06:59:21 -05:00
c9eeecab89
build(deps): bump k8s.io/api from 0.17.0 to 0.17.2
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.17.0 to 0.17.2.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.17.0...v0.17.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:39:31 -05:00
88e340c451
build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1
...
Bumps [github.com/pkg/errors](https://github.com/pkg/errors ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases )
- [Commits](https://github.com/pkg/errors/compare/v0.9.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:35:39 -05:00
8151d7ae90
build(deps): bump github.com/containers/conmon
...
Bumps [github.com/containers/conmon](https://github.com/containers/conmon ) from 2.0.9+incompatible to 2.0.10+incompatible.
- [Release notes](https://github.com/containers/conmon/releases )
- [Changelog](https://github.com/containers/conmon/blob/master/changelog.txt )
- [Commits](https://github.com/containers/conmon/compare/v2.0.9...v2.0.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:22:52 -05:00
4f5d92f651
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/1.1.8...v1.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:18:23 -05:00
fd36a33dc3
build(deps): bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.20.1+incompatible to 2.22.1+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases )
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.20.1...v2.22.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:12:15 -05:00
49bd58e29a
build(deps): bump github.com/containernetworking/plugins
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 0.8.2 to 0.8.5.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v0.8.2...v0.8.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:07:24 -05:00
1531509542
seccomp policy: expect profile in config label
...
Move the seccomp profile from a manifest annotation to a config label.
This way, we can support it for Docker images as well and provide an
easy way to add that data via Dockerfiles.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-23 10:06:43 +01:00
9f927c4709
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
...
Bumps [github.com/vishvananda/netlink](https://github.com/vishvananda/netlink ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/vishvananda/netlink/releases )
- [Commits](https://github.com/vishvananda/netlink/compare/v1.0.0...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:00:57 -05:00
587a25fd8a
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.5 to 1.15.7.
- [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.15.5...v1.15.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 03:49:20 -05:00
d780c0a23c
Update README.md to reference latest version
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-23 09:15:22 +01:00
ac3a6b80b0
Merge pull request #4936 from jwhonce/wip/swagger2
...
[CI:DOCS] Enable swagger validation for each PR
2020-01-22 17:43:57 -05:00