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<number>:/dev/blockdevice ubuntu <now the blockdevice it is accesible and works>
pxctl v c test -r 3 --fs none docker run --volume-driver pxd -it --rm -v test:/dev/blockdevice ubuntuerror
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<number>:/dev/blockdevice ubuntu <now the blockdevice it is accesible and works>