From 2e1f4f880064a5334052c1cd5d911a88a2a3cf70 Mon Sep 17 00:00:00 2001 From: ub Date: Fri, 6 Feb 2026 08:12:05 +0800 Subject: [PATCH] Add root volume mount and update ignore/README --- .gitignore | 3 ++- README.md | 3 +++ docker-compose.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/.gitignore b/.gitignore index a65bbb1..2d63cc0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ workspace/ -config/ \ No newline at end of file +config/ +root/ \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..dd994af --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +```shell +docker exec -it code-server /init.d/run.sh +``` \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index ee2a8c6..5037184 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -13,6 +13,7 @@ services: - ./config:/config - ./init.d:/init.d - ./workspace:/workspace + - ./root:/root - /var/run/user/1000/docker.sock:/run/docker.sock ports: - 58333:8443