DevOps
#docker
#container
#image
#devops
Docker Image Name
Validates Docker image references including optional registry host, namespace, name, tag, and digest.
✓ CI/CD pipeline validation✓ Kubernetes manifest linting✓ Docker Compose file validation
✓ Valid Examples
- nginx
- nginx:latest
- nginx:1.25-alpine
- myrepo/myimage:v1.0.0
- ghcr.io/owner/repo:sha-abc1234
- registry.example.com:5000/myimage:latest
✗ Invalid Examples
- NGINX
- my image
- image:tag:extra
Usage & Integration
Validate Docker Image Name natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('docker-image', '...');Python
from regexto_validators import validate
validate("docker-image", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("docker-image", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('docker-image', '...');Rust
use regexto_validators::validate;
let is_valid = validate("docker-image", "...").unwrap();