Skip to content

Commit 8b81513

Browse files
zapp42sschuberth
authored andcommitted
docs: Change Docker container home directory to /home/ort
Updated the Docker container home directory path from '/root' to '/home/ort' for mounting .netrc and .gitconfig files. This was changed with #6225. Signed-off-by: Rolf Offermanns <[email protected]>
1 parent 4d3f6ce commit 8b81513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/docs/guides/docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ With the following steps, `.netrc` can be used with Docker.
6262
The format often shared online with the properties separated by newlines does **not** work with Docker images for ORT, as not all included third-party tools support this format.
6363

6464
2. Mount the `.netrc` into the home directory of the ORT Docker container.
65-
By default, that is the `/root` directory:
65+
By default, that is the `/home/ort` directory:
6666

6767
```shell
68-
docker run -v <workspace_path>:/project -v <netrc_folder_path>/.netrc:/root/.netrc ort --info scan (...)
68+
docker run -v <workspace_path>:/project -v <netrc_folder_path>/.netrc:/home/ort/.netrc ort --info scan (...)
6969
```
7070

7171
**Important:**
@@ -81,10 +81,10 @@ It is also possible to use `git config` to set up access to private repositories
8181
```
8282

8383
2. Mount the `.gitconfig` into the home directory of the ORT Docker container.
84-
By default, that is the `/root` directory:
84+
By default, that is the `/home/ort` directory:
8585

8686
```shell
87-
docker run -v <workspace_path>:/project -v <gitconfig_path>:/root/.gitconfig ort --info scan (...)
87+
docker run -v <workspace_path>:/project -v <gitconfig_path>:/home/ort/.gitconfig ort --info scan (...)
8888
```
8989

9090
**Important:**

0 commit comments

Comments
 (0)