docker
하는 일
이 스킬은 연구나 실험 코드를 Docker 컨테이너 안에서 실행해 호스트 컴퓨터와 분리합니다. 안전하고 반복 가능한 실행을 원하는 연구자를 위한 스킬입니다.
사용하는 경우
- ✓낯선 논문 저장소의 코드를 안전하게 실행하고 싶을 때.
- ✓실험이 패키지를 설치하거나 시스템 설정을 바꿔서 격리해야 할 때.
- ✓GPU나 Python 환경을 반복 가능한 방식으로 설정해야 할 때.
스킬 링크
https://github.com/Companion-Inc/feynman/blob/main/skills/docker/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 논문의 학습 코드를 Docker 컨테이너 안에서 실행해서, 제 컴퓨터의 아무것도 바뀌지 않게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 프로젝트 폴더를 컨테이너에 마운트하고, 실험 명령을 그 안에서 실행한 뒤 결과를 같은 폴더에 다시 씁니다. 작업에 맞는 기본 이미지를 고릅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Docker Sandbox
Run research code inside Docker containers while Feynman stays on the host. The container gets the project files, runs the commands, and results sync back.
When to use
- User selects "Docker Sandbox" as the execution environment in
/replicateor/autoresearch - Running untrusted code from a paper's repository
- Experiments that install packages or modify system state
- Any time the user asks to run research code safely or isolated for a Feynman workflow
How it works
- Build or pull an appropriate base image for the research code
- Mount the project directory into the container
- Run experiment commands inside the container
- Results write back to the mounted directory
Running commands in a container
For Python research code (most common):
docker run --rm -v "$(pwd)":/workspace -w /workspace python:3.11 bash -c "
pip install -r requirements.txt &&
python train.py
"
For projects with a Dockerfile:
docker build -t feynman-experiment .
docker run --rm -v "$(pwd)/results":/workspace/results feynman-experiment
For GPU workloads:
docker run --rm --gpus all -v "$(pwd)":/workspace -w /workspace pytorch/pytorch:latest bash -c "
pip install -r requirements.txt &&
python train.py
"
Choosing the base image
| Research type | Base image |
|---|---|
| Python ML/DL | pytorch/pytorch:latest or tensorflow/tensorflow:latest-gpu |
| Python general | python:3.11 |
| Node.js | node:20 |
| R / statistics | rocker/r-ver:4 |
| Julia | julia:1.10 |
| Multi-language | ubuntu:24.04 with manual installs |
Persistent containers
For iterative experiments (like /autoresearch), create a named container instead of --rm. Choose a descriptive name based on the experiment:
docker create --name <name> -v "$(pwd)":/workspace -w /workspace python:3.11 tail -f /dev/null
docker start <name>
docker exec <name> bash -c "pip install -r requirements.txt"
docker exec <name> bash -c "python train.py"
This preserves installed packages across iterations. Clean up with:
docker stop <name> && docker rm <name>
Notes
- The mounted workspace syncs results back to the host automatically
- Containers are network-enabled by default — add
--network nonefor full isolation - For GPU access, Docker must be configured with the NVIDIA Container Toolkit
자주 묻는 질문
Docker가 설치되어 있어야 하나요?
네. 명령이 Docker를 사용하므로 컴퓨터에 설치되어 있어야 합니다.
GPU를 쓸 수 있나요?
네. GPU가 필요한 작업을 위한 명령이 포함되어 있습니다.
결과는 어디에 저장되나요?
마운트된 프로젝트 폴더에 다시 기록되므로, 내 컴퓨터에서 결과를 볼 수 있습니다.
상세 정보
작성자의 원본 설명
Execute research code inside isolated Docker containers for safe replication, experiments, and benchmarks. Use when the user selects Docker as the execution environment or asks to run code safely, in isolation, or in a sandbox.
repo: Companion-Inc/feynman
인기도
- GitHub 스타
- 10k
- 순위
- #12024
- 라이선스
- MIT
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
alpha-research
10k에이전트가 alphaXiv 연구 도구를 사용해 학술 논문을 검색하고, 읽고, 질문하며, 그 메모를 저장하도록 돕습니다.
autoresearch
10k벤치마크에 맞서 아이디어를 시험하고, 잘 되는 것은 유지하고 실패한 것은 기록하는 제한된 실험 루프를 실행해 연구 성과를 측정합니다.
deep-research
10k어떤 주제든 많은 출처를 바탕으로 철저히 조사하고, 각 주장의 출처를 인용한 연구 보고서를 작성하며, 사실의 출처를 추적하는 파일을 만듭니다.
eli5
10k에이전트가 논문이나 기술 개념을 쉬운 단어, 명확한 비유 하나, 짧은 핵심 정리와 함께 설명하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.