Repository is not signed in docker build

后端 未结 8 1086
滥情空心
滥情空心 2021-01-31 14:15

I have the following Dockerfile that uses the latest Ubuntu image pulled from dockerhub:

FROM ubuntu:latest  
RUN apt-get update  && apt-get install -y           


        
相关标签:
8条回答
  • 2021-01-31 14:35

    Since Docker api v1.25+ ( released: Nov 18, 2019 )

    Running command below fixed problem for me:

    docker system prune --force
    

    The --force flag stands for non interactive prune.

    0 讨论(0)
  • 2021-01-31 14:37

    I tried again later and it worked.

    From https://github.com/docker-library/php/issues/898#issuecomment-539234070:

    That usually means the mirror is having issues (possibly partially out of date; i.e. not completely synced from other mirrors) and often clears itself up.

    0 讨论(0)
提交回复
热议问题