Environments
Environment build fails with "The method driver /usr/lib/apt/methods/https could not be found"
Fix a compute environment build failure caused by missing apt-transport-https by adding a RUN apt-get install command to your Dockerfile before other apt commands.
Listen to this pageabout 1 min
The following error in a compute environment build
“The method driver /usr/lib/apt/methods/https could not be found.”
indicates that the “apt-transport-https” package is not installed. To correct this in your compute environment add the following line to your docker definition in the compute image prior to any other apt commands.
Last modified on October 12, 2026
Was this page helpful?
⌘I