docker-lvm-plugin icon indicating copy to clipboard operation
docker-lvm-plugin copied to clipboard

Could you try this plugin out with Podman

Open rhatdan opened this issue 4 years ago • 6 comments

Podman now has volume support, interested whether this works with podman 3.0 or not.

rhatdan avatar Jan 22 '21 10:01 rhatdan

I don't have access to systems with extra LVM space to try this out.

rhatdan avatar Jan 22 '21 10:01 rhatdan

I don't have access to systems with extra LVM space to try this out.

Hi @rhatdan!

I have added a Vagrantfile for you in #99. Once we merge this PR.

You can run:

  1. vagrant up from the $root of the project (This process should take around ~2 minutes)

This will start a fedora33 VM with everything (docker, docker-lvm-plugin, a pseudo loopback device, pv, volume group, thinpool) installed/running.

  1. You can just ssh into the VM using vagrant ssh docker-lvm-plugin-fedora33.

  2. Once in, you can remove docker and install podman and try it out.

  3. vagrant destroy will completely destroy the VM for you.

shishir-a412ed avatar Jan 22 '21 21:01 shishir-a412ed

@rhatdan Just tried this on the vagrant VM.

[root@fedora33 docker-lvm-plugin]# podman volume create --driver lvm --opt size=0.2G --opt vg=vg1 foobar
Error: error running volume create option: unrecognized volume option "size" is not supported with local driver: invalid argument

Looks like this is not supported today. Will try to debug, what's needed in the codebase.

shishir-a412ed avatar Mar 18 '21 16:03 shishir-a412ed

rpm -q podman?

rhatdan avatar Mar 22 '21 18:03 rhatdan

@mheon FYI

rhatdan avatar Mar 22 '21 18:03 rhatdan

I believe this one will be fixed in 3.1.0

mheon avatar Mar 22 '21 19:03 mheon