Overview

Full name
docker.io/istio/examples-bookinfo-mongodb
Registry
docker.io
Namespace
istio
Repository
examples-bookinfo-mongodb
Cached tags
33
Last synced
07/06/2026, 02:51 AM

Introduction

Istio Bookinfo 示例 MongoDB 镜像,存储 ratings 数据供 Bookinfo 微服务演示,Istio 服务网格教程专用数据库。

Details

istio/examples-bookinfo-mongodb 运行 Bookinfo 示例 MongoDB 实例,存储 ratings 微服务数据,Istio 官方教程用于演示 mTLS 与流量管理。定位为 Istio 演示 MongoDB 服务,K8s Deployment 临时排障/教学环境;生产无业务用途。

快速启动

docker run -d --name bookinfo-mongo \
  -p 27017:27017 \
  docker.io/istio/examples-bookinfo-mongodb:latest

推荐实践

kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.22/samples/bookinfo/platform/kube/bookinfo.yaml
# ratings-v1 引用此 MongoDB Service

核心参数说明

  • -p 27017:27017 — MongoDB 协议端口
  • 用途 — Istio Bookinfo 教程
  • 范围 — 演示/排障环境
  • 无持久化 — 临时测试数据

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: bookinfo-mongodb
spec:
  replicas: 1
  selector:
    matchLabels:
      app: bookinfo-mongodb
  template:
    metadata:
      labels:
        app: bookinfo-mongodb
    spec:
      containers:
        - name: mongodb
          image: docker.io/istio/examples-bookinfo-mongodb:1.18.0
          ports:
            - containerPort: 27017
---
apiVersion: v1
kind: Service
metadata:
  name: bookinfo-mongodb
spec:
  selector:
    app: bookinfo-mongodb
  ports:
    - port: 27017
      targetPort: 27017

Istio Bookinfo 全栈部署;验证完成后删除。

Latest tags (20)

View all 33 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/istio/examples-bookinfo-mongodb
:1.20.3
linux/amd64linux/arm64
2025/04/16 02:27276.8 MBsha256:6f56b5daed59
docker.io/istio/examples-bookinfo-mongodb
:1.20.2
linux/amd64linux/arm64
2024/08/23 03:35246.1 MBsha256:96699215ca40
docker.io/istio/examples-bookinfo-mongodb
:latest
linux/amd64linux/arm64
2024/06/04 01:30246.1 MBsha256:609e24558624
docker.io/istio/examples-bookinfo-mongodb
:1.20.1
linux/amd64linux/arm64
2024/06/04 01:30246.1 MBsha256:609e24558624
docker.io/istio/examples-bookinfo-mongodb
:1.20.0
linux/amd64linux/arm64
2024/05/30 01:34246.1 MBsha256:609e24558624
docker.io/istio/examples-bookinfo-mongodb
:1.19.1
linux/amd64linux/arm64
2024/02/24 01:46246.1 MBsha256:76ebd36a5146
docker.io/istio/examples-bookinfo-mongodb
:1.19.0
linux/amd64
2024/02/24 01:16246.1 MBsha256:76ebd36a5146
docker.io/istio/examples-bookinfo-mongodb
:v1.19.0
linux/amd64
2024/02/24 01:14246.1 MBsha256:76ebd36a5146
docker.io/istio/examples-bookinfo-mongodb
:1.18.0
linux/amd64linux/arm64
2023/05/26 02:01235.1 MBsha256:ad3544f92bfc
docker.io/istio/examples-bookinfo-mongodb
:1.17.0
linux/arm64linux/amd64
2022/09/06 23:48227.7 MBsha256:0ab81717253c
docker.io/istio/examples-bookinfo-mongodb
:1.16.4
linux/amd64
2022/05/19 04:51146.8 MBsha256:298549042f0c
docker.io/istio/examples-bookinfo-mongodb
:1.16.3
linux/amd64
2021/02/18 06:16146.8 MBsha256:97924e9a436b
docker.io/istio/examples-bookinfo-mongodb
:1.16.2
linux/amd64
2020/06/30 02:19146.7 MBsha256:734380d67864
docker.io/istio/examples-bookinfo-mongodb
:1.15.1
linux/amd64
2020/06/04 03:34146.1 MBsha256:e880b643494d
docker.io/istio/examples-bookinfo-mongodb
:1.16.1
linux/amd64
2020/06/04 00:15146.1 MBsha256:e880b643494d
docker.io/istio/examples-bookinfo-mongodb
:1.16.0
linux/amd64
2020/05/04 23:11145.6 MBsha256:f3364ec2d76d
docker.io/istio/examples-bookinfo-mongodb
:1.15.0
linux/amd64
2019/06/19 23:33145.6 MBsha256:f3364ec2d76d
docker.io/istio/examples-bookinfo-mongodb
:1.14.0
linux/amd64
2019/05/22 22:19130.7 MBsha256:2e41588c70a7
docker.io/istio/examples-bookinfo-mongodb
:1.13.0
linux/amd64
2019/04/21 09:41130.7 MBsha256:2e41588c70a7
docker.io/istio/examples-bookinfo-mongodb
:1.12.0
linux/amd64
2019/04/16 23:42128.0 MBsha256:55ad99fd8cf4