Instead of mounting Docker socket, use BuildKit or kaniko for container builds within containers. File reference: coder-template/main.tf:305-308