Skip to content

Commit

Permalink
docs: make the example for 'load' work
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaelatern committed May 27, 2022
1 parent b181919 commit 44ca8ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion website/content/docs/drivers/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,16 @@ config {
```

- `load` - (Optional) Load an image from a `tar` archive file instead of from a
remote repository. Equivalent to the `docker load -i <filename>` command.
remote repository. Equivalent to the `docker load -i <filename>` command. If
you're using an `artifact` block to fetch the archive file, you'll need to
ensure that Nomad keeps the archive intact after download.

```hcl
artifact {
source = "http://path.to/redis.tar"
options {
archive = false
}
}
config {
load = "redis.tar"
Expand Down

0 comments on commit 44ca8ee

Please sign in to comment.