joeduffy / blocker

A simple AWS EBS volume plugin for Docker
Apache License 2.0
82 stars 13 forks source link

docker run syntax updated #9

Open benjah1 opened 7 years ago

benjah1 commented 7 years ago

In docker version 17.06.1, the syntax is already changed to,

docker run \
    --mount type=volume,target=<container-path>,source=<ebs-volume-id>,volume-driver=blocker \
    ...

Haven't tested on when this is started.