Skip to content

Commit b812a97

Browse files
authoredApr 6, 2025··
Merge pull request #88 from RappyPhan/patch-1
Updated Docker container usage information
2 parents 4e590f6 + 787463f commit b812a97

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
 

‎installation/docker.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,17 @@ docker pull pspdev/pspdev:latest
2626
To work with it, open a terminal in the directory with the code you'd like to build in it and run the following command:
2727

2828
```shell
29-
docker run -ti -v .:/source pspdev/pspdev:latest
29+
docker run -ti -v $PWD:/source pspdev/pspdev:latest
3030
```
3131

32-
After that you can run `cd /source` to navigate to the code.
32+
This mounts the current directory to a directory called source in the container, so run `cd /source` to navigate to it.
3333

3434
That's it, now the PSP SDK can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
35+
36+
### Windows
37+
38+
Using the container on Windows can be a bit tricky.
39+
40+
* Replace $PWD with the absolute path in a UNIX format. Example: `/c/Users/John/my_psp_code`.
41+
* Your code *must* be located somewhere under "home folder" (like `C:\Users\John`), or the mounted directory will be empty when viewed from inside the container due to permissions.
42+
* If you get an `Operation not permitted` error from gmake while using psp-cmake, you'll need to add the `--privileged=true` option to your `docker run` command.

0 commit comments

Comments
 (0)
Please sign in to comment.