轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
agents

wisrovi/agents

wisrovi

下载次数: 0状态:社区镜像维护者:wisrovi仓库类型:镜像最近更新:5 天前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
使用轩辕镜像,把时间还给真正重要的事。
点击查看

wAgents - Docker Container Guide

!https://img.shields.io/badge/Docker-Ready-blue.svg !https://img.shields.io/badge/Python-3.x-green.svg !https://img.shields.io/badge/CUDA-12.0-brightgreen.svg !https://img.shields.io/badge/License-MIT-yellow.svg

https://github.com/wisrovi/wAgents

A comprehensive Docker-based development environment specifically designed for AI agent development, equipped with GPU acceleration, security tools, code quality assurance, and a rich set of development utilities.

🎯 What's Inside This Container

Once you build and run this container, you get a complete AI development environment with:

  • 🎯 GPU Acceleration: Full NVIDIA CUDA 12.0 support for ML/AI workloads
  • 🔒 Security-First: Integrated vulnerability scanning (Bandit, Safety) and security analysis tools
  • ✨ Code Quality: Automated linting, formatting, and pre-commit hooks with Ruff
  • 📊 Data Management: DVC (Data Version Control) with S3 integration
  • 🛠️ Development Tools: Rich terminal experience with Zsh, Oh My Zsh, and 20+ productivity tools
  • 🐳 Container Ready: Optimized Docker setup with GPU passthrough and Docker-in-Docker
  • 🤖 AI Agent Support: Pre-configured for GitHub Copilot and Google *** CLI

📁 Container File Structure

Container: wAgents/
├── 📁 /app/                              # Main application directory (mounted from host)
│   ├── 📁 python/examples/               # Example code for testing tools
│   │   ├── 📁 security/                  # Security vulnerability examples
│   │   │   ├── 📄 test_code_scan.py     # Code with security vulnerabilities
│   │   │   └── 📄 test_library_scan.py  # Dependencies with known CVEs
│   │   ├── 📁 quality/                   # Code quality issue examples
│   │   │   └── 📄 test_quality_check.py # Code with quality issues
│   │   ├── 📁 yolo/                      # YOLO AI/ML examples
│   │   │   ├── 📁 person detection detection.v2i.yolov11/  # Person detection dataset
│   │   │   │   ├── 📁 train/               # Training images & labels
│   │   │   │   ├── 📁 valid/               # Validation images & labels
│   │   │   │   ├── 📁 test/                # Test images & labels
│   │   │   │   └── 📄 data.yaml            # Dataset configuration
│   │   │   ├── 📄 train_yolo.py         # YOLO training example
│   │   │   ├── 📄 validate_yolo.py      # YOLO validation example
│   │   │   ├── 📄 test_yolo.py          # YOLO testing example
│   │   │   └── 📄 inference_yolo.py     # YOLO inference example
│   │   └── 📁 other/                     # General development examples
│   │       └── 📄 test_other_tools.py    # Code with style issues
│   ├── 📁 requirements/                  # Python dependencies
│   │   ├── 📄 base.txt                   # Core development tools
│   │   ├── 📄 dvc.txt                    # Data version control
│   │   ├── 📄 security.txt               # Security scanning tools
│   │   ├── 📄 yolo.txt                   # AI/ML object detection tools
│   │   └── 📄 see_image_terminal.txt     # Terminal image viewing
│   ├── 📁 scripts/                       # Automation scripts
│   │   ├── 📁 executor/                  # Runtime execution scripts
│   │   │   ├── 📁 security/             # Security scanning scripts
│   │   │   │   ├── 📄 scan_code_vulnerability.sh
│   │   │   │   └── 📄 scan_libraries_vulnerability.sh
│   │   │   ├── 📁 quality/              # Code quality scripts
│   │   │   │   └── 📄 correct_quality_py.sh
│   │   │   ├── 📁 images/               # Image viewing scripts
│   │   │   │   ├── 📄 see_image_with_clickimage.py
│   │   │   │   └── 📄 see_imagen_with_sixel.py
│   │   │   ├── 📁 other/                # Utility scripts
│   │   │   │   └── 📄 new_curl.sh
│   │   │   └── 📄 auto_reload_py.sh     # Auto-reload Python apps
│   │   └── 📁 install/                  # Installation and setup scripts
│   │       ├── 📄 dvc_controller.sh     # DVC setup
│   │       ├── 📄 images_control.sh     # Image management
│   │       └── 📄 other_agents.sh       # AI agents installation
│   ├── 📄 Dockerfile                    # Container definition
│   ├── 📄 docker-compose.yml            # Service orchestration
│   ├── 📄 README.md                     # Host documentation
│   └── 📄 William-1.jpg                 # Sample image
├── 📁 /requirements/                     # Container requirements (build-time copy)
├── 📁 /scripts/                          # Container scripts (build-time copy)
├── 📁 /python_test/                      # Test Python files (build-time copy)
└── 📁 /root/                             # Home directory with Zsh config

