Category: Docker

Apr 25, 2023

docerfile 构建期间如何加入代理?

在 Dockerfile 构建期间,通过添加 `--build-arg` 参数设置 `http_proxy` 和 `https_proxy` 环境变量来使用代理,但可能会影响构建速度,建议构建后将代理配置为运行时环境变量。

Read more
Apr 25, 2023

docerfile 构建期间如何加入代码?

Dockerfile 中使用 `COPY` 指令将本地文件复制到镜像中,并可使用 `RUN` 指令在构建期间执行命令如 `npm install` 安装依赖。

Read more
Apr 25, 2023

docker 私有仓库的搭建详情

搭建 Docker 私有仓库的步骤包括安装 Docker、下载并启动 Docker 镜像仓库、配置 Docker Daemon、重启 Docker Daemon、推送镜像到私有仓库。

Read more
Apr 24, 2023

15 Best Hosting Providers for Developers!

The list includes various hosting providers suitable for developers, each offering unique features and services, and it is advised to compare their offerings before choosing one.

Read more
Apr 23, 2023

vscode 如何创建一个新分支?

在 VS Code 中通过集成终端使用 Git 命令创建并切换到新分支,然后提交修改。

Read more
PreviousNext