anchor.diff:    container_name="${CONTAINER_NAMES[$1]}"
     image="$IMAGE_PREFIX/$1_$VERSION"
     if ! is_running $container_name; then
  -      pre_hooks $1
  +      pre_setup_hooks $1
         docker run $opts $BACKGROUND --name=$container_name $image
  -      post_hooks $1
  +      post_setup_hooks $1
     else
         echo "$container_name is already running."
     fi
  
positive.code:     else
        docker start $container_name
      fi
      if [ "$2" = "--attach" ]; then
        attach_container $container_name
      fi
  
negative.code:   return 0
  }
  
  function pre_setup_hooks {
    return 0
  }
  
  function pre_start_hooks {
    return 0
  }
  
  function post_setup_hooks {
    case $1 in
      cobbler)   setup_dhcrelay_for_cobbler
                 ;;
      rsyslog)   remangle_syslog
                 ;;
      nginx)     remangle_nginx
                 ;;
      *)         ;;
    esac
  }
  function post_start_hooks {
    case $1 in
      cobbler)   setup_dhcrelay_for_cobbler
                 ;;
      *)         ;;
    esac
  