🏗️ Container Environment

1. Shell Environment

When you enter the container, you get:

bash
# You are here: /root (home directory)
# Shell: Zsh with Oh My Zsh
# Prompt: Customized with git status
# Aliases: 20+ productivity shortcuts

Key Aliases Available:

bash
# Navigation
ls          # Enhanced listing with icons (exa)
ll          # Detailed listing (exa -l --icons)
la          # All files with details (exa -la --icons)
cd myproject # Smart directory jumping (zoxide)
tree        # Interactive directory tree (broot)

# Search & Find
grep pattern . # Fast search with ripgrep
find filename   # Fast file finding (fd)

# System Monitoring
du          # Better disk usage (dust)
df          # Better disk free (duf)
ps          # Better process listing (procs)
top         # Better system monitor (btop)

# Development
cat file    # Cat with syntax highlighting (batcat)
nano file   # Microsoft Edit editor
help        # Shows welcome banner

2. Python Environment

All Python tools are pre-installed and ready:

bash
# Security tools
bandit --version          # Security linter
safety --version          # Dependency scanner
scapy                     # Packet manipulation

# Quality tools  
ruff --version            # Fast linter/formatter
pre-commit --version      # Git hooks

# Data tools
dvc --version             # Data version control
pandas --version          # Data manipulation
boto3 --version           # AWS SDK

# AI/ML tools
ultralytics --version     # YOLO object detection
python -c "import torch"  # PyTorch framework
python -c "import cv2"     # OpenCV computer vision

# Development tools
ipython                   # Enhanced Python REPL
nvitop                    # GPU process monitoring
watchdog                  # File system monitoring

3. Container Paths (Based on Dockerfile COPY locations)

Container PathPurposeWhat You'll Find
/appMain application directoryYour project files (mounted from host)
/scriptsBuild-time scripts copyScripts copied during build
/scripts/executor/security/Security toolsVulnerability scanning scripts
/scripts/executor/quality/Quality toolsCode quality scripts
/python_testTest Python files copyPython examples copied during build
/python_test/examples/Test examplesCode with intentional issues
/python_test/examples/yolo/YOLO examplesAI/ML object detection examples
/requirementsRequirements copyRequirements files copied during build
/requirements/yolo.txtYOLO dependenciesAI/ML object detection tools
/root/.zshrcShell configurationAliases, plugins, settings
/root/.oh-my-zsh/Zsh frameworkPlugins and themes

📚 Getting Started Inside Container

First Steps

bash
# 1. Enter the container
docker-compose exec agent zsh

# 2. You'll see the welcome banner automatically
# 3. Navigate to your project
cd /app

# 4. See what's available
help  # Shows all tools and scripts
ls    # See project structure

Security Testing

bash
# Navigate to security examples (using build-time copy)
cd /python_test/examples/security

# Run security scan on vulnerable code
/scripts/executor/security/scan_code_vulnerability.sh

# Expected output:
# >> Issue: [B608:hardcoded_sql_expressions] 
# >> Severity: Medium   Confidence: High
# >> Location: test_code_scan.py:6
# >> More Info: https://bandit.readthedocs.io/en/latest/

# Run dependency vulnerability scan
/scripts/executor/security/scan_libraries_vulnerability.sh

# Expected output:
# >> WARNING: requests==2.25.0 has known vulnerabilities
# >> WARNING: urllib3==1.26.0 has known vulnerabilities

Code Quality Testing

bash
# Navigate to quality examples (using build-time copy)
cd /python_test/examples/quality

# Run quality check and auto-fix
/scripts/executor/quality/correct_quality_py.sh

# Expected output:
# >> test_quality_check.py:6:1: E501 Line too long (85 > 88)
# >> test_quality_check.py:9:1: F841 Unused variable 'unused_var'
# >> Fixed 2 issues

YOLO AI/ML Testing

bash
# Install YOLO dependencies
pip install -r /requirements/yolo.txt

# Navigate to YOLO examples
cd /python_test/examples/yolo

# Test YOLO training on person detection dataset
python train_yolo.py

# Test YOLO validation on trained model
python validate_yolo.py

# Test YOLO testing and benchmarking
python test_yolo.py

# Test YOLO inference (single image from dataset)
python inference_yolo.py --image "/python_test/examples/yolo/person detection detection.v2i.yolov11/test/images/ektp30_jpeg.rf.d8df759f943f1b0edf4bf8829ff61533.jpg"

