From 2321b5b29a0a9116e0071577f97cd0f6ac99963f Mon Sep 17 00:00:00 2001 From: Christoph Blessing <33834216+christoph-blessing@users.noreply.github.com> Date: Thu, 25 Jul 2024 17:40:50 +0200 Subject: [PATCH] Fix incorrect docker commands (#917) Fix "docker run" and "docker container run" custom commands incorrectly expecting a "network" positional argument. --- custom-completions/docker/docker-completions.nu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-completions/docker/docker-completions.nu b/custom-completions/docker/docker-completions.nu index ba62ea8..8a447e0 100644 --- a/custom-completions/docker/docker-completions.nu +++ b/custom-completions/docker/docker-completions.nu @@ -657,7 +657,7 @@ export extern "docker container run" [ --memory-swappiness: int #Tune container memory swappiness (0 to 100) (default -1) --mount: string #Attach a filesystem mount to the container --name: string #Assign a name to the container - --network network #Connect a container to a network + --network: string #Connect a container to a network --network-alias: string #Add network-scoped alias for the container --no-healthcheck #Disable any container-specified HEALTHCHECK --oom-kill-disable #Disable OOM Killer @@ -819,7 +819,7 @@ export extern "docker run" [ --memory-swappiness: int #Tune container memory swappiness (0 to 100) (default -1) --mount: string #Attach a filesystem mount to the container --name: string #Assign a name to the container - --network network #Connect a container to a network + --network: string #Connect a container to a network --network-alias: string #Add network-scoped alias for the container --no-healthcheck #Disable any container-specified HEALTHCHECK --oom-kill-disable #Disable OOM Killer @@ -873,4 +873,4 @@ export extern "docker" [ --tlskey: string #Path to TLS key file --tlsverify #Use TLS and verify the remote --version(-v) #Print version information and quit -] \ No newline at end of file +]