Docker role

Fixes #1207
Depends on #1238