DEV Community

tamilvanan
tamilvanan

Posted on

Running Parrot Core (Minimal / No Bloat) Inside My Debian

Docker image

parrotsec/core
Enter fullscreen mode Exit fullscreen mode

This is true Parrot Core.


✅ Goal

Create a single command:

parrot
Enter fullscreen mode Exit fullscreen mode

✅ Step-by-Step (from creating the file)

1️⃣ Create the command file

Create a system-wide executable:

sudo nano /usr/local/bin/parrot
Enter fullscreen mode Exit fullscreen mode

2️⃣ Paste this script (CORE ONLY)

#!/usr/bin/env bash
set -e

CONTAINER="parrot-core"
IMAGE="parrotsec/core"

# Check Docker exists
if ! command -v docker >/dev/null 2>&1; then
  echo "[!] Docker not installed"
  exit 1
fi

# Pull Parrot Core image if missing
if ! docker image inspect "$IMAGE" >/dev/null 2>&1; then
  echo "[*] Pulling Parrot CORE (no bloat)..."
  docker pull "$IMAGE"
fi

# Create container once (if not exists)
if ! docker container inspect "$CONTAINER" >/dev/null 2>&1; then
  echo "[*] Creating minimal Parrot CORE container..."
  docker create -it \
    --name "$CONTAINER" \
    --hostname parrot \
    --network host \
    -v "$HOME:/host" \
    "$IMAGE" \
    bash
fi

# Start and attach
exec docker start -ai "$CONTAINER"
Enter fullscreen mode Exit fullscreen mode

Save and exit.


3️⃣ Make it executable (once)

sudo chmod +x /usr/local/bin/parrot
Enter fullscreen mode Exit fullscreen mode

4️⃣ Run Parrot Core

parrot
Enter fullscreen mode Exit fullscreen mode

You are now inside Parrot Security OS (core only).


Top comments (0)