influxdata / influxdata/influxdata-docker

Add generic major version tags for InfluxDB Docker images

Open
#820 1 comment 1 reaction 1 assignee Claimed by @bnpfeife View on GitHub
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

## Summary

We need to add generic major version tags to the InfluxDB Docker images to support version-agnostic documentation and make upgrades smoother for users.

## Current State

Based on Docker Hub, we currently have:
- `influxdb:3-core` ✓
- `influxdb:3-enterprise` ✓
- `influxdb:2` ✓
- `influxdb:1.11`, `influxdb:1.11-data`, `influxdb:1.11-meta` (specific versions only)
- `influxdb:latest` (points to v2, should be deprecated)

## Requested Changes

### 1. Add Generic v1 Tags
Create these tags that point to the latest v1 release:
- **`influxdb:1`** → `influxdb:1.11.8` (latest v1)
- **`influxdb:1-data`** → `influxdb:1.11.8-data` (or latest v1 enterprise data)
- **`influxdb:1-meta`** → `influxdb:1.11.8-meta` (or latest v1 enterprise meta)

### 2. Update Process
These generic tags should be updated automatically when new minor versions are released (e.g., when 1.12 is released, `influxdb:1` should point to 1.12).

### 3. Deprecate Ambiguous Tags
Consider deprecating (with notices, but not removing):
- `influxdb:latest` - Currently points to v2, causes confusion
- `influxdb:enterprise` - Unclear which version
- `influxdb:core` - Unclear which version

## Benefits

1. **Documentation stability**: We can reference `influxdb:1`, `influxdb:2`, `influxdb:3-core` without updating docs for every release
2. **Clear upgrade path**: Users understand v3 is latest, v2 is previous, v1 is legacy
3. **Consistency**: Matches the pattern already established with `influxdb:2` and `influxdb:3-*`

## Implementation

```bash
# Create the tags
docker tag influxdb:1.11.8 influxdb:1
docker tag influxdb:1.11.8-data influxdb:1-data
docker tag influxdb:1.11.8-meta influxdb:1-meta

# Push to Docker Hub
docker push influxdb:1
docker push influxdb:1-data
docker push influxdb:1-meta
```

## Related PR
This supports the Docker Hub documentation improvements in https://github.com/jstirnaman/dockerhub-docs/tree/rc/docker-library/docs. Once the tags are added, I'll push https://github.com/jstirnaman/dockerhub-docs/tree/rc/docker-library/docs to PR docker-library/docs#2600

cc @bpfeife

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.