Aroup Goldar Dhruba:
I have seen two solutions for the container to be sleep:
command: ["/bin/sleep"]
args: ["5"]
and another one being:
command: ['sh', '-c', 'sleep 5']
Are both have the same functionality executed? Which one is preferred solution?
Mohamed Ayman:
All of them will work properly as the command can be inline or in multiple lines or you can use args to specify the arguments.
Swaminath subramanyam:
I prefer the second option as it is less confusing:)
Aroup Goldar Dhruba:
Thanks @Mohamed Ayman and @Swaminath subramanyam