Docker Command Reference
Quick reference for Docker commands used with EBRAINS infrastructure.
Quick Links
- Docker Build, Tag, Push Reference - Building and pushing Docker images
- Docker Registry Reference - EBRAINS Harbor registry commands
Overview
EBRAINS uses Harbor as the Docker registry for hosting container images. All images follow semantic versioning and standardized tagging practices.
EBRAINS Docker Registry: docker-registry.ebrains.eu
Web Interface: https://docker-registry.ebrains.eu
Getting Started
If you’re new to Docker in EBRAINS:
- Publish Your First Docker Image Tutorial - Complete walkthrough
- Get your CLI secret from Harbor profile
- Login:
docker login docker-registry.ebrains.eu
Quick Examples
Build, Tag, and Push
Pull and Run
Multi-Version Tagging
Image URL Format
Common Commands
Authentication
Build
Tag
Push/Pull
Run
Inspect
Clean Up
Tagging Strategy
| Tag Type | Format | Example | Use Case |
|---|---|---|---|
| Semantic Version | X.Y.Z | 2.1.3 | Production (pinned version) |
| Major.Minor | X.Y | 2.1 | Staging (auto-patch updates) |
| Major | X | 2 | Development |
| latest | latest | latest | Development/Testing |
| Environment | env | prod, staging, dev | Environment-specific |
| Git SHA | sha | abc123f | Debugging/Rollback |