add initializecommand
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
// "--pid=host", // Shares the host's PID namespace with the container
|
||||
"--privileged", // Gives the container full access to the host's devices and allows it to run with root privileges
|
||||
],
|
||||
"initializeCommand": "xhost +local:docker", // Allows the container to access the X server on the host e.g. to run Rviz and other GUI tools
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/ubuntu/${localWorkspaceFolderBasename},type=bind",
|
||||
"workspaceFolder": "/home/ubuntu/${localWorkspaceFolderBasename}",
|
||||
"remoteEnv": {
|
||||
|
||||
Reference in New Issue
Block a user