7d8875f8e5
Merge pull request #5929 from QiWang19/v2test-info
...
Fix v2 test podman info
2020-04-22 19:30:18 +02:00
d0caf90940
V2 Restore exists E2E tests
...
* Fix setting exit code in */exists.go
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-22 09:53:05 -07:00
1be8ded964
Fix podman rm to have correct exit codes
...
If you attempt to remove a running container is it supposed to exit with
2
If you attempt to remove a non existing container is is supposed to exit with
1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-22 11:53:00 -04:00
6e33c328b9
Fix v2 test podman info
...
Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-04-22 11:46:44 -04:00
7f1d00108e
Merge pull request #5938 from rhatdan/v2
...
Fix handling of --cidfile on create/run
2020-04-22 17:02:16 +02:00
94b62dac74
Fix handling of --cidfile on create/run
...
Currently create and run are ignoring the cidfile flag.
Enable stop_test.go to make sure this works.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-22 09:52:33 -04:00
0d57ea420e
Merge pull request #5934 from rhatdan/v2
...
vendor in containers/common v0.9.4
2020-04-22 09:44:42 -04:00
5bbbc9996f
Merge pull request #5737 from cevich/add_f32
...
Cirrus: Add support for Fedora 32 beta
2020-04-22 07:37:14 -04:00
4494ec6f04
vendor in containers/common v0.9.4
...
This will change the default of UserNS to false
Also turn on tests for create_staticip_test.go
run_device_test.go, run_selinux_test.go
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-22 06:57:06 -04:00
ea63f7076a
Merge pull request #5909 from abitrolly/patch-2
...
gate/README.md Fix link to .cirrus.yml and reword
2020-04-21 18:45:25 -04:00
1ad978a3d7
Merge pull request #5919 from rhatdan/v2
...
Lots more fixes for V2 conversion.
2020-04-21 16:53:53 -04:00
ce07f1cde8
Merge pull request #5925 from rhatdan/containers.conf
...
Bump to github.com/containers/common to v0.9.2
2020-04-21 16:15:26 -04:00
ba1b5d4559
Merge pull request #5851 from jwhonce/wip/json
...
Provide a json variable pointing to a configured json API
2020-04-21 16:13:06 -04:00
02bd8cef7b
Merge pull request #5916 from giuseppe/userns-auto
...
v2, podman: plug --userns=auto
2020-04-21 16:10:28 -04:00
103eca67b7
Merge pull request #5894 from baude/v2test
...
Enable integration tests (skip fails)
2020-04-21 16:08:09 -04:00
bc56236102
Handle hostname flag from client
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 16:02:11 -04:00
592e7867a3
Add support for devices from command line
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 16:02:11 -04:00
9d7b5947b9
Fix handling of CGroupsParent and CGroupsMode
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 16:00:45 -04:00
f7fe424e19
Throw error on IPv6 ip addresses
...
Podman does not currently support IPv6 addresses.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 16:00:45 -04:00
413929babd
Merge pull request #5905 from mheon/redo_namespaces
...
Modify namespace generation code for specgen
2020-04-21 15:56:53 -04:00
5c968b7693
Force integration tests to pass
...
Failing tests are now skipped and we should work from this.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-21 13:48:50 -05:00
1cd2b746d0
Modify namespace generation code for specgen
...
Namespaces have now been changed to properly handle all cases.
Spec handling code for namespaces was consolidated in a single
function.
Still missing:
- Image ports
- Pod namespaces likely still broken in Podmanv2
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-04-21 14:38:52 -04:00
2ed4a0e35f
Merge pull request #5917 from vrothberg/v2-login-logout
...
v2: implement log{in,out}
2020-04-21 14:28:09 -04:00
0134999034
Merge pull request #5911 from giuseppe/cgroup-skip-unset
...
podman: do not set empty cgroup limit blocks
2020-04-21 14:20:58 -04:00
b879ccbb73
Merge pull request #5923 from baude/mybad
...
my bad
2020-04-21 14:00:00 -04:00
08734894ae
Bump to github.com/containers/common to v0.9.2
...
This allows us to fix issues with people with old libpod.conf
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 13:31:07 -04:00
0d817f5210
Merge pull request #5900 from baude/v2cp
...
podmanv2 cp
2020-04-21 12:47:17 -04:00
860356970b
my bad
...
typos in previous pr are causing panics
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-21 10:46:23 -05:00
1ed849f2d1
Merge pull request #5921 from baude/v2imageep
...
add entrypoint from image where needed
2020-04-21 11:23:21 -04:00
87b7223df1
Merge pull request #5920 from edsantiago/chcon_podman_remote
...
Makefile: fix broken chcon for podman-remote
2020-04-21 11:20:58 -04:00
a2541bf133
Merge pull request #5912 from giuseppe/v2-rlimits
...
v2, pkg: implement rlimits
2020-04-21 11:17:35 -04:00
b21a5b7ff4
Provide a json variable pointing to a configured json API
...
* All commands now using the same instance of json API
* `json` variable created in each package to prevent `encoding/json`
from being re-introduced
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-21 07:56:10 -07:00
29ec539b3f
podmanv2 cp
...
enable podman to copy files between container and host, local mode only. this is a straight port of v1 code to v2.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-21 09:23:27 -05:00
62b54dd7c4
gate/README.md Fix link to .cirrus.yml and reword
...
Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
2020-04-21 17:21:04 +03:00
f4c2eb1d9d
Merge pull request #5908 from baude/v2subs
...
podmanv2 container subcommands
2020-04-21 10:20:56 -04:00
0cd120507a
Merge pull request #5902 from baude/v2port
...
v2podman port
2020-04-21 10:19:33 -04:00
224a5ce51e
add entrypoint from image where needed
...
if the image specifies both the image and entrypoint, we need to account for that and preprend the entrypoint to the command. this only happens if no user command and entrypoint were supplied.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-21 09:15:21 -05:00
0e45637a97
Makefile: fix broken chcon for podman-remote
...
The install.remote target looks like it was copy-pasted
from install.bin and missed a spot.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-04-21 07:52:43 -06:00
10efa1d90f
podmanv2 container subcommands
...
add container subcommands with example text that has proper context.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-21 08:39:54 -05:00
ae5e7e7e78
v2podman port
...
add port command to podman.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-21 08:33:15 -05:00
0138ecfba0
v2: implement log{in,out}
...
Implement podman login and logout. Smoke tests were successful but the
system tests are currently failing as we seem unable to run a registry
at the moment.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-21 15:10:31 +02:00
84bbdcef5d
Merge pull request #5910 from abitrolly/shared-deps
...
Move Fedora 31 dependencies for building podman into separate file
2020-04-21 09:08:45 -04:00
05a5184302
Move Fedora dependencies for building podman into separate file
...
This ones listed here are actual for Fedora 31.
Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
2020-04-21 14:58:37 +03:00
08823e7383
Merge pull request #5913 from rhatdan/v2
...
More fixes for podman create tests
2020-04-21 07:54:39 -04:00
6e3ad47b58
v2, podman: plug --userns=auto
...
--userns=auto tests pass now.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-21 13:46:57 +02:00
46384a6189
podman: do not set empty cgroup limit blocks
...
refactor cgroup limits in their own function. If there are no limits
set avoid to set the block. Basic rootless containers work now.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-21 11:42:24 +02:00
47d99fb625
Merge pull request #5647 from rhatdan/containers.conf
...
Update podmanV2 to use containers.conf
2020-04-21 05:21:09 -04:00
75fdb753dd
Handle annotations passed in via the client
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 05:18:39 -04:00
64f774866a
Need to set the Entrypoint
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 05:18:39 -04:00
fc76fbf945
Fix podman inspect to return errors on failure
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 05:18:16 -04:00