gardner-dev commented on issue #9518:
URL: https://github.com/apache/airflow/issues/9518#issuecomment-650744447


   Sure @nullhack! In the documentation regarding docker operaort we can read
   ```
   command (str or list) – Command to be run in the container. (templated)
   ```
   When I run docker operator with command such as:
   `command=["python owid_API.py -date {{ ds }}"]`
   it generates error
   
   > docker.errors.APIError: 500 Server Error: Internal Server Error ("OCI 
runtime create failed: container_linux.go:346: starting container process 
caused "exec: \"python owid_API.py -date 2020-03-14\": executable file not 
found in $PATH": unknown")
   
   The clear problem is that list is one-element list. But it should be 
specified in docs that list doesn't work for one command
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to