Switch to docker API (away from shelling out).