Open segator opened 6 years ago
@segator that's the current workaround. I have opened an internal bug to address the workflow via docker and will follow up here. If you don't mind sharing, what is your use case - what do you plan to run on top of the block device?
I experimenting in run VM's inside docker with KVM so I can attach block device directly to KVM, increasing performance.
pxctl v c test -r 3 --fs none docker run --volume-driver pxd -it --rm -v test:/dev/blockdevice ubuntu
error
Error response from daemon: error while mounting volume '/': Volume (Name: test Id: 99558319756929467 Path: /var/lib/osd/mounts/test) mount failed. Volume does not have a filesystem.
How I can use a block device directly from portworx inside a docker? If I attach manually before run docker, it works but it's not the idea `pxctl host attach test docker run -it --rm --device /dev/pxd/pxd:/dev/blockdevice ubuntu