Static isStatic getStatic startStatic pullPull a Docker image and run a new container.
Container name.
Docker image (e.g. 'qdrant/qdrant:latest').
Port mappings (e.g. ['6333:6333', '6334:6334']).
Volume mounts (e.g. ['data-vol:/data']).
Optional env?: Record<string, string>Environment variables (e.g. { POSTGRES_PASSWORD: 'pw' }).
Static waitPoll a health check URL until it returns 200 or timeout is reached. Checks every 500ms.
Health check endpoint (e.g. 'http://localhost:6333/healthz').
Maximum time to wait in milliseconds.
True if the endpoint became healthy within the timeout.
15000
Static getGet the mapped host port for a container's internal port. Useful when the host port was dynamically assigned.
Container name.
The container-internal port to look up.
The host port number, or null if not found.
Check if Docker is installed and the daemon is running. Runs
docker infowith a 5-second timeout.