docker: get last image on add units.

closes #705.