The term docker is not recognized in the octopus work env

I’m trying to run a script from the package on the AWS CLI script but it happens to be failing :frowning: even though it worked when using the inline script! I have attached the error message below, pls if someone could help me :slight_smile:

Hi Selvarajahharrish,

Thanks for reaching out. I in turn reached out to a few people in order to understand what might be happening in this case.

The AWS CLI scripts can be run against any worker/worker pool. By default, our workers (attached to the default worker pool) in Octopus Cloud are not built with Docker installed. (

This would mean that if you have attempted to run Docker against a default worker - you would get an error like the one you have sent through.

If you were running on your own workers in your own worker pool, again you will need to make sure that Docker is installed and configured on each worker that may get assigned.

When you said you ran the docker command successfully using an inline script, again the big factor would be β€œWhat worker were you targeting at the time?”.

Jump over to this link for some really good examples on using Docker with Octopus.

Please, let me know if you have any other questions or if I can help you out further with this query.



This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.