vscode docker php,vscode-docker-explorer

Docker Explorer

vscode-docker-explorer.svgformulahendry.docker-explorer.svgformulahendry.docker-explorer.svgformulahendry.docker-explorer.svgvscode-docker-explorer.svg?branch=master

Features

Manage Docker Containers, Docker Images, Docker Hub and Azure Container Registry

Prerequisites

Docker is installed

For Linux user, make sure you could manage Docker as a non-root user without sudo

Usage

Manage Docker Containers in Explorer

e2e4a062511a20ea79ac37ebc8df34aa.png

Manage Docker Images in Explorer

7064088deb96ed52b486515d27919864.png

Manage Docker Hub in Explorer

0477bc900295bf0768296d5896fc9483.png

Manage Azure Container Registry in Explorer

7d36821974b622ff73e9eba503407f42.png

Suggested Docker Images

83e485d62d7d3e79cbf3e49fc5569106.png

Settings

docker-explorer.autoRefreshInterval: Interval (in milliseconds) to auto-refresh containers list. Set 0 to disable auto-refresh. (Default is 1000)

docker-explorer.executionCommand: Command to execute in container.

docker-explorer.containerLogsOptions: Options to show container logs. (Default is "--tail 50 -f")

Visibility of Docker Explorer

You could use below settings to show or hide different explorers:

docker-explorer.showDockerContainers: Docker Containers

docker-explorer.showDockerImages: Docker Images

docker-explorer.showAzureRegistries: Azure Container Registry

docker-explorer.showDockerHubTreeView: Docker Hub

docker-explorer.showSuggestedDockerImages: Suggested Docker Hub Images

Telemetry data

By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below:

{

"docker-explorer.enableTelemetry":false

}

Change Log

See Change Log here

Issues

Currently, the extension is in the very initial phase. If you find any bug or have any suggestion/feature request, please join the chat on Gitter or submit the issues to the GitHub Repo.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
VSCode有很好的Docker扩展,可以让你在容器中开发和调试应用程序。使用VSCode Docker扩展,你可以: - 浏览和管理Docker镜像和容器 - 创建、启动和停止容器 - 在容器中运行应用程序和脚本 - 在容器中进行调试 以下是一些步骤,帮助你在VSCode中使用Docker扩展: 1. 安装Docker 首先,你需要安装Docker,可以从官方Docker网站下载和安装Docker。 2. 安装VSCode 如果你还没有安装VSCode,可以从VSCode官网下载和安装。 3. 安装VSCode Docker扩展 在VSCode中打开扩展面板,搜索并安装Docker扩展。 4. 浏览和管理Docker镜像和容器 在VSCode的左侧侧边栏中,点击Docker图标,可以浏览和管理Docker镜像和容器。你可以选择一个镜像来创建一个新容器,或者选择一个容器来启动、停止、重启或删除它。 5. 创建、启动和停止容器 在VSCode的左侧侧边栏中,点击Docker图标,选择要创建的镜像,右键单击并选择“Create Container”。在弹出的对话框中,可以设置容器的名称、端口映射、环境变量等参数。完成设置后,点击“Create”按钮来创建容器。然后右键单击容器并选择“Start”来启动它,或者选择“Stop”来停止它。 6. 在容器中运行应用程序和脚本 在VSCode的左侧侧边栏中,点击Docker图标,选择要启动的容器,右键单击并选择“Attach Shell”。这将打开一个终端窗口,让你可以在容器中运行命令和脚本。 7. 在容器中进行调试 使用VSCode的调试功能,你可以在容器中进行调试。首先,在VSCode中打开你的应用程序代码,并设置断点。然后,在VSCode的左侧侧边栏中,点击Docker图标,选择要调试的容器,右键单击并选择“Attach Visual Studio Code”。这将打开一个新的VSCode窗口,让你可以在容器中进行调试。 以上是一些基本步骤,帮助你在VSCode中使用Docker扩展。当然,还有更多高级功能和选项可以探索和使用,可以参考VSCode Docker扩展的官方文档来了解更多信息。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值