Ubuntu:14.04 image from dockerhub pull, apt update prompts hassum mismatch?

  linux, question

FromDockerHubonpullI got one.ubuntu:14.04Mirror of:

But into the container for executionapt updateWhen promptHash Sum mismatch

Error details

Ign  http://archive.ubuntu.com trusty InRelease
 Hit  http://archive.ubuntu.com trusty-updates InRelease
 Hit  http://archive.ubuntu.com trusty-security InRelease
 Hit  http://archive.ubuntu.com trusty Release.gpg
 Get:1  http://archive.ubuntu.com trusty-updates/main Sources [1175 kB]
 Get:2  http://archive.ubuntu.com trusty-updates/restricted Sources [1175 kB]
 Get:3  http://archive.ubuntu.com trusty-updates/universe Sources [1175 kB]
 Get:4  http://archive.ubuntu.com trusty-updates/main amd64 Packages [23.5 kB]
 Get:5  http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [23.5 kB]
 Get:6  http://archive.ubuntu.com trusty-security/main Sources [1175 kB]
 Get:7  http://archive.ubuntu.com trusty-updates/universe amd64 Packages [23.5 kB]
 Get:8  http://archive.ubuntu.com trusty-security/restricted Sources [1175 kB]
 Get:9  http://archive.ubuntu.com trusty-security/universe Sources [1175 kB]
 Get:10  http://archive.ubuntu.com trusty-security/main amd64 Packages [23.5 kB]
 Get:11  http://archive.ubuntu.com trusty-security/restricted amd64 Packages [20.2 kB]
 Get:12  http://archive.ubuntu.com trusty-security/universe amd64 Packages [23.5 kB]
 Hit  http://archive.ubuntu.com trusty Release
 Get:13  http://archive.ubuntu.com trusty/main Sources [1175 kB]
 Get:14  http://archive.ubuntu.com trusty/restricted Sources [1175 kB]
 Get:15  http://archive.ubuntu.com trusty/universe Sources [1175 kB]
 Get:16  http://archive.ubuntu.com trusty/main amd64 Packages [16.4 kB]
 Get:17  http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
 Get:18  http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB]
 Fetched 10.7 MB in 3min 28s (51.4 kB/s)
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources  Hash Sum mismatch
 
 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages  Hash Sum mismatch
 
 E: Some index files failed to download. They have been ignored, or old ones used instead.

I found some information online:

All four methods were tried, but none of them worked.

#1. The first method
 sudo apt-get clean
 sudo apt-get update --fix-missing
 
 #2. The second method
 # Delete
 sudo rm -fR /var/lib/apt/lists/*
 # Create a new folder
 sudo mkdir /var/lib/apt/lists/partial
 # update Again
 sudo apt-get update
 
 #3. The third method
 Change the source, Ali, CentOS,163 have all tried
 
 #4. The fourth method
 
 Changing http to https is not enough, suggesting that the apt-transport-https package is not installed ... but the source problem has not been fixed and cannot be installed.  ...
 E: The method driver /usr/lib/apt/methods/https could not be found.
 N: Is the package apt-transport-https installed?
 E: The method driver /usr/lib/apt/methods/https could not be found.
 N: Is the package apt-transport-https installed?

I don’t know if you have encountered this problem, I look forward to your answer, thank you.

The feeling may be the cause of the network, but VPN is always broken and it is not easy to make. No more reliable VPN found …

It seems that it is still related to the mirror image source, changed to domestic, and then restarted to try again.