b9a176bea9
Merge pull request #3825 from mheon/release_notes_1.5.1_real
...
Add release notes for v1.5.1
2019-08-15 23:11:24 +02:00
03ebb98398
Add release notes for v1.5.1
...
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-08-15 13:22:22 -04:00
74224d9b7c
Merge pull request #3818 from chenzhiwei/hostname
...
Set Pod hostname as Pod name
2019-08-15 18:44:39 +02:00
3f1657d729
Merge pull request #3812 from baude/perffix1
...
performance fix for podman events with large journalds
2019-08-15 13:39:06 +02:00
4f0ab1cc8d
Set Pod hostname as Pod name
...
Signed-off-by: Chen Zhiwei <zhiweik@gmail.com>
2019-08-15 07:23:32 -04:00
f9ddf914a3
Merge pull request #3804 from edsantiago/bats
...
tests for exit status on podman run --rm
2019-08-15 10:31:07 +02:00
4fb7036ca1
tests for exit status on podman run --rm
...
...and on a container killed by 'podman rm -f'. See #3795
Disable when testing podman-remote; see #3808
Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-08-14 15:14:55 -06:00
bf9e801f11
Merge pull request #3807 from QiWang19/inspect_mergeDir
...
removMergeDir from inspect result if not mounted
2019-08-14 22:34:40 +02:00
f5dcb8011d
Merge pull request #3810 from giuseppe/use-cgroups
...
pkg/cgroups: use DBUS session when rootless
2019-08-14 17:30:09 +02:00
bbfc80c579
performance fix for podman events with large journalds
...
in the case where the host has a large journald, iterating the journal
without using a Match is very poor performance. this might be a
temporary fix while we figure out why the systemd library does not seem to
behave properly.
Signed-off-by: baude <bbaude@redhat.com>
2019-08-14 09:30:12 -05:00
4823cf8fcc
Merge pull request #3809 from chenzhiwei/fix-play-kube
...
Fix play kube command in pod yaml
2019-08-14 16:16:08 +02:00
9873901469
pkg/cgroups: use DBUS session when rootless
...
use the DBUS user session when running in rootless mode.
Closes: https://github.com/containers/libpod/issues/3801
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-14 15:46:07 +02:00
fb9e1d7d9f
Fix play kube command in pod yaml
...
Signed-off-by: Chen Zhiwei <zhiweik@gmail.com>
2019-08-14 09:22:29 -04:00
a734b53357
Merge pull request #3806 from mheon/hooks_notexist_nonfatal
...
Running Podman with a nonexistent hooks dir is nonfatal
2019-08-14 14:23:37 +02:00
bc6e1f1136
removMergeDir from inspect result if not mounted
...
Remove GraphDriver.Data.MergedDir from the result of podman inspect if the container not mounte. Because the /var/lib/containers/.../merged directory is no longer created by default; it only exists during the scope of podman mount.
Signed-off-by: Qi Wang <qiwan@redhat.com>
2019-08-13 15:13:20 -04:00
6aa4fbb0ea
Running Podman with a nonexistent hooks dir is nonfatal
...
Even explicitly defined hooks directories may not exist under
some circumstances. It's not worth a hard-fail if we hit an
ENOENT in these cases.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-08-13 15:05:42 -04:00
ce64c1403d
Merge pull request #3772 from haircommander/snapcraft
...
fork https://github.com/abitrolly/podman
2019-08-13 18:44:24 +02:00
7a859f064a
Merge pull request #3791 from cevich/install_libvarlink
...
Cirrus: Install varlink in VM images
2019-08-13 16:24:32 +02:00
b6c9b10867
Merge pull request #3662 from marusak/user_socket_service
...
Add user systemd service and socket
2019-08-13 15:57:27 +02:00
4e21e56406
Merge pull request #3649 from cevich/brent_is_back
...
Revert "Cirrus: Temp. workaround missing imgprune image"
2019-08-13 15:29:02 +02:00
386e939acb
Cirrus: Install varlink on Ubuntu
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-13 09:16:37 -04:00
0bf7d599f8
Cirrus: Install varlink on Fedora
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-13 09:16:37 -04:00
e9365c1a81
Add missing stage-packages in snapcraft.yaml.
...
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2019-08-13 08:57:07 -04:00
c606b3d3f1
Add RHEL and SUSE to snap doc
...
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2019-08-13 08:57:07 -04:00
1ed4d1fa58
start groundwork for adding snap
...
by forking https://github.com/abitrolly/podman
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2019-08-13 08:57:07 -04:00
031437bf5b
Merge pull request #3794 from ashley-cui/macpkg
...
Homebrew installation in install.md
2019-08-13 14:36:07 +02:00
daf7044aa9
Add user systemd service and socket
...
This enables user to interact with varlink and create/manage rootless
containers through it.
Using as:
`varlink call unix:/run/user/1000/podman/io.podman/io.podman.ListContainers`
Signed-off-by: Matej Marusak <mmarusak@redhat.com>
2019-08-13 07:00:56 +02:00
c48243ee1e
Merge pull request #3797 from mheon/test_events_revert
...
Revert #3745 and fix missing exit code for journald
2019-08-13 03:33:06 +02:00
62e8c328d8
Small optimization - only store exit code when nonzero
...
JSON optimizes it out in that case anyways, so don't waste cycles
doing an Itoa (and Atoi on the decode side).
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-08-12 19:05:44 -04:00
d3a433181d
Fix container exit code with Journald backend
...
We weren't actually storing this, so we'd lose the exit code for
containers run with --rm or force-removed while running if the
journald backend for events was in use.
Fixes #3795
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-08-12 19:05:44 -04:00
f634fd3900
Merge pull request #3607 from cevich/cgroup2_vm
...
Add another Fedora VM with cgroups v2 enabled
2019-08-12 21:28:56 +02:00
3cf4567e1d
Merge pull request #3753 from baude/varlinkrequiresroot
...
varlink endpoint for containerstats requires root
2019-08-12 21:09:26 +02:00
d36c62d88d
Revert "Cirrus: Temp. workaround missing imgprune image"
...
This reverts commit 9b2e98f1e872354f0708a86b59e16b8b86e9f8b2.
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-12 15:04:30 -04:00
99494b55bc
Homebrew installation in install.md
...
Add brew installation instructions to docs & small fix to brew makefile
Signed-off-by: Ashley Cui <ashleycui16@gmail.com>
2019-08-12 15:03:20 -04:00
55cc80d3c9
varlink endpoint for containerstats requires root
...
obtaining containerstats requires the use of cgroups. at present,
rootless users do not have privileges to create cgroups. add an error
message that catches this for the varlink endpoint and return a proper
error.
Fixes : #3749
Signed-off-by: baude <bbaude@redhat.com>
2019-08-12 13:08:57 -05:00
9bee6907a5
Merge pull request #3751 from TomSweeneyRedHat/dev/tsweeney/squishnits
...
Squish a few tpyo nits in container.go doc
2019-08-12 19:51:19 +02:00
ca7bae7f89
Merge pull request #3789 from giuseppe/cirrus-add-crun
...
cirrus: run tests with crun
2019-08-12 19:14:20 +02:00
341f0bf664
Merge pull request #3793 from stefanb2/topic-pr-3788
...
image: add user agent to Docker registry options
2019-08-12 19:02:20 +02:00
b843804d51
Adjust get_ci_vm.sh for substitution
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-12 12:01:55 -04:00
5f99703594
Cirrus: Add verification for cgroupv2 image
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-12 12:01:55 -04:00
7508179ed9
Cirrus: Add experimental fedora VM image & test
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-12 12:01:55 -04:00
e7fdaf48db
image: add user agent to Docker registry options
...
Set the string to "libpod/VERSION" so that we don't use the unspecific
default of "Go-http-client/xxx".
Fixes #3788
Signed-off-by: Stefan Becker <chemobejk@gmail.com>
2019-08-12 18:28:36 +03:00
fd312ae30a
Cirrus: Minor, use newer Ubuntu base image
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-12 11:02:02 -04:00
ec93c9d875
Merge pull request #3786 from giuseppe/fix-rootless-checks
...
rootless: drop some superflous checks
2019-08-12 16:53:46 +02:00
9f67cde9f8
tests: disable some tests currently failing when not using runc
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-12 16:09:34 +02:00
f18cfa4768
Merge pull request #3787 from giuseppe/rootless-cherry-pick-oci-runtime
...
rootless: cherry-pick runtime from the system configuration
2019-08-12 16:06:47 +02:00
efa26eedee
containers: look also for 'file not found' in the error message
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-12 15:47:26 +02:00
2f8451468c
cirrus: add tests with crun on Fedora 30
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-12 15:01:51 +02:00
79aeed9681
rootless: cherry-pick runtime from the system configuration
...
when creating the default libpod.conf file, be sure the default OCI
runtime is cherry picked from the system configuration.
Closes: https://github.com/containers/libpod/issues/3781
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-12 14:19:59 +02:00
0798fc5fc4
cirrus: install crun
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-08-12 14:11:59 +02:00