Skip to content

Alpine

Launch a minimal Alpine Linux container in seconds with Endor CLI. Get a clean, lightweight Linux environment for development and testing.

Quick Start

Start Alpine with Endor:

Terminal window
endor run alpine

Or using npx without installing:

Terminal window
npx @endorhq/cli run alpine

You can allow public network access passing the --allow-net flag. See Networking.

Terminal window
npx @endorhq/cli run alpine --allow-net

Connection Details

Once running, Alpine will be available on:

  • Host: localhost
  • Port: SSH access (port 2222)
  • User: root
  • Shell: /bin/sh

What’s Included

The Alpine service provides:

  • Alpine Linux: Latest stable version
  • Minimal footprint: Small, secure base image
  • Package manager: apk for installing additional packages
  • Shell access: Direct command-line interface

Usage Examples

Using Alpine Container

  1. 1

    Start the Alpine service with public network access (See Networking):

    Terminal window
    endor run alpine --allow-net
  2. 2

    Access the container shell (specific connection details will be shown in the output):

    Terminal window
    # Connection details displayed when service starts
    ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@localhost -p 2222
  3. 3

    Run any command you need. You can install new packages too:

    Terminal window
    apk add curl

AI Agent Integration

This Alpine instance integrates seamlessly with AI agents through Endor’s MCP interface. Your AI assistant can:

  • Execute system commands
  • Install and configure packages
  • Set up development environments
  • Run scripts and automation

Learn more about MCP integration.