When using Octopus Cloud, there is often an error during the Acquire packages step when attempting to acquire a docker container. The issue appears to be that the Octopus worker does not have
docker installed and running.
Raw logs - docker-not-available.txt (40.2 KB)
docker command not available NotSpecified: You will need docker installed and running to pull docker images At C:\Octopus\Tentacle\Work\20210310091735-922121-117\Bootstrap.Octopus.DockerPull.ps1:906 char:2 + . '.\Octopus.DockerPull.ps1' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at <ScriptBlock>, C:\Octopus\Tentacle\Work\20210310091735-922121-117\Octopus.DockerPull.ps1: line 30 at <ScriptBlock>, C:\Octopus\Tentacle\Work\20210310091735-922121-117\Bootstrap.Octopus.DockerPull.ps1: line 906 at <ScriptBlock>, <No file>: line 1 at <ScriptBlock>, <No file>: line 1 Failed to download package my/container vlatest from feed: 'https://my.registry.com' Unable to pull Docker image
The issue is intermittent and seems to happen about 10% of the time. Hitting “TRY AGAIN…” typically fixes the issue, but obviously many deployments are automated and there isn’t necessarily someone watching who will be able to do that.
Given that the Acquire packages step is automatically applied to all projects that require one or more packages, I don’t think there is anything that can be done from a user perspective, but please correct me if I’m wrong.
If the above statement is true, is this a known issue for Octopus? If so, are there plans to fix the issue?