summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-11-06 17:12:33 +0100
committerGitHub <noreply@github.com>2023-11-06 17:12:33 +0100
commitb6193921d03996f6ff532bd176de1cc746b41a9f (patch)
tree939a209a6bc4b3605b12804d3b6b9d5aaa0b2bc6 /doc
parentc419e07f743b4ab85c231c559f00b9f3c8f972cd (diff)
parente75c485fd374ae920daad7b8de5233a8f9c2239a (diff)
Merge pull request #264674 from teutat3s/fix-dockertools-prefetch-example
doc: fix dockerTools nix-prefetch-docker example
Diffstat (limited to 'doc')
-rw-r--r--doc/builders/images/dockertools.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/builders/images/dockertools.section.md b/doc/builders/images/dockertools.section.md
index 3ac4f224b5def..42d6e297f529c 100644
--- a/doc/builders/images/dockertools.section.md
+++ b/doc/builders/images/dockertools.section.md
@@ -275,7 +275,7 @@ pullImage {
 `nix-prefetch-docker` command can be used to get required image parameters:
 
 ```ShellSession
-$ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql --image-tag 5
+$ nix run nixpkgs#nix-prefetch-docker -- --image-name mysql --image-tag 5
 ```
 
 Since a given `imageName` may transparently refer to a manifest list of images which support multiple architectures and/or operating systems, you can supply the `--os` and `--arch` arguments to specify exactly which image you want. By default it will match the OS and architecture of the host the command is run on.