_1、安装docker
_2、安装LangFlow
docker run -p 7860:7860 langflowai/langflow:latest
_3 、通过http://localhost:7860/访问Langflow。
_4、查看langflow的版本

_5、保存镜像用于离线环境安装。
docker save langflowai/langflow:latest -o langflow-1.7.3.tar
root@rocky95temp yum.repos.d\]# docker run -p 7860:7860 langflowai/langflow:latest Unable to find image 'langflowai/langflow:latest' locally latest: Pulling from langflowai/langflow 119d43eec815: Pull complete 83e2eb8c4c73: Pull complete 671677b67e76: Pull complete 3d6ef8a4ce0a: Pull complete e586d683444e: Pull complete 6dc4c9134880: Pull complete d1b6a95c87e4: Pull complete c151ed247c47: Pull complete 77248f730306: Pull complete 4f4fb700ef54: Pull complete Digest: sha256:40d1807209bbd80a9e365e2a79e88390bab167515547891652efe5246db59f23 Status: Downloaded newer image for langflowai/langflow:latest /app/.venv/lib/python3.12/site-packages/langflow/main.py:20: FastAPIPaginationWarning: Pydantic v2.12.5 or higher is required for full compatibility. Please upgrade your Pydantic version to avoid potential issues.Support for Pydantic versions lower than v2.12.5 will be dropped in fastapi-pagination v0.16.0. from fastapi_pagination import add_pagination ✓ Initializing Langflow... ✓ Checking Environment... ▣ Starting Core Services...2026-02-04T12:52:35.664479Z \[warning \] CORS: Using permissive defaults (all origins + credentials). Set LANGFLOW_CORS_ORIGINS for production. Stricter default s in v2.0. ✓ Starting Core Services... ✓ Connecting Database... ✓ Loading Components... ✓ Adding Starter Projects... □ Launching Langflow...2026-02-04T12:52:37.536074Z \[info \] Initializing alembic □ Launching Langflow...2026-02-04T12:52:38.109471Z \[warning \] Column 'created_at' has type DATETIME in table 'apikey' 2026-02-04T12:52:38.111461Z \[warning \] Column 'created_at' has type DATETIME in table 'variable' 2026-02-04T12:52:38.111620Z \[warning \] Column 'updated_at' has type DATETIME in table 'variable' ■ Launching Langflow.../app/.venv/lib/python3.12/site-packages/lfx/schema/cross_module.py:48: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprec ated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. if not hasattr(instance, "model_fields"): ✓ Launching Langflow... ╭─────────────────────────────────────────────────────────────────────────╮ │ │ │ Welcome to Langflow │ │ │ │ 🌟 GitHub: Star for updates → https://github.com/langflow-ai/langflow │ │ 💬 Discord: Join for support → https://discord.com/invite/EqksyE2EX9 │ │ │ │ We collect anonymous usage data to improve Langflow. │ │ To opt out, set: DO_NOT_TRACK=true in your environment. │ │ │ │ 🟢 Open Langflow → http://localhost:7860 │ │ │ ╰─────────────────────────────────────────────────────────────────────────╯ 2026-02-04T12:53:44.900523Z \[info \] File _mcp_servers_05fa6f66-0332-4a48-93c8-9c3d4c7f8570.json saved successfully in flow 05fa6f66-0332-4a48-93c8-9c3d4c7f8570. 2026-02-04T12:53:44.930743Z \[info \] File _mcp_servers_05fa6f66-0332-4a48-93c8-9c3d4c7f8570.json deleted successfully from flow 05fa6f66-0332-4a48-93c8-9c3d4c7f8570. 2026-02-04T12:53:44.962211Z \[info \] File _mcp_servers_05fa6f66-0332-4a48-93c8-9c3d4c7f8570.json saved successfully in flow 05fa6f66-0332-4a48-93c8-9c3d4c7f8570.