Take off lower end of the hose and drain it into the container. Remove the old hose. Install the new hose.
Now you will need some help. Put somebody into the cabin. Install a small piece of hose onto the caliper bleeder. Stick the other end into small container with a little brake fluid. Make sure that the end is in the brake fluid.
Feel up your brake fluid reservoir to the top and tell person in the cabin to push brake pedal a few times and then hold it down and never release (lets call it a brake press). Open up the bleeder. You will see some fluid come into the small container as well as bubbles of air. Close the bleeder. Release the pedal. Repeat brake press (watch that you have enough brake fluid in your master cylinder reservoir) and bleeding. Repeat this cycle as many times as needed until you don't see air bubbles coming out from bleeder hose.
Top your master cylinder reservoir with brake fluid and it is done.