Backdocker.io/hashicorp/consul
docker.io

docker.io/hashicorp/consul:latest

Automatic build of consul based on the current release. See README for more information on usage.

Size
79.76 MB
Local pulls
6
Upstream pulls
106,231,193
Synced at
2026-08-24 09:31:06

China image

registry.cn-global.starbucket.com.cn/starbucket/docker.io/hashicorp/consul:latest

Source image

docker.io/hashicorp/consul:latest

Image info

Image ID
sha256:498a9d64d5b2915e0d9d35186fb471c5bef95108952adc955da18dd1802eb0b2
Image tag
latest
Image size
79.76 MB
Platform
linux/arm64
Registry
docker.io
CMD
agent -dev -client 0.0.0.0
Entrypoint
docker-entrypoint.sh
Working dir
/
User
StopSignal
Created
2026-08-07T17:28:27.914Z

Exposed ports 8

  • 8300/tcp
  • 8301/tcp
  • 8301/udp
  • 8302/tcp
  • 8302/udp
  • 8500/tcp
  • 8600/tcp
  • 8600/udp

Volumes

  • /consul/data

Environment 4

PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
BIN_NAMEconsul
PRODUCT_VERSION2.0.3
PRODUCT_NAMEconsul

Labels 17

nameConsul
vendorHashiCorp
released0f2be936dced184d8bddc6f9dd00295f7c34f74
summaryConsul is a datacenter runtime that provides service discovery, configuration, and orchestration.
version2.0.3
revisiond0f2be936dced184d8bddc6f9dd00295f7c34f74
maintainerConsul Team <consul@hashicorp.com>
descriptionConsul is a datacenter runtime that provides service discovery, configuration, and orchestration.
org.opencontainers.image.urlhttps://www.consul.io/
org.opencontainers.image.titleconsul
org.opencontainers.image.sourcehttps://github.com/hashicorp/consul
org.opencontainers.image.vendorHashiCorp
org.opencontainers.image.authorsConsul Team <consul@hashicorp.com>
org.opencontainers.image.version2.0.3
org.opencontainers.image.licensesBSL-1.1
org.opencontainers.image.descriptionConsul is a datacenter runtime that provides service discovery, configuration, and orchestration.
org.opencontainers.image.documentationhttps://developer.hashicorp.com/docs

Pull commands

Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/hashicorp/consul:latest
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/hashicorp/consul:latest docker.io/hashicorp/consul:latest
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/hashicorp/consul:latest
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/hashicorp/consul:latest docker.io/hashicorp/consul:latest
YAML quick replace
sed -i 's#docker.io/hashicorp/consul:latest#registry.cn-global.starbucket.com.cn/starbucket/docker.io/hashicorp/consul:latest#' deployment.yaml
Global registry mirror
Docker

Write Docker daemon.json so registry-mirrors points to this site, then restart Docker

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
  "registry-mirrors": ["https://registry.cn-global.starbucket.com.cn"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Containerd

Write containerd certs.d hosts.toml so docker.io pulls via this site, then restart containerd

sudo mkdir -p /etc/containerd/certs.d/docker.io
sudo tee /etc/containerd/certs.d/docker.io/hosts.toml <<'EOF'
server = "https://docker.io"

[host."https://registry.cn-global.starbucket.com.cn"]
  capabilities = ["pull", "resolve"]
EOF
sudo mkdir -p /etc/containerd
if [ ! -f /etc/containerd/config.toml ]; then
  sudo containerd config default | sudo tee /etc/containerd/config.toml >/dev/null
fi
sudo sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.toml
sudo systemctl restart containerd

Build history 23

2026-08-07 15:00:36empty layer
CMD ["agent" "-dev" "-client" "0.0.0.0"]
2026-08-07 15:00:36empty layer
ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-07 15:00:36
RUN |5 PRODUCT_VERSION=2.0.3 BIN_NAME=consul PRODUCT_REVISION=d0f2be936dced184d8bddc6f9dd00295f7c34f74 TARGETOS=linux TARGETARCH=arm64 /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
2026-08-07 15:00:36
COPY .release/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit
2026-08-07 15:00:36empty layer
EXPOSE [8500/tcp 8600/tcp 8600/udp]
2026-08-07 15:00:36empty layer
EXPOSE [8301/tcp 8301/udp 8302/tcp 8302/udp]
2026-08-07 15:00:36empty layer
EXPOSE [8300/tcp]
2026-08-07 15:00:36empty layer
VOLUME [/consul/data]

More synced tags