Sign inSign up

mw866/cloudflared

By mw866

Updated about 5 years ago

Unofficial multi-arch image of cloudflared based on official source

Image
0

10K+

mw866/cloudflared repository overview

Multi-arch cloudflared Docker Image

The multi-arch build and images based on the official cloudflare/cloudflared repo.

The architecture supported:

  • linux/arm/v7
  • linux/arm64/v8
  • linux/amd64

Good for your Raspberry Pi running 64-bit OS.

Getting Started

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

Reference

Multi-arch build and images, the simple way

Tag summary

Content type

Image

Digest

Size

24.8 MB

Last updated

almost 6 years ago

docker pull mw866/cloudflared