【gogs】Error parsing reference: "golang:alpine AS binarybuilder" is not a valid repository/tag: inval

1 构建gogs镜像出错

Error parsing reference: "golang:alpine AS binarybuilder" is not a valid repository/tag: inval

查了下需要更新docker,先删除原先的docker

  597  yum remove docker
  598  yum remove docker-common
  599  yum remove docker-client

接着:

curl -fsSL https://get.docker.com/ | sh
systemctl restart docker
systemctl enable docker

 

你可能感兴趣的:(docker学习)