ubuntu/cortexDeprecation Notice
This Docker image is deprecated, and will not receive further updates. Cortex v1.11.1 will be the final version published.
Current Cortex Docker Image from Canonical, based on Ubuntu. Receives security updates and tracks the newest combination of Cortex and Ubuntu. This repository is free to use and exempted from per-user rate limits.
Cortex provides horizontally scalable, highly available, multi-tenant, long term storage for Prometheus.
Read more on the Cortex website.
!LTS Up to 5 years free security maintenance on LTS channels.
!ESM
Up to 10 years customer security maintenance from canonical/cortex. Request access.
Tags in italics are not available in ubuntu/cortex but are shown here for completeness.
| Channel Tag | Currently | Architectures | ||
|---|---|---|---|---|
1.11-22.04_beta | Cortex 1.11 on Ubuntu 22.04 LTS | amd64, arm64, ppc64el, s390x | ||
track_risk |
Channel Tag shows the most stable channel for that track. A track is a combination of both the application version and the underlying Ubuntu series, eg 1.0-22.04.
Channels are ordered from the most stable to the least stable, candidate, beta, edge.
More risky channels are always implicitly available.
So if beta is listed, you can also pull edge. If candidate is listed, you can pull beta and edge.
When stable is listed, all four are available.
Images are guaranteed to progress through the sequence edge, beta, candidate before stable.
If your usage includes commercial redistribution or requires unavailable channels/versions, please get in touch with the Canonical team (or using ***).
Launch this image locally:
shdocker run -d --name cortex-container -e TZ=UTC -p 32709:9009 ubuntu/cortex:1.11-22.04_beta
Access your Cortex server at http://localhost:32709.
| Parameter | Description |
|---|---|
-e TZ=UTC | Timezone. |
-p 32709:9009 | Expose Cortex on localhost:32709. |
-v /my/local/cortex.yaml:/etc/cortex/cortex.yaml | Local configuration file cortex.yaml (try this example). |
To debug the container:
shdocker logs -f cortex-container
To get an interactive shell:
shdocker exec -it cortex-container /bin/bash
Works with any Kubernetes; if you don't have one, we recommend you install MicroK8s and microk8s.enable dns storage then snap alias microk8s.kubectl kubectl.
Download
cortex.yaml and
cortex-deployment.yml and set containers.cortex.image in cortex-deployment.yml to your chosen channel tag (e.g. ubuntu/cortex:1.11-22.04_beta), then:
shkubectl create configmap cortex-config --from-file=main-config=cortex.yaml kubectl apply -f cortex-deployment.yml
You will now be able to connect to the Cortex server on localhost:32709.
If you find a bug in our image or want to request a specific feature, please file a bug here:
[***]
Please title the bug "cortex: <issue summary>". Make sure to include the digest of the image you are using, from:
shdocker images --no-trunc --quiet ubuntu/cortex:<tag>
These channels (tags) are not updated anymore. Please upgrade to newer channels, or reach out if you can't upgrade.
| Track | Version | EOL | Upgrade Path |
|---|---|---|---|
| Cortex 1.10.0 on Ubuntu 21.10 | 04/2022 | 1.11-22.04_beta | |
| Cortex 1.7.0 on Ubuntu 21.04 | 01/2022 | | |
| Cortex 1.4.0 on Ubuntu 20.04 LTS | 01/2021 | | |
track |



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务