docker support

Revamp RemoteMachine to use 'docker'.
Based on #102, so that needs to be merged first.