docker icon indicating copy to clipboard operation
docker copied to clipboard

Release file not valid

Open cjonesy20 opened this issue 4 years ago • 1 comments

Using the 13.0 stock Dockerfile and trying to build on Docker for Windows. After apt-get update runs it says Release file is not valid yet.

I've tried a bunch of different things since it seems like the issue is system time being off. I resycned the system clock. Did a full Docker reset and added the following line and updated the apt-get update below. Still no luck.

RUN echo "Acquire::Check-Valid-Until "false";\nAcquire::Check-Date "false";" | cat > /etc/apt/apt.conf.d/10no--check-valid-until

RUN apt-get -o Acquire::Check-Valid-Until=false update

cjonesy20 avatar Jan 14 '21 01:01 cjonesy20