Reader
Toolkit
Reference
Get Lost
Lost in Public
View All Collections →
Vibe with Us
Dive into our vibe coding context engineering playbook
Up and Running
Step by step instructions to get up and running with Lossless toolkit libraries.
Issue Resolution
Find solutions to common problems and issues.
Talks
Watch and learn from our collection of talks and presentations.
Market Maps
Explore the landscape with our comprehensive market maps.
Explorations
Explore our collection of explorations.
Zero to...
See us fumble with things we supposedly know.
Projects
Our Projects
See All
Astro Knots
Advanced Astro, TailwindCSS, and theme framework setup, basic components and patterns.
Killer Setup:
Well architected theme setup and starter kit. Reusable Astro components for modern web development.
Framework Patterns:
Best practices and architectural patterns for Astro projects.
Augment It
Augment any data with AI by importing records or connecting to data sources.
Product Insights for R&D:
Generate insights about customers to inform product development decisions.
Sales Intel, Just-in-Time:
Equip outside sales teams with richer customer context before meetings.
Content Farm
Automated content generation and management system.
Content Automation:
Streamlined workflows for content creation and publishing with Extended Markdown as a first-class citizen.
Publishing Pipeline:
Automated content distribution and management tools.
Context Vigilance
AI-Augmented Product Development Workflow playbook and toolkit.
AI Co-Development Playbook:
Practical playbook for building real products with AI as a co-developer.
Battle-Tested Kit:
Accelerate Context Engineering with our Context Vigilance kit for seamless AI workflow success.
Emergent Innovation
Open source innovation projects and collaborative initiatives.
Examples and Case Studies:
Community-driven innovation in healthcare and technology.
Best Practices & Playbooks:
Contribute to or get inspired by our best practices.
Lossless Flavored Markdown
A polyglot extended-markdown pipeline. Authors keep authoring; LFM normalizes the variations.
One AST, Many Syntaxes:
Obsidian callouts, remark-directive blocks, and (eventually) Markdoc all produce the same MDAST node — adopt new authoring conventions without rewriting renderers.
Build-time Enrichment:
Citations get renumbered, OG metadata gets fetched, and bare links become embeds — all before the page ships, with no runtime cost.
MemoPop AI
Multi-agent investment memo orchestrator powered by Claude and Perplexity.
Investment Memo Generation:
Generate institutional-quality investment memos with 33 specialized AI agents, premium data sources, and full citation trails.
Multi-Firm Deal Intelligence:
Firm-scoped architecture lets multiple VC firms run isolated pipelines with branded exports from a shared open-source codebase.
Changelog
Internal Changelog
See what’s changed in the Lossless platform.
Laerdal Changelog
Track updates specific to the Laerdal integration.
Reader
Toolkit
Reference
Get Lost
Vibe with Us
Dive into our vibe coding context engineering playbook
Up and Running
Step by step instructions to get up and running with Lossless toolkit libraries.
Issue Resolution
Find solutions to common problems and issues.
Explorations
Explore our collection of explorations.
Zero to...
See us fumble with things we supposedly know.
Talks
Watch and learn from our collection of talks and presentations.
Market Maps
Explore the landscape with our comprehensive market maps.
Projects
Astro Knots
Advanced Astro, TailwindCSS, and theme framework setup, basic components and patterns.
Augment It
Augment any data with AI by importing records or connecting to data sources.
Content Farm
Automated content generation and management system.
Context Vigilance
AI-Augmented Product Development Workflow playbook and toolkit.
Emergent Innovation
Open source innovation projects and collaborative initiatives.
Lossless Flavored Markdown
A polyglot extended-markdown pipeline. Authors keep authoring; LFM normalizes the variations.
MemoPop AI
Multi-agent investment memo orchestrator powered by Claude and Perplexity.
Changelog
Internal Changelog
See what’s changed in the Lossless platform.
Laerdal Changelog
Track updates specific to the Laerdal integration.
Exit
PDF
# Introduction to Docker ## Containerize Everything 🐳 Learn the basics of Docker containerization
## What is Docker? - **Container** platform - Packages applications with dependencies - "Build once, run anywhere" - Lightweight alternative to VMs - Industry standard for deployment
## Containers vs Virtual Machines ### Virtual Machines - Full OS for each VM - Heavy resource usage - Slower to start - Complete isolation ### Containers - Share host OS kernel - Lightweight - Start in seconds - Process isolation
## Core Concepts ### Image Read-only template with application ### Container Running instance of an image ### Registry Storage for Docker images ### Dockerfile Instructions to build an image
## Basic Docker Commands ```bash # Pull an image docker pull nginx # List images docker images # Run a container docker run -d -p 80:80 nginx # List running containers docker ps ```
## Working with Containers ```bash # Stop container docker stop <container-id> # Start container docker start <container-id> # Remove container docker rm <container-id> # View logs docker logs <container-id> ```
## Creating a Dockerfile ```dockerfile # Base image FROM node:18-alpine # Set working directory WORKDIR /app # Copy package files COPY package*.json ./ # Install dependencies RUN npm install # Copy app files COPY . . # Expose port EXPOSE 3000 # Start command CMD ["npm", "start"] ```
## Building Images ```bash # Build image docker build -t myapp:latest . # Tag image docker tag myapp:latest myapp:v1.0 # Push to registry docker push myapp:v1.0 ```
### Build Best Practices - Use specific base image versions - Minimize layers - Order commands by change frequency - Use .dockerignore - Don't run as root
## Docker Compose Manage multi-container applications ```yaml version: '3.8' services: web: build: . ports: - "3000:3000" db: image: postgres:15 environment: POSTGRES_PASSWORD: secret ```
## Compose Commands ```bash # Start services docker-compose up -d # Stop services docker-compose down # View logs docker-compose logs # Scale services docker-compose up -d --scale web=3 ```
## Networking ### Bridge Network Default network for containers ### Host Network Share host's network ### Custom Networks ```bash docker network create mynet docker run --network mynet nginx ```
## Volumes Persist data beyond container lifecycle ```bash # Named volume docker run -v mydata:/data nginx # Bind mount docker run -v /host/path:/container/path nginx # List volumes docker volume ls ```
## Common Patterns ### Multi-stage Builds ```dockerfile # Build stage FROM node:18 AS builder WORKDIR /app COPY . . RUN npm run build # Production stage FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html ```
## Security Tips - ✅ Use official images - ✅ Scan for vulnerabilities - ✅ Don't store secrets in images - ✅ Run as non-root user - ✅ Keep images updated
## Debugging ```bash # Execute command in container docker exec -it <container> bash # Inspect container docker inspect <container> # View resource usage docker stats ```
# Start Containerizing! Docker makes deployment consistent and scalable [Back to presentations](/slides/)