Skip to content

Commit 4fcf68a

Browse files
authored
Merge pull request oasisprotocol#2170 from oasisprotocol/matevz/docs/rofl-fqdn-image
docs: Add warning to use FQDN URLs for docker images
2 parents d054343 + a60e89b commit 4fcf68a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/rofl/app.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ a shell script.
226226

227227
The compose file (`compose.yaml`) looks as follows:
228228

229-
```yaml
229+
```yaml title="compose.yaml"
230230
services:
231231
oracle:
232232
# See the 'docker' subdirectory in demo-rofl for the content of this image.
@@ -241,6 +241,13 @@ services:
241241
- /run/rofl-appd.sock:/run/rofl-appd.sock
242242
```
243243

244+
:::warning Always specify FQDN image URL
245+
246+
When specifying the container image URL, make sure to use fully qualified domain
247+
name e.g. `docker.io/ollama/ollama` and not just `ollama/ollama`.
248+
249+
:::
250+
244251
[the compose file]: https://docs.docker.com/reference/compose-file/
245252
[the `demo-rofl` repository]: https://github.com/oasisprotocol/demo-rofl/tree/main/docker
246253
[a trivial oracle]: https://github.com/oasisprotocol/demo-rofl/blob/main/docker/app.sh

0 commit comments

Comments
 (0)