Commit graph

23873 commits

Author SHA1 Message Date
Valentin Rothberg
633610769e run varlink_generate on Linux only
Running the `varlink_generate` make target on non-Linux machines is not
supported, so restrict it to Linux only.

Fixes: #4814
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-29 12:17:42 +01:00
OpenShift Merge Robot
b2ae45cda1
Merge pull request #5008 from baude/badconf
display file name of bad cni conf
2020-01-28 15:55:26 -08:00
OpenShift Merge Robot
50eaf6de92
Merge pull request #4973 from rhatdan/sort
Throw error on invalid sort value
2020-01-28 15:05:30 -08:00
Brent Baude
dce5b6176c display file name of bad cni conf
if one of the cni conf files is badly formatted or cannot be loaded, we now display the error as well as the filename.

Fixes: #2909
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-28 16:21:59 -06:00
OpenShift Merge Robot
66bb873390
Merge pull request #5007 from baude/disablelogin
rootless login/logout tests fail
2020-01-28 14:13:31 -08:00
Daniel J Walsh
38d2ef0cbd
Throw error on invalid sort value
We define the valid sort values, so we should throw an error
on invalid sort values.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-01-28 16:34:18 -05:00
OpenShift Merge Robot
bb7f72bbd6
Merge pull request #4997 from jwhonce/issues/4364
Update remote client bridge documentation.
2020-01-28 13:24:06 -08:00
Brent Baude
1c10cb30ea rootless login/logout tests fail
On F31 CI tests, we have uncovered several failing tests as rootless that need to be fixed.  For the interim, we are going to disable those tests.  Issue #5006 has been created to track and complete this.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-28 15:20:05 -06:00
OpenShift Merge Robot
63b1656f4c
Merge pull request #4993 from baude/playkubepull
honor pull policy in play kube
2020-01-28 12:35:12 -08:00
Jhon Honce
bf097c9e21 Update remote client bridge documentation.
* Add PODMAN_VARLINK_BRIDGE examples.

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-01-28 13:31:09 -07:00
OpenShift Merge Robot
d8f2333b29
Merge pull request #4984 from baude/pullarchoverride
expose --arch-override option for pull
2020-01-28 11:39:56 -08:00
Brent Baude
31a1f44fe6 honor pull policy in play kube
When a container specification has a pull policy, we should honor it when recreating the pods/containers from yaml.  furthermore, ini kube, if a tag is :latest, then the always pull policy is automatically instituted.

Fixes: #4880

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-28 13:36:10 -06:00
OpenShift Merge Robot
8692467ad7
Merge pull request #5005 from rpjday/docs/tildes_HOME
docs: replace '~' with $HOME in markdown as '~' isn't rendered properly
2020-01-28 10:54:05 -08:00
OpenShift Merge Robot
c2cde7de61
Merge pull request #4989 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.3.1
build(deps): bump github.com/opencontainers/selinux from 1.3.0 to 1.3.1
2020-01-28 10:41:41 -08:00
OpenShift Merge Robot
3426c34b77
Merge pull request #4964 from openSUSE/apparmor-signals
apparmor: allow receiving of signals from 'podman kill'
2020-01-28 10:30:57 -08:00
Robert P. J. Day
8c825cdaae docs: replace '~' with $HOME in markdown as '~' isn't rendered properly
Apparently, a tilde is currently rendered as a single space, making
a mess of command examples that use it, so use $HOME instead.

https://github.com/mattermost/mattermost-server/issues/8228

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-28 12:56:55 -05:00
OpenShift Merge Robot
6cb0f85933
Merge pull request #4988 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.7.2
build(deps): bump github.com/rootless-containers/rootlesskit from 0.7.1 to 0.7.2
2020-01-28 08:46:35 -08:00
OpenShift Merge Robot
ef68d37820
Merge pull request #5003 from lsm5/debian-doc-update
install.md: registries.conf setup in containers-image package
2020-01-28 08:35:43 -08:00
OpenShift Merge Robot
a8bd3473e0
Merge pull request #4980 from baude/bindingdocs
[CI:DOCS]Binding overhauls
2020-01-28 08:21:18 -08:00
Lokesh Mandvekar
9019fa5099 install.md: registries.conf setup in containers-image package
No need for separate setup steps with podman 1.7.0~5.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-01-28 10:42:08 -05:00
Brent Baude
54587335be [CI:DOCS]Binding overhauls
Add binding for networks and begin documentation for binding methods for godoc.  Also, add major functions to their own subpackages so reduce the amount of of method confusion.  So instead of: bindings.ListImages(), we now do a [bindings].images.List().

