Added checks:
*  make sure container input numbers are within the range of
   containers availabel
*  if peek is used, make sure the container is running