1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-31 14:17:45 +00:00

Fix incorrect docker commands (#917)

Fix "docker run" and "docker container run" custom commands incorrectly
expecting a "network" positional argument.
This commit is contained in:
Christoph Blessing 2024-07-25 17:40:50 +02:00 committed by GitHub
parent 891854f25f
commit 2321b5b29a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
]
]