Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Docker Skill

v1.0.0

Installs and uses Docker reliably with official docs. Use when installing Docker (Desktop or Engine), building or running containers, writing Dockerfiles, us...

0· 665·5 current·5 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, and instructions consistently focus on installing, configuring, and using Docker. The declared dependency (presence of docker CLI) matches the stated purpose and there are no unrelated binaries, env vars, or config paths requested.
Instruction Scope
Instructions stay within Docker's scope (install steps, Dockerfile guidance, compose). They include potentially impactful system commands (removing conflicting packages with apt, adding a user to the docker group, starting services) and recommend an official convenience script (curl https://get.docker.com && sh). These are expected for Docker setup but are operationally sensitive and should be run with care; the skill does not instruct the agent to read unrelated files or exfiltrate data.
Install Mechanism
This is an instruction-only skill with no install spec written to disk. All download URLs referenced are official Docker domains (desktop.docker.com, docs.docker.com, get.docker.com). The only higher-risk operation suggested is fetching and executing the official get-docker.sh script — this is common in Docker docs but involves executing remote script code, which is a standard-but-sensitive action.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not ask for unrelated secrets or system-wide credentials.
Persistence & Privilege
always:false and no install artifacts are requested. The skill's runtime actions (start service, add user to docker group) are appropriate for installing/using Docker and do not modify other skills or global agent configuration.
Assessment
This skill appears to do what it says: guide installation and use of Docker using official docs. Before running any commands it suggests, verify they match your OS/version and your security policies. Specific cautions: (1) The apt removal commands and package installs are destructive if run blindly—inspect them before executing. (2) The convenience script (get.docker.com) is official but downloads and runs a shell script from the network; prefer package-manager installs for production. (3) Adding a user to the docker group gives that user effective root-level container privileges—treat that as a security decision. (4) Commands like docker system prune and force-removals can delete data; back up anything important. If you need higher assurance, follow the official Docker docs yourself rather than running remote scripts, and avoid running recommended commands with sudo in environments you don't control.

Like a lobster shell, security has layers — review code before you run it.

latestvk975b5anae66xzyjj2afwdnsws81q9vb

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Any bindocker

SKILL.md

Docker — Install and Use Containers

Enables OpenClaw (and Cursor) to install Docker and use it reliably. Base all guidance on official Docker docs; when in doubt, fetch from canonical URLs below.

When to Apply

  • User wants to install Docker (macOS, Linux, Windows)
  • User asks about containers, images, Dockerfile, docker compose
  • Building, running, or debugging Docker commands or workflows
  • User asks for "latest Docker docs" or "how do I use Docker"

Canonical Documentation URLs

PurposeURL
Get started / overviewhttps://docs.docker.com/get-started/overview/
Get Docker (install)https://docs.docker.com/get-started/get-docker/
Develop with containershttps://docs.docker.com/get-started/introduction/develop-with-containers/
Guideshttps://docs.docker.com/guides/
Manuals (install, config, use)https://docs.docker.com/manuals/
Reference (CLI, Dockerfile, API)https://docs.docker.com/reference/
Engine install (Linux)https://docs.docker.com/engine/install/
Docker Desktop Machttps://docs.docker.com/desktop/install/mac-install/
Docker CLI referencehttps://docs.docker.com/reference/cli/docker/
Dockerfile referencehttps://docs.docker.com/reference/dockerfile/

Rule: For install steps, CLI syntax, or Dockerfile instructions, fetch the relevant doc URL and use that content. Do not rely on training data for version-specific install or command details.


Installation (Reliable Paths)

macOS

Recommended: Docker Desktop

  1. Download from official docs: Install Docker Desktop on Mac.
    • Apple Silicon: https://desktop.docker.com/mac/main/arm64/Docker.dmg
    • Intel: https://desktop.docker.com/mac/main/amd64/Docker.dmg
  2. Open Docker.dmg, drag Docker to Applications, then open Docker.app and accept terms.
  3. CLI install (optional): After downloading the DMG:
    sudo hdiutil attach Docker.dmg
    sudo /Volumes/Docker/Docker.app/Contents/MacOS/install
    sudo hdiutil detach /Volumes/Docker
    
  4. Verify: docker run hello-world

OpenClaw / automation: If docker is missing and the user is on macOS, suggest installing via Homebrew: brew install --cask docker, then starting Docker Desktop so the daemon is running.

Linux (Ubuntu example)

  1. Prefer Docker Engine from apt (see Install Docker Engine on Ubuntu).
  2. Remove conflicting packages first:
    sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-compose-v2 docker-doc podman-docker containerd runc 2>/dev/null | cut -f1)
    
  3. Add Docker’s apt repo, then:
    sudo apt update
    sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    sudo systemctl start docker
    sudo docker run hello-world
    
  4. Optional (run without sudo): Linux postinstall — add user to docker group.

Convenience script (dev/test only): curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh. Not recommended for production.

Windows

Use Get Docker and follow Docker Desktop for Windows (WSL2 backend recommended).


Core Workflow: Build and Run

  1. Dockerfile in app directory (see reference.md or Dockerfile reference).
  2. Build image: docker build -t <name> .
  3. Run container: docker run -d -p HOST_PORT:CONTAINER_PORT <name> (e.g. -p 127.0.0.1:3000:3000).
  4. List containers: docker ps (running), docker ps -a (all).
  5. Stop/remove: docker stop <container>, docker rm <container>.

Example from official getting-started:

docker build -t getting-started .
docker run -d -p 127.0.0.1:3000:3000 getting-started
# Open http://localhost:3000

Daemon Must Be Running

  • Docker Desktop (Mac/Windows): Ensure Docker Desktop app is running; docker CLI talks to its daemon.
  • Linux: sudo systemctl start docker (and enable if needed).
  • If the user sees "Cannot connect to the Docker daemon", direct them to start Docker Desktop or the engine service and try again.

Quick Reference

  • Images: docker pull <image>, docker images, docker rmi <image>
  • Containers: docker run, docker ps, docker stop, docker rm, docker logs <container>
  • Compose: docker compose up -d, docker compose down — use compose.yaml in project root (see Compose file reference).
  • Cleanup: docker system prune -a (removes unused images/containers/networks; use with care).

Additional Resources

Files

2 total
Select a file
Select a file to preview.

Comments

Loading comments…