Closed milewski closed 5 years ago
You probably have an old abiosoft/caddy:builder
image. Try to update it to the latest version with
docker pull abiosoft/caddy:builder
The error itself is caused by an old Go version and described in mholt/caddy#2492, BTW.
I tried that in a fresh new server, however same problem on my local machine:
Rafaels-iMac: milewski$ docker pull abiosoft/caddy:builder
builder: Pulling from abiosoft/caddy
Digest: sha256:11ffbb2efab1b284f5d771e66a15f2bd3ba6193446be0ad688e0e6446d894338
Status: Image is up to date for abiosoft/caddy:builder
Rafaels-iMac: milewski$ docker run --rm abiosoft/caddy:builder go version
go version go1.11.5 linux/amd64
Perhaps the published image to docker hub is out of date?
I am not able to reproduce this. This means you likely have an older version cached.
Try removing the image with docker rmi -f abiosoft/caddy:builder
and then try again.
I think the reason is that im using the official docker china mirror: https://www.docker-cn.com/registry-mirror and it seems to be out of sync with hub.docker.com, switching to the default repository it works!...
Command:
Here is the full log