Jhon Honce
d517276426
Add support for the global flags and config files
...
Note: This PR doesn't provide full rootless support that will be
addressed in a future PR
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-14 14:48:37 -07:00
OpenShift Merge Robot
0d01f09bf4
Merge pull request #5811 from mheon/bump-1.9.0-rc2
...
[CI:DOCS] Bump to v1.9.0-RC2
2020-04-14 19:16:23 +02:00
Matthew Heon
bf97e803d7
Bump to v1.9.0-dev
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-14 12:56:21 -04:00
Matthew Heon
443aab15e6
Bump to v1.9.0-rc2
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-14 12:56:18 -04:00
OpenShift Merge Robot
a6caae0b5a
Merge pull request #5808 from baude/v2psformat2
...
v2podman ps revert structure changes
2020-04-14 18:01:18 +02:00
OpenShift Merge Robot
01c5915a52
Merge pull request #5809 from mheon/release_notes_1.9.0_rc2
...
[CI:DOCS] Update release notes for v1.9.0-RC2
2020-04-14 17:44:08 +02:00
OpenShift Merge Robot
246ee93201
Merge pull request #5801 from baude/v2mount
...
podmanv2 mount and umount
2020-04-14 17:14:12 +02:00
Matthew Heon
548645e75b
Update release notes for v1.9.0-RC2
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-14 10:59:53 -04:00
Brent Baude
830f3a4462
v2podman ps revert structure changes
...
reverting name changes to the listcontainer structure because it negatively impacted the direct consumption of the restful API. instead we now use a local structure in the CLI to modify the output as needed.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-14 09:40:43 -05:00
OpenShift Merge Robot
e2a137327c
Merge pull request #5804 from rhatdan/seccomp
...
Need to set security options even if user does not specify options
2020-04-14 16:09:43 +02:00
Brent Baude
d625aef0c5
podmanv2 mount and umount
...
add the ability to mount and unmount containers for the local client only
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-14 08:32:14 -05:00
OpenShift Merge Robot
26c15358d2
Merge pull request #5807 from openSUSE/pids-ctr-path
...
Fix invalid container path comparison for pid cgroup
2020-04-14 15:23:03 +02:00
OpenShift Merge Robot
d8853429eb
Merge pull request #5755 from mheon/fix_attach
...
Improve APIv2 support for Attach
2020-04-14 14:53:59 +02:00
OpenShift Merge Robot
85c352d8bc
Merge pull request #5709 from vrothberg/v2-search
...
podmanV2: implement search
2020-04-14 14:51:39 +02:00
OpenShift Merge Robot
004826653f
Merge pull request #5803 from baude/v2init
...
v2podman add container init
2020-04-14 14:34:18 +02:00
Sascha Grunert
a8192cd760
Fix invalid container path comparison for pid cgroup
...
This fixes the behavior to return nil for the PIDs cgroup if the
container path is empty.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-04-14 11:02:42 +02:00
Brent Baude
d8d1aa49d2
v2podman add container init
...
add the ability to init a container both local and remote
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-13 19:51:20 -05:00
Daniel J Walsh
8fea3d0ab5
Need to set security options even if user does not specify options
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-13 17:09:22 -04:00
OpenShift Merge Robot
5cf64aee11
Merge pull request #5762 from baude/v2versionformat
...
podmanv2 version format variable name change
2020-04-13 22:44:17 +02:00
OpenShift Merge Robot
0b067b67e6
Merge pull request #5800 from baude/v2edtests
...
Fixes for load and other system tests
2020-04-13 21:57:39 +02:00
Brent Baude
11fa4b6eba
podmanv2 version format variable name change
...
change the name of the variable for version to avoid collision with other commands.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-13 14:23:41 -05:00
OpenShift Merge Robot
d7695dd957
Merge pull request #5777 from jwhonce/issues/5599
...
Refactor service idle support
2020-04-13 20:28:42 +02:00
Brent Baude
90ead05903
Fixes for load and other system tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-13 13:08:04 -05:00
Matthew Heon
71f14bd792
Improve APIv2 support for Attach
...
A few major fixes here:
- Support for attaching to Configured containers, to match Docker
behavior.
- Support for stream parameter has been improved (we now properly
handle cases where it is not set).
- Initial support for logs parameter has been added.
- Setting attach streams when the container has a terminal is now
supported.
- Errors are properly reported once the hijack has begun.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-13 14:08:01 -04:00
OpenShift Merge Robot
465b4bc563
Merge pull request #5778 from baude/v2removetemplates
...
podmanv2 history and image remove templates
2020-04-13 17:47:31 +02:00
Jhon Honce
f8892e7c6b
Refactor service idle support
...
* Move connection tracking into APIServer using ConnState()
* Remove Connection counters from CLI code
* Update events handler to support client not closing connection
* Improve logging messages
Fixes #5599
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-13 08:11:36 -07:00
OpenShift Merge Robot
309a7f7d1b
Merge pull request #5798 from mheon/bump-1.9.0-rc1
...
Bump to v1.9.0-RC1
2020-04-13 16:47:22 +02:00
OpenShift Merge Robot
f0d7ac9e81
Merge pull request #5797 from giuseppe/use-snprintf
...
rootless: use snprintf
2020-04-13 16:18:43 +02:00
Brent Baude
6f650a5129
podmanv2 history and image remove templates
...
remove the use of template functions images and history to allow for straight-forward user experience. instead of templates we use structs and struct methods.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-13 09:15:24 -05:00
Matthew Heon
f1397abb9b
Bump to v1.9.0-dev
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-13 09:47:17 -04:00
Matthew Heon
cbb5652a53
Bump to v1.9.0-rc1
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-13 09:47:17 -04:00
Giuseppe Scrivano
c33371fadb
rootless: use snprintf
...
use directly snprintf instead of strlen+strcpy.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-13 13:35:38 +02:00
OpenShift Merge Robot
1593d4c052
Merge pull request #5785 from containers/dependabot/go_modules/github.com/containers/buildah-1.14.8
...
build(deps): bump github.com/containers/buildah from 1.14.7 to 1.14.8
2020-04-10 18:39:39 +02:00
Daniel J Walsh
daca146f9d
build(deps): bump github.com/containers/buildah from 1.14.7 to 1.14.8
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/master/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.14.7...v1.14.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-10 08:56:27 -04:00
OpenShift Merge Robot
2a8db9d17c
Merge pull request #5782 from baude/v2containercleanup
...
v2podman container cleanup
2020-04-10 14:11:30 +02:00
OpenShift Merge Robot
838b5e1e38
Merge pull request #5766 from mheon/release_notes_v1.9
...
[CI:DOCS] Update release notes for v1.9.0-RC1
2020-04-10 03:26:30 +02:00
Matthew Heon
00deffdad4
Update release notes for v1.9.0-RC1
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-09 19:01:03 -04:00
Brent Baude
7d0e0a7129
v2podman container cleanup
...
add the ability to clean up after a container has attempted to run. this is also important for podman run --rm --rmi.
also included are fixes and tweaks to various code bits to correct regressions on output.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-09 16:59:33 -05:00
OpenShift Merge Robot
3a4bd39516
Merge pull request #5771 from giuseppe/fix-exec-preserve-fd
...
test: fix exec preserve-fds test
2020-04-09 16:40:32 +02:00
OpenShift Merge Robot
1662310e51
Merge pull request #5754 from baude/v2psformat
...
v2podman ps alter formats
2020-04-09 15:56:26 +02:00
OpenShift Merge Robot
555b30e9eb
Merge pull request #5634 from jwhonce/wip/service
...
V2 podman system service
2020-04-09 14:55:45 +02:00
OpenShift Merge Robot
655139fdda
Merge pull request #5760 from vrothberg/v2-logs
...
podmanV2: implement logs
2020-04-09 14:51:02 +02:00
Valentin Rothberg
ff52b7524a
podmanV2: implement search
...
Also implement a new libpod endpoint to add more parameters and to
prevent us from converting between slices and maps and make use of
the filter parsing in the image backend.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-09 13:05:19 +02:00
Valentin Rothberg
7a3bfbf076
podmanV2: implement logs
...
Implement the `podman {container} logs` for the v2 client. The remote
client does not yet support it. There's some more work needed for the
rest api; some options are missing (e.g., printing names) while others
are broken (e.g., the until http parameter).
The remote parts will be tackled in a future change.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-09 11:55:10 +02:00
OpenShift Merge Robot
46227e0b03
Merge pull request #5768 from mtrmac/make-vendor
...
Fix (make vendor)
2020-04-09 10:37:54 +02:00
Giuseppe Scrivano
4503650f41
test: enable preserve fds test for crun
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-09 10:17:43 +02:00
Giuseppe Scrivano
d3cfa7a23c
test: fix exec preserve-fds test
...
it specifies a fd is passed down but we are not really doing it, and
it triggers the wrong fd to be closed by Podman after the OCI runtime
invocation.
Closes: https://github.com/containers/libpod/issues/5769
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-09 10:17:42 +02:00
OpenShift Merge Robot
3c94fa9cc7
Merge pull request #5758 from rhatdan/exitcode
...
Set exit codes on errors.
2020-04-09 03:02:55 +02:00
OpenShift Merge Robot
1229350377
Merge pull request #5748 from baude/v2imageformat
...
podmanv2 images user format
2020-04-09 03:00:40 +02:00
Daniel J Walsh
82bd7589e7
Set exit codes on errors.
...
podmanV2 run fedora /etc
Should exit with 126
podmanV2 run fedora /etc/foobar
Should exit with 127
podmanv2 run --fobar fedora echo hello
Should exit with 125
podmanv2 run fedora bash -c "exit 100"
Should exit with 100
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-08 15:54:35 -04:00