# Test YOLO inference (batch on dataset samples)
python inference_yolo.py --samples 10

# Test YOLO real-time inference
python inference_yolo.py --camera 0

# Dataset info:
# - Dataset: Person Detection v2 (YOLOv11 format)
# - Classes: ['Face'] (1 class)
# - Train/Val/Test split available
# - Real images with person annotations

Development Workflow

bash
# Navigate to your project
cd /app

# Start auto-reload development server
/scripts/executor/auto_reload_py.sh

# In another terminal, view images
/scripts/executor/images/see_imagen_with_sixel.py /app/scripts/William-1.jpg

# Use productivity tools
rg "import" /python_test/examples/  # Fast search
exa --tree /python_test/examples/  # Tree view
btop                               # System monitor

🔧 Available Tools by Category

Security Tools

ToolCommandPurposeExample Usage
Banditbandit -r .Python security linterbandit -r /python_test/examples/
Safetysafety checkDependency vulnerability scannersafety check -r requirements.txt
Scapypython -c "import scapy"Packet manipulationscapy.all.IP().show()
Py-spypy-spy top --pid <pid>Python profilerpy-spy top -- python app.py

Quality Tools

ToolCommandPurposeExample Usage
Ruffruff check --fix .Fast linter/formatterruff check --fix /python_test/examples/
Pre-commitpre-commit run --all-filesGit hookspre-commit run --all-files
Blackruff format .Code formatterruff format /python_test/examples/

Development Tools

ToolCommandPurposeExample Usage
DVCdvc initData version controldvc init --no-scm
IPythonipythonEnhanced REPLipython --matplotlib
NVitopnvitopGPU monitoringnvitop
WatchdogwatchmedoFile monitoringwatchmedo auto-restart .

Productivity Tools

ToolAliasPurposeExample Usage
Exals, ll, laModern lsll --git
RipgrepgrepFast searchgrep "TODO" /python_test/
FdfindFast findfind "*.py" /python_test/
BroottreeInteractive treetree /python_test/
DustduDisk usagedu /python_test/
DufdfDisk freedf -h
ProcspsProcess listps python
BtoptopSystem monitorbtop

🔄 Container Lifecycle

Build Process

mermaid
graph LR
    A[Host Files] --> B[COPY requirements]
    B --> C[requirements]
    A --> D[COPY scripts]
    D --> E[scripts]
    A --> F[COPY python]
    F --> G[python_test]
    C --> H[Install Python Packages]
    E --> I[Configure Scripts]
    G --> J[Setup Examples]
    H --> K[Install AI/ML Tools]
    I --> K
    J --> K
    K --> L[Final Container]
    
    subgraph "AI/ML Components"
        M[Ultralytics YOLO]
        N[PyTorch]
        O[OpenCV]
        P[Person Detection Dataset]
    end
    
    H --> M
    H --> N
    H --> O
    J --> P

Runtime Process

mermaid
graph TB
    A[Container Start] --> B[WORKDIR app]
    B --> C[Mount Host Volume]
    C --> D[Zsh Shell Ready]
    D --> E[Tools Available]
    E --> F[Scripts at scripts]
    E --> G[Examples at python_test]
    E --> H[Project at app]
    E --> I[AI/ML Environment]
    F --> J[Welcome Script]
    G --> J
    H --> J
    I --> J
    J --> K[Ready for Development]
    
    subgraph "AI/ML Runtime"
        L[Person Detection Dataset]
        M[GPU Acceleration]
        N[Model Training]
        O[Real-time Inference]
    end
    
    I --> L
    I --> M
    I --> N
    I --> O

🐛 Container Troubleshooting

Common Issues & Solutions

GPU Not Available

bash
# Check GPU inside container
nvidia-smi

# Expected output: GPU information table
# If error: Check NVIDIA runtime installation
docker run --rm --gpus all wisrovi/agents:gpu-slim nvidia-smi

Scripts Not Executable

