docker resource: add 'format' parameter

'rootfs' value configures it to extract the image; default is 'docker', i.e.
'docker save'