Unofficial multi-arch image of cloudflared based on official source
10K+
cloudflared Docker ImageThe multi-arch build and images based on the official cloudflare/cloudflared repo.
The architecture supported:
Good for your Raspberry Pi running 64-bit OS.
Step 1 - Install buildx.
Step 2 - Create the buildx builder instance.
docker buildx create --use
Step 3 - Check the runtime supported.
docker buildx inspect --bootstrap
For example, the output on my macOS. Not all platforms are supported by cloudflared though.
Name: bold_bell
Driver: docker-container
Nodes:
Name: bold_bell0
Endpoint: unix:///var/run/docker.sock
Status: running
Platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
Step 4 - Build and publish the image
git clone [email protected]:cloudflare/cloudflared.git
cd cloudflared
export TAG=$(git describe --tags --always --dirty="-dev" --match "[0-9][0-9][0-9][0-9].*.*")
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag mw866/cloudflared:$TAG .
Step 5 - Test the image on the target OS/Arch
docker run mw866/cloudflared tunnel --hello-world
Content type
Image
Digest
Size
24.8 MB
Last updated
almost 6 years ago
docker pull mw866/cloudflared