Repository is not signed in docker build

后端 未结 8 1113
滥情空心
滥情空心 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:19

    As @Danila and @Andriy pointed out this issue can easily be fixed running:

    docker image prune -f
    docker container prune -f
    

    but posting this answer, as running just one of them didn't work for me (on MacOS X) - running both however does.

提交回复
热议问题