Hello.
I’m trying to download a file saved on my google drive using the ADD command inside my docker container. The ID of the file is “1WbJuXFvbsOLkt-rKO50JEKu8lKS9LRV_” and the file name is 2019-09-26-raspbian-buster-lite.img. The command that I have added inside the container is :
ADD https://drive.google.com/file/d/1WbJuXFvbsOLkt-rKO50JEKu8lKS9LRV_/2019-09-26-raspbian-buster-lite.img .
The error message that comes from docker is :
`ADD failed: failed to GET https://drive.google.com/file/d/1WbJuXFvbsOLkt-rKO50JEKu8lKS9LRV_/2019-09-26-raspbian-buster-lite.img with status 404 Not Found: <!DOCTYPE html><html lang="it"><head><meta name="description" content="Elaborazione di testi, presentazioni e fogli di lavoro sul
Web"><meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"><link rel="shortcut icon" href="//docs.google.com/favicon.ico"><title>Pagina non
trovata</title><metaname="referrer" content="origin"><link href="//fonts.googleapis.com css?family=Product+Sans" rel="stylesheet" type="text/css" nonce="+eDv15um2QM+OOKlPu3D8g"><style
nonce="+eDv15um2QM+OOKlPu3D8g">/* Copyright 2021 Google Inc. All Rights Reserved.
*/.goog-inline-block{position:relative;display:-moz-inline-box;display:inline-block}* html .goog-inline-block{display:inline}*:first-child+html .goog-inline-block{display:inline}#drive-logo{margin:18px
0;position:absolute;white-space:nowrap}.docs-drivelogo-img{background-image:url('//ssl.gstatic.com/images/branding/googlelogo/1x/googlelogo_color_116x41dp.png');background-size:116px 41px;display:inline-block;height:41px;vertical-align:bottom;width:116px}.docs-drivelogo-text{color:#000;display:inline-block;opacity:0.54;text-decoration:none;font-family:'Product Sans',Arial,Helvetica,sans-serif;font-size:32px;text-rendering:optimizeLegibility;position:relative;top:-6px;left:-7px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.docs-drivelogo-img{background-image:url('//ssl.gstatic.com/images/branding/googlelogo 2x/googlelogo_color_116x41dp.png')}}</style><style type="text/css" nonce="+eDv15um2QM+OOKlPu3D8g">body {background-color: #fff; font-family: Arial,sans-serif; font-size: 13px; margin: 0; padding: 0;}a, a:link, a:visited {color: #112ABB;}</style><style type="text/css"
nonce="+eDv15um2QM+OOKlPu3D8g">.errorMessage {font-size: 12pt; font-weight: bold; line-height:
150%;}</style></head><body><div id="outerContainer"><div id="innerContainer"><div
style="position: absolute; top: -80px;"><div id="drive-logo"><a href="/"><span class="docs-drivelogo-img"
title="Logo Google"></span><span class="docs-drivelogo-text"> Drive</span></a></div></div><div
align="center"><p class="errorMessage" style="padding-top: 50px">Impossibile aprire il file in questo
momento.</p><p> Verifica l'indirizzo e riprova.</p><div style="background: #F0F6FF; border: 1px solid
black; margin-top: 35px; padding: 10px 125px; width: 300px;"><p><strong>Aumenta la tua produttività con Google Drive</strong></p><p>Le app in Google Drive rendono più facile creare, salvare e condividere online documenti, fogli di lavoro, presentazioni e altro ancora.</p><p>Per ulteriori informazioni,consulta <a href="https://drive.google.com/start/apps">drive.google.com/start/apps</a>.</p></div></div></div></div></body><style nonce="+eDv15um2QM+OOKlPu3D8g">html {height: 100%; overflow: auto;}body {height: 100%; overflow: auto;}#outerContainer {margin: auto; max-width: 750px;}#innerContainer {margin-bottom: 20px; margin-left: 40px; margin-right: 40px; margin-top: 80px; position: relative;}</style></html`
Between the formatting you can read these error messages :
status 404 Not Found
Impossibile aprire il file in questo momento. Verifica l’indirizzo e riprova → can’t open file right now. check the address and try again
Aumenta la tua produttività con Google Drive. Le app in Google Drive rendono più facile creare, salvare e condividere online documenti, fogli di lavoro, presentazioni e altro ancora → Increase your productivity with Google Drive. Apps in Google Drive make it easier to create, save, and share documents, spreadsheets, presentations, and more online…
The working link for the file is :
I want to get this file inside the docker container. Can you give me some help to configure docker correctly to achieve this goal ? thanks.