fix bash history
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
// "--cap-add=SYS_PTRACE", // Allows the container to trace processes using ptrace system call
|
||||
// "--security-opt=seccomp=unconfined", // Disables seccomp security profiles for the container
|
||||
// "--ipc=host", // Shares the host's IPC namespace with the container
|
||||
"--network=host" // Shares the host's network namespace with the container
|
||||
"--network=host", // Shares the host's network namespace with the container
|
||||
// "--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
|
||||
"--privileged", // Gives the container full access to the host's devices and allows it to run with root privileges
|
||||
],
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/ubuntu/${localWorkspaceFolderBasename},type=bind",
|
||||
"workspaceFolder": "/home/ubuntu/${localWorkspaceFolderBasename}",
|
||||
@@ -27,8 +27,8 @@
|
||||
},
|
||||
// Uncomment to persist bash history between sessions
|
||||
{
|
||||
"source": "${localEnv:HOME}${localEnv:USERPROFILE}/.bash_history",
|
||||
"target": "/root/.bash_history",
|
||||
"source": "${localEnv:HOME}/.bash_history",
|
||||
"target": "/home/ubuntu/.bash_history",
|
||||
"type": "bind"
|
||||
},
|
||||
// add dri3
|
||||
@@ -55,5 +55,5 @@
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/common-utils:2": {}
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user