1- ---
21# -------------------------------------------------------------------------------------------------------------
32# Copyright (c) Microsoft Corporation. All rights reserved.
43# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
54# -------------------------------------------------------------------------------------------------------------
65
6+ version : ' 3.7'
77services :
88 # Update this to the name of the service you want to work with in your docker-compose.yml file
99 dev :
1010 # You may want to add a non-root user to your Dockerfile and uncomment the line below
1111 # to cause all processes to run as this user. Once present, you can also simply
1212 # use the "remoteUser" property in devcontainer.json if you just want VS Code and
1313 # its sub-processes (terminals, tasks, debugging) to execute as the user. On Linux,
14- # you may need to ensure the UID and GID of the container user you create matches your
14+ # you may need to ensure the UID and GID of the container user you create matches your
1515 # local user. See https://aka.ms/vscode-remote/containers/non-root for details.
1616 # user: vscode
1717
@@ -23,13 +23,13 @@ services:
2323 # Uncomment if you want to expose any additional ports. The snippet below exposes port 3000.
2424 # ports:
2525 # - 3000:3000
26-
26+
2727 volumes :
2828 # Update this to wherever you want VS Code to mount the folder of your project
2929 - .:/workspace:cached
3030
3131 # Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker-compose for details.
32- # - /var/run/docker.sock:/var/run/docker.sock
32+ # - /var/run/docker.sock:/var/run/docker.sock
3333
3434 # Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust.
3535 # cap_add:
@@ -39,3 +39,4 @@ services:
3939
4040 # Overrides default command so things don't shut down after the process ends.
4141 command : /bin/sh -c "while sleep 1000; do :; done"
42+
0 commit comments