docker​file

纯净搜索 为您找到 本页 10 条,用时 1.31 秒(数据源:bingrss)

AI 回答 由 glm-4-flash 生成 · 仅供参考,请自行核实
1. Dockerfile 是一个文本文件,用于定义 Docker 镜像的构建过程。
2. 它包含一系列指令,描述了如何从基础镜像构建目标镜像。
3. 常用指令包括:
· `FROM`:指定基础镜像。
· `RUN`:执行命令。
· `COPY`:复制文件或目录。
· `EXPOSE`:暴露端口。
· `CMD`:设置容器启动时运行的命令。
· `ENTRYPOINT`:设置容器启动时运行的入口点。
4. 示例代码:

FROM alpine
RUN echo "Hello, Docker!" > hello.txt
COPY hello.txt /
CMD ["cat", "/hello.txt"]

Docker 教程 | 菜鸟教程

Docker 教程 Docker 是一个开源的应用容器引擎,基于 Go 语言 并遵从 Apache2.0 协议开源。 Docker 可以让开发者打包他们的应用以及依赖包到一个轻量级、可移植的容器中,然后发布到任何流行的 Linux 机器上,也可以实现虚拟化。
runoob.com

Install Docker Engine

Docker provides support for Docker products, including Docker Desktop, which uses Docker Engine as one of its components. For information about the open source project, refer to the Moby project website.
docs.docker.com

Docker | Secure Sandboxes for AI Agents

Run AI agents and containers safely, anywhere. Docker gives builders trusted sandboxes, governance, and a secure supply chain for modern software.
docker.com

Docker (software) - Wikipedia

Using docker stack instead of docker compose offers several advantages, such as the ability to manage a Swarm cluster across multiple machines or the capability to work with docker secret combined with docker context, a feature that allows executing Docker commands on a remote host, enabling remote container management.
en.wikipedia.org

Install Docker Desktop on Windows

Docker only supports Docker Desktop on Windows for those versions of Windows that are still within Microsoft’s servicing timeline . Docker Desktop is not supported on server versions of Windows, such as Windows Server 2019 or Windows Server 2022.
docs.docker.com

Docker - 維基百科,自由的百科全書

Docker Machine 是一個工具,它允許你在虛擬宿主機上安裝 Docker引擎,並使用 docker-machine 命令管理這些宿主機。 你可以使用 Machine 在你本地的 Mac 或 Windows box、公司網路、資料中心、或像 AWS 或 Digital Ocean 這樣的雲提供商上建立 Docker 宿主機。
zh.wikipedia.org

Docker - 维基百科,自由的百科全书

Docker Machine 是一个工具,它允许你在虚拟宿主机上安装 Docker引擎,并使用 docker-machine 命令管理这些宿主机。 你可以使用 Machine 在你本地的 Mac 或 Windows box、公司网络、数据中心、或像 AWS 或 Digital Ocean 这样的云提供商上创建 Docker 宿主机。
zh.wikipedia.org