updated to support latest go-dockerclient from agent