You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/remote/faq.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,17 +79,17 @@ Yes. The [Remote Development](https://aka.ms/vscode-remote/download/extension) e
79
79
80
80
## Remote - Containers
81
81
82
-
### Are "dev container definitions" supposed to define how an application is deployed?
82
+
### Do "dev container definitions" define how an application is deployed?
83
83
84
84
No. A development container defines an environment in which you develop your application before you are ready to deploy. While deployment and development containers may resemble one another, you may not want to include tools in a deployment image that you use during development.
85
85
86
86
The [vscode-dev-containers repo](https://aka.ms/vscode-dev-containers) includes a set of dev container definitions for some common development environments. You can also [attach to a running container](/docs/remote/containers.md#attaching-to-running-containers) without setting up a dev container definition, if you prefer to use an alternate container build or deployment workflow.
87
87
88
-
### Are "dev containers definitions" intended to define how an application is built? Like Buildpacks?
88
+
### Do "dev containers definitions" define how an application is built? Like Buildpacks?
89
89
90
90
No. The [Buildpacks](https://buildpacks.io/) concept focuses on taking source code and generating deployable container images through a series of defined steps. A dev container is an environment in which you can develop your application before you are ready to build. They are therefore complementary concepts.
91
91
92
-
### Why do some commands invoked from the Docker Extension fail?
92
+
### Why do some commands invoked from the Docker extension fail?
93
93
94
94
Using the Docker extension from a VS Code window opened in a container has some limitations. Most containers do not have the Docker command line installed. Therefore commands invoked from the Docker extension that rely on the Docker command line, for example **Docker: Show Logs**, fail. If you need to execute these commands, open a new local window and use the Docker extension from this VS Code window or [set up Docker inside your container](https://aka.ms/vscode-remote/samples/docker-in-docker).
95
95
@@ -99,7 +99,7 @@ Using the Docker extension from a VS Code window opened in a container has some
99
99
100
100
The VS Code extension API abstracts away local/remote details so most extensions will work without modification. However, given extensions can use any node module or runtime they want, there are situations where adjustments may need to be made. We recommend you should test your extension (particularly in a container) to be sure that no updates are required. See [Supporting Remote Development](/api/advanced-topics/remote-extensions.md) for details.
101
101
102
-
### Can I give an extension access to local resources or APIs when a user is connected remotely?
102
+
### Can an extension access local resources or APIs when a user is connected remotely?
103
103
104
104
When VS Code connects to a remote environment, extensions are classified as either **UI** or **Workspace** extensions. UI Extensions run in a **local extension host**, can contribute UI or personalization features (for example themes), and have access to local files or APIs. Workspace extensions run in a **remote extension host** with the workspace and have full access to the source code, remote filesystem, and remote APIs. While Workspace extensions do not focus on UI customization, they can contribute explorers, views, and other UI elements as well.
0 commit comments