diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8eff288..f06df56 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -28,10 +28,8 @@ // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [8080], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html" - // Use 'portsAttributes' to set default properties for specific forwarded ports. + // You can use a port number (i.e. 8000), range of numbers, or a regex to match the running process. "portsAttributes": { "8000": { "label": "Hello Remote World", @@ -39,6 +37,14 @@ } }, + // Use 'otherPortsAttributes' to configure any ports that aren't configured using 'portsAttributes'. + // "otherPortsAttributes": { + // "onAutoForward": "silent" + // }, + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html" + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode" }