You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: website/docs/guides/docker.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,10 +62,10 @@ With the following steps, `.netrc` can be used with Docker.
62
62
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.
63
63
64
64
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:
66
66
67
67
```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 (...)
69
69
```
70
70
71
71
**Important:**
@@ -81,10 +81,10 @@ It is also possible to use `git config` to set up access to private repositories
81
81
```
82
82
83
83
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:
85
85
86
86
```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 (...)
0 commit comments