Open3
[Ubuntu + VSCode + devcontainer + Docker + Node.js] Holisticの検証
git clone https://github.com/vladmandic/holistic
cd holistic && git checkout 88660342f39f151800746958b0d1aaf32ef48366
- コンテナ起動前に
.devcontainer/devcontainer.json
の編集(作成)
.devcontainer/devcontainer.json
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"runArgs": [
"--gpus", "all",
"--shm-size", "64gb",
"--device", "/dev/video0:/dev/video0:mwr",
"--privileged",
"-e", "DISPLAY=:1",
"-e", "QT_X11_NO_MITSHM=1",
"-v", "/tmp/.X11-unix/:/tmp/.X11-unix:rw"
]
}
- devcontainerの起動方法は下記参照
npm install
npm start