Reference docMembers
Containers (api)
Containers (api) is a reference document for Claude Code, from the Claude Code templates (davila7) collection by davila7. The full text is about 462 words in 20 sections, with 16 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.
It is most useful for people working in Backend and DevOps and infrastructure who use Claude Code.
What it covers
- Container Class API
- Routing
- Startup Methods
- start - Basic start 8s timeout
- startAndWaitForPorts - Recommended 20s timeout
- waitForPort - Wait for specific port
- Communication
- fetch - HTTP with WebSocket support
- containerFetch - HTTP only no WebSocket
- TCP Connections
The full text is in the members library
Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.
Author: davila7, Claude Code templates (davila7). License: Apache-2.0.