make correct docker client call