There's two distinct parameters in the /services/create
endpoint, called Command
and Args
. The description says:
Command
(array of string) – the command to be run in the imageArgs
(array of string) – arguments to the command
I was puzzled by the fact that Command
is an array: if the command arguments can be passed to it (which seems to be the case as docker-py splits it as a shell command) what's the purpose of Args
then?