Failed to fetch https://download.docker.com/linux/ubuntu/dists/jessie/stable/binary-amd64/Packages HttpError404

Hi all.

I cannot install docker on my vagrant localhost machine (v5).

I followed the steps here: https://docs.docker.com/install/linux/docker-ce/debian/#set-up-the-repository

And after I enter the command in step 4, on step 5 I type sudo apt-get update, the following error happen:

...
Get:21 https://download.docker.com jessie/stable amd64 Packages [586 B]
Err https://download.docker.com jessie/stable amd64 Packages
  HttpError404
Fetched 144 kB in 5s (26.5 kB/s)
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/jessie/stable/binary-amd64/Packages  HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.

And this link: https://download.docker.com/linux/ubuntu/dists/jessie/stable/binary-amd64/Packages actually return a 404 not found error.

I am using vagrant php-dev image.

Can anyone tell me how to solve this problem?

Thank you very much.