The FROM debian: wheezy
The RUN apt - get the update & amp; & Apt - get the install - y cowsay fortune
After start-up error:
Docker build - t test/cowsay - dockerfile.
Sending the build context to Docker daemon 2.048 kB
A third Step: FROM the debian: wheezy
- & gt; 10 fcec6d95c4
Step two thirds: RUN apt - get the update & amp; & Apt - get the install - y cowsay fortune
- & gt; Running in b95c2d532fa0
E: Method of HTTP has died unexpectedly!
E: Sub - process HTTP received a segmentation fault.
E: Method of HTTP has died unexpectedly!
E: Sub - process HTTP received a segmentation fault.
Baidu said, is the network is bad, try later,,,
But, I do not use the Build, directly after the run, inside the container to run apt - get the update these commands, everything is normal,,,
CodePudding user response:
Wheezy 2013 starting in 2018, stopped security updates, apt to get the update can not succeed,Why not use the updated version,