Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Step 1: Basic Configuration

The first step establishes your container's fundamental identity and image source.

Container Identity

Container Name: Enter a unique identifier for your container

  • Use lowercase letters, numbers, and hyphens only
  • Example: my-awesome-app
  • This name will be used to identify your container in the dashboard

Container Image

Choose how to specify your container image:

Option 1: Custom Image

Enter the full image reference manually:

  • Format: registry/image:tag
  • Examples:
    • nginx:1.21
    • node:18-alpine
    • myregistry.com/myapp:latest

Option 2: Choose from Presets

Select from commonly used base images and configurations optimized for different use cases.

Advanced Configuration

The Advanced Configuration section (collapsed by default) provides additional container settings that can be configured later in the wizard.

Best Practices

Container Naming

  • Use descriptive names that identify the application purpose
  • Include environment indicators if deploying multiple versions (e.g., myapp-staging)
  • Avoid special characters and spaces
  • Keep names concise but meaningful

Image Selection

  • Use specific version tags rather than latest for production deployments
  • Choose official images when available for better security and support
  • Consider image size for faster deployment times
  • Verify image compatibility with your target architecture

Security Considerations

  • Use images from trusted registries
  • Regularly update base images for security patches
  • Scan images for vulnerabilities before deployment
  • Consider using minimal base images (e.g., Alpine Linux)

Common Image Examples

Web Applications

  • Node.js: node:18-alpine, node:20-slim
  • Python: python:3.11-alpine, python:3.12-slim
  • Nginx: nginx:1.25-alpine, nginx:stable
  • Apache: httpd:2.4-alpine

Databases

  • PostgreSQL: postgres:15-alpine, postgres:16
  • MySQL: mysql:8.0, mysql:8.1
  • Redis: redis:7-alpine, redis:latest
  • MongoDB: mongo:7.0, mongo:latest

Development Tools

  • Ubuntu: ubuntu:22.04, ubuntu:latest
  • Alpine: alpine:3.18, alpine:latest
  • Busybox: busybox:1.36, busybox:latest

Next: Proceed to Step 2 to configure your container's resource allocation.