bash
# Fix permissions inside container
chmod +x /scripts/executor/security/*.sh
chmod +x /scripts/executor/quality/*.sh
chmod +x /scripts/install/*.sh

# Or run with bash explicitly
bash /scripts/executor/security/scan_code_vulnerability.sh

Python Packages Not Found

bash
# Check installed packages
pip list | grep -E "(bandit|safety|ruff|dvc)"

# Reinstall if needed
pip install -r /requirements/security.txt
pip install -r /requirements/base.txt

Aliases Not Working

bash
# Reload shell configuration
source /root/.zshrc

# Or restart container
docker-compose restart agent

Container Debugging

bash
# Check container status
docker-compose ps

# Access container with full shell
docker-compose exec agent zsh

# Check environment variables
env | grep -E "(PATH|PYTHON|CUDA|HOME)"

# Check mounted volumes
mount | grep /app

# Check running processes
ps aux | grep -E "(python|zsh)"

# Check disk usage
df -h
du -sh /python_test

Performance Monitoring

bash
# Monitor GPU usage
nvitop

# Monitor system resources
btop

# Monitor Python processes
py-spy top --pid $(pgrep -f python)

# Check network connectivity
ping google.com
curl -I https://github.com

🚀 Advanced Usage

Custom Development Environment

bash
# Create custom workspace
mkdir -p /app/workspace/my_project
cd /app/workspace/my_project

# Initialize git
git init
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

# Set up pre-commit hooks
pre-commit install

# Initialize DVC for data management
dvc init
dvc remote add -d myremote s3://my-bucket/data

Batch Processing

bash
# Run security scans on all Python files
find /python_test -name "*.py" -exec bandit {} \;

# Run quality checks with output to file
ruff check /python_test/examples/ > quality_report.txt

# Run dependency checks on all requirements
find /requirements -name "*.txt" -exec safety check -r {} \;

Container Customization

bash
# Add custom aliases (temporary)
echo "alias mytool='python /scripts/mytool.py'" >> /root/.zshrc
source /root/.zshrc

# Install additional Python packages
pip install jupyterlab matplotlib seaborn

# Install system packages
apt-get update && apt-get install -y htop tree

📞 Support

  • 📧 *** ***
  • 💼 LinkedIn: wisrovi-rodriguez
  • 🐛 Issues: https://github.com/wisrovi/wAgents/issues

Built with ❤️ for the AI Agent development community

This guide focuses on what you'll find inside the container once it's built and running.

to use

alias

alias wisrovi="docker run --rm --hostname wAgent --init -i -t --shm-size 16g --cpus 6.0 --memory 16g --gpus all --log-opt max-size=50m -e TZ=Europe/Madrid -v "$(pwd)":/app -v /var/run/docker.sock:/var/run/docker.sock -v ~/.ssh:/root/.ssh:ro wisrovi/agents:gpu-slim zsh"

temporal container

docker run \
  --rm \
  --hostname wAgent \
  --init \
  -i -t \
  --shm-size 16g \
  --cpus 6.0 \
  --memory 16g \
  --gpus all \
  --log-opt max-size=50m \
  -e TZ=Europe/Madrid \
  -v "$(pwd)":/app \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v ~/.ssh:/root/.ssh:ro \
  wisrovi/agents:gpu-slim \
  zsh

perpetual coontainer

docker run -d \
  --name wisrovi-agent-gpu \
  --hostname wAgent \
  --restart unless-stopped \
  --init \
  -i -t \
  --shm-size 16g \
  --cpus 6.0 \
  --memory 16g \
  --gpus all \
  --log-opt max-size=50m \
  -e TZ=Europe/Madrid \
  -v "$(pwd)":/app \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v ~/.ssh:/root/.ssh:ro \
  wisrovi/agents:gpu-slim

docker-compose

services:
  agents:
    image: wisrovi/agents:gpu-slim
    volumes:
      - ./:/app
      - /var/run/docker.sock:/var/run/docker.sock
      - ~/.ssh:/root/.ssh:ro
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
        limits:
          cpus: '6.0'
          memory: 16g
    stdin_open: true
    tty: true
    shm_size: 16g
    hostname: wAgent
    restart: unless-stopped
    init: true
    logging:
      driver: "json-file"
      options:
        max-size: "50m"
        max-file: "5"

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 agents 镜像标签

docker pull docker.xuanyuan.run/wisrovi/agents:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull wisrovi/agents:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

iKuai 镜像加速

宝塔面板

一键配置镜像源

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
wisrovi/agents
教程轩辕镜像功能与使用教程
定价查看流量套餐与价格
热门查看热门 Docker 镜像推荐
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 agents 镜像推荐

savysofttik/agents logo

savysofttik/agents

savysofttik
暂无描述
100万+ 次下载
4 年前更新
devrehuman/agents logo

devrehuman/agents

devrehuman
暂无描述
10万+ 次下载
4 年前更新
codenvy/agents logo

codenvy/agents

codenvy
暂无描述
1万+ 次下载
8 年前更新
replicanteio/agents logo

replicanteio/agents

replicanteio
官方Replicante代理镜像,提供MongoDB和Zookeeper数据存储的监控与管理功能,作为中央平台与数据存储之间的交互接口。
602 次下载
6 年前更新

查看更多 agents 相关镜像