Also, the connection is passed to each binding method via a context to allow for future growth.

Lastly, add first set of tests.  There are a couple of things to work out for rootless tests yet.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-28 08:42:18 -06:00
OpenShift Merge Robot
d07c263106
Merge pull request #4999 from rpjday/docs/network_rst
docs: fix incomplete heading underlining in network.rst
2020-01-28 05:08:37 -08:00
OpenShift Merge Robot
b94f313fe6
Merge pull request #4996 from baude/rootlessnetns
[CI:DOCS]rootless exec cannot join root namespace
2020-01-28 04:54:50 -08:00
OpenShift Merge Robot
3b574dde6c
Merge pull request #4995 from rpjday/docs/podman_stop
docs: add missing hyphen for '-t' option, command '$' prompts
2020-01-28 04:44:15 -08:00
Robert P. J. Day
2460bacbf9 docs: fix incomplete heading underlining in network.rst
Lack of proper underlining generates processing diagnostic.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-28 06:44:07 -05:00
OpenShift Merge Robot
9d30e9f2b6
Merge pull request #4974 from rhatdan/man
Cleanup man pages exit code descriptions
2020-01-28 03:28:18 -08:00
dependabot-preview[bot]
a0c234f852 build(deps): bump github.com/rootless-containers/rootlesskit
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases)
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.7.1...v0.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-28 12:21:11 +01:00
Robert P. J. Day
c38e22de23 docs: add missing hyphen for '-t' option, command '$' prompts
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-28 05:31:52 -05:00
dependabot-preview[bot]
12b379a623 build(deps): bump github.com/opencontainers/selinux from 1.3.0 to 1.3.1
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/1.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-28 11:16:17 +01:00
OpenShift Merge Robot
326cdf944d
Merge pull request #4986 from baude/showhconimage
inspect image healthchecks
2020-01-27 14:21:59 -08:00
OpenShift Merge Robot
33d41a35e5
Merge pull request #4992 from rhatdan/docker
Add link from docker.sock to podman.sock
2020-01-27 14:09:49 -08:00
OpenShift Merge Robot
05ad507631
Merge pull request #4991 from baude/addcopr
[CI:DOCS]Add copr link to fedora install page
2020-01-27 14:09:42 -08:00
Brent Baude
9de18a1704 [CI:DOCS]rootless exec cannot join root namespace
add a quick note in the rootless.md about usage of --net=host as rootless and subsequent podman execs.

Fixes: #4473

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-27 15:43:53 -06:00
Brent Baude
d42b064c8c expose --arch-override option for pull
We no longer wish to hide the --arch-override from the cli on pulls. we now expose it.  docs updated.  tests already exist.

Fixes: #4849

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-27 10:06:39 -06:00
OpenShift Merge Robot
094baa5366
Merge pull request #4894 from edsantiago/test_apiv2
Tests for API v2
2020-01-27 07:14:16 -08:00
Daniel J Walsh
4ab6a10d0c
Add link from docker.sock to podman.sock
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-01-27 09:52:25 -05:00
Brent Baude
6181faa90d inspect image healthchecks
when a docker image has a defined healthcheck, it should be displayed with inspect.  this is only valid for docker images as oci images are not aware of healthchecks.

Fixes: #4799
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-27 08:36:25 -06:00
Brent Baude
25a01524e3 [CI:DOCS]Add copr link to fedora install page
for non-rawhide fedora distributions, you can use the copr repo to track upstream

Fixes: #4956

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-27 08:26:01 -06:00
OpenShift Merge Robot
7794fafdad
Merge pull request #4982 from rpjday/rpjday/exists_sudo
docs: remove reference to "sudo" in "podman exists" examples
2020-01-27 04:49:58 -08:00
OpenShift Merge Robot
408dc6f319
Merge pull request #4983 from rpjday/rpjday/history_bools
docs: add boolean values and defaults to "man podman-history" options
2020-01-27 04:32:50 -08:00
OpenShift Merge Robot
2d9d5e7606
Merge pull request #4985 from baude/pushhidden
Hidden remote flags can be nil
2020-01-27 04:22:21 -08:00
Brent Baude
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
Robert P. J. Day
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
OpenShift Merge Robot
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
OpenShift Merge Robot
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
Robert P. J. Day
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
OpenShift Merge Robot
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
Robert P. J. Day
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
Robert P. J. Day
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
OpenShift Merge Robot
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