Actually link containers

Code was still looking for 'dependency' instead of 'links'. Fixed that
and add use of --links to link containers.