--- title: "Docker" type: entity tags: [容器, DevOps] sources: [trae-remote-dev-guide, dev-experience-standards] last_updated: 2026-04-14 --- ## Definition 容器平台,用于应用容器化。 ## 在Trae开发中的角色 - Ubuntu 2开发环境:源码挂载到容器,代码修改实时生效 - Ubuntu 1生产环境:镜像打包,数据持久化 ## 关键配置 - 用户组:用户必须在docker用户组才能免sudo操作 ## Connections - [[Trae]] ← 开发 ← [[Docker]]