Add root volume mount and update ignore/README
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
workspace/
|
workspace/
|
||||||
config/
|
config/
|
||||||
|
root/
|
||||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```shell
|
||||||
|
docker exec -it code-server /init.d/run.sh
|
||||||
|
```
|
||||||
@@ -13,6 +13,7 @@ services:
|
|||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./init.d:/init.d
|
- ./init.d:/init.d
|
||||||
- ./workspace:/workspace
|
- ./workspace:/workspace
|
||||||
|
- ./root:/root
|
||||||
- /var/run/user/1000/docker.sock:/run/docker.sock
|
- /var/run/user/1000/docker.sock:/run/docker.sock
|
||||||
ports:
|
ports:
|
||||||
- 58333:8443
|
- 58333:8443
|
||||||
|
|||||||
Reference in New Issue
Block a user