Tech Ocean
Author

Tech Ocean

Focused on AI programming, sharing ready-to-use development efficiency solutions.

140
Articles
0
Likes
1
Views
0
Comments
Recent Articles

Latest from Tech Ocean

100 recent articles max
Tech Ocean
Tech Ocean
Apr 22, 2026 · Artificial Intelligence

Direct API vs LangChain: Master Every LLM Invocation Method in One Day

This article compares raw API calls with LangChain's abstractions, explains when to use ChatModel versus LLM interfaces, demonstrates model selection across providers, shows how to build prompt templates and output parsers, and provides a complete Python example with error‑handling best practices.

ChatModelLLMLangChain
0 likes · 10 min read
Direct API vs LangChain: Master Every LLM Invocation Method in One Day
Tech Ocean
Tech Ocean
Apr 20, 2026 · Fundamentals

Docker Day 14: A Panoramic Knowledge Map and Interview Cheat Sheet

This article provides a comprehensive Docker knowledge map covering core concepts, essential commands, Dockerfile instructions, multi‑stage builds, networking modes, storage options, security best practices, and a set of high‑frequency interview questions to help readers master Docker in 14 days.

DockerDockerfileSecurity
0 likes · 7 min read
Docker Day 14: A Panoramic Knowledge Map and Interview Cheat Sheet
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 13: Containerizing a Front‑End/Back‑End Separated Project

This tutorial walks through cloning Docker's official Todo App sample, explains the project layout, provides multi‑stage Dockerfiles for a Node.js backend and a Vue/React frontend with Nginx, configures Nginx for SPA routing and API proxy, defines a docker‑compose stack, and shows how to build, run, and scan the images with Docker Scout.

DockerNginxNode.js
0 likes · 4 min read
Docker Day 13: Containerizing a Front‑End/Back‑End Separated Project
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 12: Core Security Practices – Avoid Running Images as Root

This guide outlines Docker's three security pillars—image, runtime, and network—by recommending official images, regular updates, vulnerability scanning, non‑root users, read‑only filesystems with tmpfs, capability dropping, secrets management, and tools like Docker Scout and Trivy, followed by a concise checklist.

DockerDocker ScoutNon-root User
0 likes · 4 min read
Docker Day 12: Core Security Practices – Avoid Running Images as Root
Tech Ocean
Tech Ocean
Apr 19, 2026 · Backend Development

Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery

This tutorial extends the previous FastAPI example by adding Redis caching and Celery asynchronous tasks, showing the project layout, a complete docker‑compose configuration, required Python packages, sample FastAPI and Celery worker code, startup commands, health‑check setup, and key takeaways.

PythonRediscelery
0 likes · 4 min read
Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 9: Mastering the Right Workflow for Local Development

This article explains how Docker can streamline local development by isolating environments, using Docker Compose for multi‑service setups, enabling instant code changes with bind mounts or the official develop:watch feature, and simplifying database connections and common dev commands.

Development WorkflowDockerbind mount
0 likes · 5 min read
Docker Day 9: Mastering the Right Workflow for Local Development
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 8: Enabling Container-to-Container Communication with Networks and Service Names

This article explains Docker’s default bridge, host, and none networks, shows how containers on the same bridge can reach each other via IP or service name using Docker’s embedded DNS, demonstrates custom network creation for isolation, covers port mapping, host access, and troubleshooting techniques.

Bridge NetworkContainer NetworkingCustom Networks
0 likes · 6 min read
Docker Day 8: Enabling Container-to-Container Communication with Networks and Service Names
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 7: Persist Data with Volumes So It Survives Container Deletion

This guide explains why container file systems are transient, compares three Docker storage methods, and demonstrates how to use named volumes—both via the CLI and docker‑compose—to ensure data remains intact after removing containers, with a MySQL persistence example.

Dockerbind mountsdata persistence
0 likes · 5 min read
Docker Day 7: Persist Data with Volumes So It Survives Container Deletion