podman remote-client commit

add the ability to commit a container to an image using the remote
client.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-04-25 13:58:25 -05:00
parent c871653e19
commit 2df462024b
10 changed files with 151 additions and 70 deletions

View File

@ -1,5 +1,3 @@
// +build !remoteclient
package integration
import (
@ -174,6 +172,9 @@ var _ = Describe("Podman commit", func() {
})
It("podman commit with volume mounts and --include-volumes", func() {
// We need to figure out how volumes are going to work correctly with the remote
// client. This does not currently work.
SkipIfRemote()
s := podmanTest.Podman([]string{"run", "--name", "test1", "-v", "/tmp:/foo", "alpine", "date"})
s.WaitWithDefaultTimeout()
Expect(s.ExitCode()).To(Equal(0))