Commit 009c879
authored
Improve log output of docker pull errors (#880)
Recently a customer ran into _some_ issue but we weren't able to tell WHAT the issue was. This adds additional log output.
*Before*
```
✅ Parsing batch spec
✅ Resolving namespace
⠸ Preparing container images 0%
❌ Error:
pulling image "ubunootu:18.04": pulling image: exit status 1
💡 The troubleshooting documentation can help to narrow down the cause of the errors:
https://docs.sourcegraph.com/batch_changes/references/troubleshooting
```
*After*
```
✅ Parsing batch spec
✅ Resolving namespace
⠏ Preparing container images 0%
❌ Error:
pulling image "ubunootu:18.04": failed to pull image: Error response from daemon: failed to resolve reference "docker.io/library/ubunootu:18.04": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
docker pull exited with code 1
💡 The troubleshooting documentation can help to narrow down the cause of the errors:
https://docs.sourcegraph.com/batch_changes/references/troubleshooting
```1 parent 51113d0 commit 009c879
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
| |||
0 commit comments