taskcat
taskcat copied to clipboard
Docker invocation lacks 'taskcat' command execution call
Installed docker version of the taskcat and was trying to invoke the taskcat help but failed with following message
$ sudo taskcat -h
[dockerize]
docker: Error response from daemon: oci runtime error: container_linux.go:262: starting container process caused "exec: \"-h\": executable file not found in $PATH".
ERRO[0000] error waiting for container: context canceled
I noticed that the taskcat binary is calling the container directly with "$@"
$ cat /usr/local/bin/taskcat
echo [dockerize]
docker run -it --rm -v $(pwd):/mnt taskcat/taskcat $@
But it's missing the taskcat binary call. When I fixed the binary with that call, it now works fine
$ cat /usr/local/bin/taskcat
echo [dockerize]
docker run -it --rm -v $(pwd):/mnt taskcat/taskcat taskcat $@
Thanks for reporting the bug! I will fix it and push the change.
Fixed.