OpenShift Merge Robot
c2deeff101
Merge pull request #7068 from mheon/start_attach_no_ctrid
...
The `podman start --attach` command should not print ID
2020-07-24 17:07:14 +02:00
OpenShift Merge Robot
417cc41398
Merge pull request #6742 from maybe-sybr/maybe/apiv2/fix-container-create-with-volumes
...
APIv2:fix: Get volumes from `Binds` when creating
2020-07-24 17:04:26 +02:00
OpenShift Merge Robot
22b1483902
Merge pull request #6938 from jwhonce/wip/n-connection
...
Refactor podman system connection
2020-07-24 17:01:40 +02:00
OpenShift Merge Robot
d9244761e4
Merge pull request #7041 from jkonowitch/reset-docs
...
Improve Docs for `podman system reset`
2020-07-24 11:00:50 +02:00
OpenShift Merge Robot
197825d2ab
Merge pull request #7072 from eriksjolund/doc_fix_podman_run
...
[CI:DOCS] Fix exit code example in podman-run.1.md
2020-07-23 21:37:17 +02:00
OpenShift Merge Robot
d4b5a18182
Merge pull request #7071 from mheon/bump_master_to_203
...
[CI:DOCS] Update release notes and README on master for v2.0.3
2020-07-23 21:34:26 +02:00
Erik Sjölund
c10d5a5ebe
Fix exit code example in podman-run.1.md
...
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2020-07-23 20:51:37 +02:00
Matthew Heon
d46b7d7f1c
Update release notes and README on master for v2.0.3
...
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-23 14:12:57 -04:00
OpenShift Merge Robot
961fa6a608
Merge pull request #7063 from containers/dependabot/go_modules/github.com/containers/common-0.17.1
...
Bump github.com/containers/common from 0.17.0 to 0.17.1
2020-07-23 19:42:54 +02:00
OpenShift Merge Robot
5b67f8108a
Merge pull request #7066 from lpmitchell/patch-1
...
Fix typos on documentation 'What is Podman' page
2020-07-23 19:33:05 +02:00
OpenShift Merge Robot
6ff1501287
Merge pull request #7064 from edsantiago/fix_rootless_perms
...
CI: fix rootless permission error
2020-07-23 19:30:07 +02:00
Jeffrey Konowitch
65bcc2ba5f
Update system.rst
...
Signed-off-by: Jeffrey Konowitch <jeff.konowitch@onepeloton.com>
Update podman-system-reset.1.md
Signed-off-by: Jeffrey Konowitch <jeff.konowitch@onepeloton.com>
PR feedback
Signed-off-by: Jeffrey Konowitch <jeff.konowitch@onepeloton.com>
remove errant punctuation
Signed-off-by: Jeffrey Konowitch <jeff.konowitch@onepeloton.com>
2020-07-23 12:38:24 -04:00
Matthew Heon
099649ac1b
The podman start --attach command should not print ID
...
Somewhere in the Podman v2 rewrite, we allowed
`podman start --attach` to print the container ID of the started
container after exiting from the attach session (via detach key
or the container exiting naturally). We should never print the ID
when `--attach` is given, which makes the fix simple - make the
print statement conditional on `--attach` not being present.
Wierdly, this only happened with `--interactive` was given to
`podman start`. I don't know why that is, but this resolves the
issue without having to dig any deeper, so I'm content.
Fixes #7055
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-23 12:02:28 -04:00
Luke Mitchell
9db4c031ef
Fix typos on documentation 'What is Podman' page
...
- Added a space between 'containers' and 'this' in the opening paragraph
- comming -> coming
- 'looking our' -> 'looking at our'
Signed-off-by: Luke Mitchell <luke@lpmitchell.com>
2020-07-23 15:13:05 +01:00
Ed Santiago
81115243ef
CI: fix rootless permission error
...
CI runs are failing in special_testing_rootless:
mkdir /var/tmp/go/pkg: permission denied
Probable cause: #6822 , which universally set GOPATH.
Solution: in rootless setup, chown -R GOPATH as well
as GOSRC (the latter was already being chowned).
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-07-23 06:17:22 -06:00
dependabot-preview[bot]
87f60bbfaa
Bump github.com/containers/common from 0.17.0 to 0.18.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-23 05:05:26 -04:00
Jhon Honce
964d3300c6
[WIP] Refactor podman system connection
...
* Add support to manage multiple connections
* Add connection
* Remove connection
* Rename connection
* Set connection as default
* Add markdown/man pages
* Fix recursion in hack/xref-helpmsgs-manpages
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-07-22 15:25:44 -07:00
OpenShift Merge Robot
1aac197f79
Merge pull request #7042 from rhatdan/remote
...
Enable --remote flag
2020-07-22 23:14:47 +02:00
OpenShift Merge Robot
9223b721b3
Merge pull request #7053 from ashley-cui/kubeip
...
Publish IP from YAML (podman play kube)
2020-07-22 22:45:05 +02:00
OpenShift Merge Robot
d493374eb4
Merge pull request #7050 from edsantiago/logformat_trim_remote
...
logformatter: handle podman-remote
2020-07-22 20:53:51 +02:00
OpenShift Merge Robot
e4ce175509
Merge pull request #7048 from rhatdan/remotetest
...
Turn on a bunch more remote tests
2020-07-22 20:50:54 +02:00
OpenShift Merge Robot
a95f195635
Merge pull request #7047 from edsantiago/ci_login_flake_fix
...
CI: attempt to fix flake in login test
2020-07-22 20:48:02 +02:00
OpenShift Merge Robot
0da4fa280b
Merge pull request #6822 from cevich/add_htpasswd
...
Cirrus: Add packages that provide htpasswd
2020-07-22 20:25:14 +02:00
Ashley Cui
80f57acc03
Publish IP from YAML (podman play kube)
...
podman play kube didn't set host ip correctly from YAML
Signed-off-by: Ashley Cui <acui@redhat.com>
2020-07-22 14:05:17 -04:00
Daniel J Walsh
a75f96ae90
Turn on a bunch more remote tests
...
We need to be more specific about the remote tests we turn off.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 13:13:28 -04:00
Ed Santiago
0e85768c96
logformatter: handle podman-remote
...
Oops! Logs of podman-remote tests are unreadable, they have
multiple (useless) --remote options plus '--url /something/long'
that makes it impossible to read the actual command being run.
This commit strips off '--remote' entirely, and hides '--url'
and its arg in the only-on-mouse-hover '[options]' text.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-07-22 10:32:06 -06:00
Chris Evich
6acea29a80
Cirrus: Switch to freshly built image
...
Note: The libpod -> podman change in the image name comes by way of an
intentional repository rename.
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-07-22 11:51:32 -04:00
Chris Evich
fe56be28c1
Cirrus: Add packages that provide htpasswd
...
Mainly needed for buildah testing: the htpasswd command was removed from
the upstream registry container image. Making it available on the
host-side enables configuring details needed by the registry during
it's initial setup.
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-07-22 11:51:32 -04:00
Chris Evich
18a1514139
Cirrus: Ensure GOPATH is properly set during image-builds
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-07-22 11:51:32 -04:00
Ed Santiago
96a9ddb266
CI: attempt to fix flake in login test
...
Fixes : #5212
...or at least I hope it does. The symptom seems to be that
INTEGRATION_ROOT is not being defined in some code flows.
This PR blindly implements a suggestion from Miloslav,
setting INTEGRATION_ROOT in one more place.
We won't actually know for a long time if this works or
not, because the test failure is a flake.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-07-22 08:13:41 -06:00
OpenShift Merge Robot
80add2902c
Merge pull request #6992 from rhatdan/apparmor
...
Support default profile for apparmor
2020-07-22 15:38:42 +02:00
OpenShift Merge Robot
9f5d1462be
Merge pull request #6955 from edsantiago/logformatter_fix_bucket_name
...
logformatter: update MAGIC BLOB string
2020-07-22 08:45:15 -04:00
OpenShift Merge Robot
558809d4bb
Merge pull request #7044 from rhatdan/remotetest
...
Enable a bunch of remote tests
2020-07-22 08:42:27 -04:00
OpenShift Merge Robot
ef03815117
Merge pull request #7045 from containers/dependabot/go_modules/github.com/containers/storage-1.21.2
...
Bump github.com/containers/storage from 1.21.1 to 1.21.2
2020-07-22 07:39:55 -04:00
OpenShift Merge Robot
d88e316913
Merge pull request #7046 from containers/dependabot/go_modules/github.com/containers/common-0.17.0
...
Bump github.com/containers/common from 0.16.0 to 0.17.0
2020-07-22 07:37:16 -04:00
OpenShift Merge Robot
60c1d91657
Merge pull request #7032 from vrothberg/coverage
...
make localunit: record coverage
2020-07-22 07:13:59 -04:00
Daniel J Walsh
4c4a00f63e
Support default profile for apparmor
...
Currently you can not apply an ApparmorProfile if you specify
--privileged. This patch will allow both to be specified
simultaniosly.
By default Apparmor should be disabled if the user
specifies --privileged, but if the user specifies --security apparmor:PROFILE,
with --privileged, we should do both.
Added e2e run_apparmor_test.go
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 06:27:20 -04:00
OpenShift Merge Robot
59bad8bf71
Merge pull request #7006 from ashley-cui/umask
...
Add --umask flag for create, run
2020-07-22 05:40:32 -04:00
OpenShift Merge Robot
2643967bc0
Merge pull request #7002 from zhangguanzhang/master
...
fix podman play kube doesn't override dockerfile ENTRYPOINT
2020-07-22 05:37:35 -04:00
dependabot-preview[bot]
4c7fc773f6
Bump github.com/containers/storage from 1.21.1 to 1.21.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.21.1 to 1.21.2.
- [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.21.1...v1.21.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 05:36:43 -04:00
OpenShift Merge Robot
c0998f728a
Merge pull request #7040 from mheon/no_exec_errmsg
...
Do not print an error message on non-0 exec exit code
2020-07-22 05:34:17 -04:00
dependabot-preview[bot]
ca049ef6f9
Bump github.com/containers/common from 0.16.0 to 0.17.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.16.0...v0.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 05:29:34 -04:00
Daniel J Walsh
65e1638f9b
Enable a bunch of remote tests
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-21 19:23:24 -04:00
OpenShift Merge Robot
344a791ac2
Merge pull request #7025 from mheon/readme_updates
...
Update the README to reflect the libpod move
2020-07-21 16:42:37 -04:00
Daniel J Walsh
17ba396494
Enable --remote flag
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-21 15:22:15 -04:00
Ashley Cui
d4d3fbc155
Add --umask flag for create, run
...
--umask sets the umask inside the container
Defaults to 0022
Co-authored-by: Daniel J Walsh <dwalsh@redhat.com>
Signed-off-by: Ashley Cui <acui@redhat.com>
2020-07-21 14:22:30 -04:00
zhangguanzhang
a87579cedf
fix play kube doesn't override dockerfile ENTRYPOINT
...
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
2020-07-22 02:17:11 +08:00
OpenShift Merge Robot
e5b3563a89
Merge pull request #7036 from rhatdan/docker
...
Add noop function disable-content-trust
2020-07-21 13:43:58 -04:00
Matthew Heon
90e547ec1a
Do not print an error message on non-0 exec exit code
...
This was added with an earlier exec rework, and honestly is very
confusing. Podman is printing an error message, but the error had
nothing to do with Podman; it was the executable we ran inside
the container that errored, and per `podman run` convention we
should set the Podman exit code to the process's exit code and
print no error.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-07-21 13:28:40 -04:00
OpenShift Merge Robot
26410e4f4e
Merge pull request #7037 from edsantiago/bats
...
BATS help-message test: improve diagnostics
2020-07-21 13:19:01 -04:00