“no such file or directory” when mounting, built using the golang:alpine Docker imageHow can I override CMD when running a docker image?Nginx: How to use docker log collector when nginx is running under supervisordDocker COPY issue - “no such file or directory”boot2docker, docker mount.vboxsf: automount mounting failed with the error: No such file or directoryHow to remove an image tag in Docker without removing the image itself?How do I build a Linux environment that specifies specific versions of packages?How can I access an Instance Store Volume in an ECS Task?docker-compose up isn't using my just-built image?Issue with 64-bit (host) inodes vs. 32-bit inodes in osxfs in Ubuntu 16.04 containerServe Django Media Files via Nginx (Django/React/Nginx/Docker-Compose)

Cycle through MeshStyle directives in ListLinePlot

Using "subway" as name for London Underground?

Is the term 'open source' a trademark?

PhD - Well known professor or well known school?

Why would future John risk sending back a T-800 to save his younger self?

Frame failure sudden death?

How do governments keep track of their issued currency?

Can the poison from Kingsmen be concocted?

Is counterpoint still used today?

English word for "product of tinkering"

What makes Ada the language of choice for the ISS's safety-critical systems?

1980s live-action movie where individually-coloured nations on clouds fight

Universal hash functions with homomorphic XOR property

An average heaven where everyone has sexless golden bodies and is bored

Watts of filament extrusion

Why was the Sega Genesis marketed as a 16-bit console?

What ways have you found to get edits from non-LaTeX users?

Why is one of Madera Municipal's runways labelled with only "R" on both sides?

What is the highest possible temporary AC at level 1, without any help from others?

Why is only the fundamental frequency component said to give useful power?

Winning Strategy for the Magician and his Apprentice

How to return a security deposit to a tenant

What is the origin of the German "n-Deklination"?

What is the actual quality of machine translations?



“no such file or directory” when mounting, built using the golang:alpine Docker image


How can I override CMD when running a docker image?Nginx: How to use docker log collector when nginx is running under supervisordDocker COPY issue - “no such file or directory”boot2docker, docker mount.vboxsf: automount mounting failed with the error: No such file or directoryHow to remove an image tag in Docker without removing the image itself?How do I build a Linux environment that specifies specific versions of packages?How can I access an Instance Store Volume in an ECS Task?docker-compose up isn't using my just-built image?Issue with 64-bit (host) inodes vs. 32-bit inodes in osxfs in Ubuntu 16.04 containerServe Django Media Files via Nginx (Django/React/Nginx/Docker-Compose)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I created a fork of the LinuxServer.io's docker-transmission image, adding support for Google Cloud Storage.



I used the Ernest (chiaen)'s docker-gcsfuse project to build gcsfuse, namely, extracting parts of his Dockerfile and added to my own one. gcsfuse is built using the golang:alpine image.



The image builts successfully (including gcsfuse; the Dockerfile instructs to just copy gcsfuse to /usr/local/bin, and I checked the executable location; also, /dev/fuse is properly exposed from the host-side). However, gcsfuse refuses to mount, and the logs outputs Mount: stat /donwloads: no such file or directory, enev if the directory /downloads actually exists, and the right permissions were set already (set at /etc/cont-init.d/20-config). I even tried to run from the shell, but still fails.



Is there a missing package or parameter in order to get gcsfuse working in my (Alpine) Docker image?



If you want to reproduce, you may bould your own local copy of the image following the instructions at README.md in my repo (you need to upload your json key to the VM) (amitie10g/docker-transmission is also available at Docker Hub).



Logs are available here.



VM images used:



  • Development: Ubuntu 18.04

  • Target: Container-Optimized OS 75-12105.40.0 beta

Docker images used for building:



  • lsiobase/alpine:3.9

  • golang:alpine

Thanks in advance.










share|improve this question
























  • Is it /download or /downloads?

    – Michael Hampton
    May 22 at 0:34











  • It is /downloads, Wich is not exposed as volume not in the Dockerfile nor at the command line. Anyway, I tested with different names, but mounting still failing.

    – Amitie 10g
    May 22 at 2:03

















0















I created a fork of the LinuxServer.io's docker-transmission image, adding support for Google Cloud Storage.



I used the Ernest (chiaen)'s docker-gcsfuse project to build gcsfuse, namely, extracting parts of his Dockerfile and added to my own one. gcsfuse is built using the golang:alpine image.



The image builts successfully (including gcsfuse; the Dockerfile instructs to just copy gcsfuse to /usr/local/bin, and I checked the executable location; also, /dev/fuse is properly exposed from the host-side). However, gcsfuse refuses to mount, and the logs outputs Mount: stat /donwloads: no such file or directory, enev if the directory /downloads actually exists, and the right permissions were set already (set at /etc/cont-init.d/20-config). I even tried to run from the shell, but still fails.



Is there a missing package or parameter in order to get gcsfuse working in my (Alpine) Docker image?



If you want to reproduce, you may bould your own local copy of the image following the instructions at README.md in my repo (you need to upload your json key to the VM) (amitie10g/docker-transmission is also available at Docker Hub).



Logs are available here.



VM images used:



  • Development: Ubuntu 18.04

  • Target: Container-Optimized OS 75-12105.40.0 beta

Docker images used for building:



  • lsiobase/alpine:3.9

  • golang:alpine

Thanks in advance.










share|improve this question
























  • Is it /download or /downloads?

    – Michael Hampton
    May 22 at 0:34











  • It is /downloads, Wich is not exposed as volume not in the Dockerfile nor at the command line. Anyway, I tested with different names, but mounting still failing.

    – Amitie 10g
    May 22 at 2:03













0












0








0


1






I created a fork of the LinuxServer.io's docker-transmission image, adding support for Google Cloud Storage.



I used the Ernest (chiaen)'s docker-gcsfuse project to build gcsfuse, namely, extracting parts of his Dockerfile and added to my own one. gcsfuse is built using the golang:alpine image.



The image builts successfully (including gcsfuse; the Dockerfile instructs to just copy gcsfuse to /usr/local/bin, and I checked the executable location; also, /dev/fuse is properly exposed from the host-side). However, gcsfuse refuses to mount, and the logs outputs Mount: stat /donwloads: no such file or directory, enev if the directory /downloads actually exists, and the right permissions were set already (set at /etc/cont-init.d/20-config). I even tried to run from the shell, but still fails.



Is there a missing package or parameter in order to get gcsfuse working in my (Alpine) Docker image?



If you want to reproduce, you may bould your own local copy of the image following the instructions at README.md in my repo (you need to upload your json key to the VM) (amitie10g/docker-transmission is also available at Docker Hub).



Logs are available here.



VM images used:



  • Development: Ubuntu 18.04

  • Target: Container-Optimized OS 75-12105.40.0 beta

Docker images used for building:



  • lsiobase/alpine:3.9

  • golang:alpine

Thanks in advance.










share|improve this question
















I created a fork of the LinuxServer.io's docker-transmission image, adding support for Google Cloud Storage.



I used the Ernest (chiaen)'s docker-gcsfuse project to build gcsfuse, namely, extracting parts of his Dockerfile and added to my own one. gcsfuse is built using the golang:alpine image.



The image builts successfully (including gcsfuse; the Dockerfile instructs to just copy gcsfuse to /usr/local/bin, and I checked the executable location; also, /dev/fuse is properly exposed from the host-side). However, gcsfuse refuses to mount, and the logs outputs Mount: stat /donwloads: no such file or directory, enev if the directory /downloads actually exists, and the right permissions were set already (set at /etc/cont-init.d/20-config). I even tried to run from the shell, but still fails.



Is there a missing package or parameter in order to get gcsfuse working in my (Alpine) Docker image?



If you want to reproduce, you may bould your own local copy of the image following the instructions at README.md in my repo (you need to upload your json key to the VM) (amitie10g/docker-transmission is also available at Docker Hub).



Logs are available here.



VM images used:



  • Development: Ubuntu 18.04

  • Target: Container-Optimized OS 75-12105.40.0 beta

Docker images used for building:



  • lsiobase/alpine:3.9

  • golang:alpine

Thanks in advance.







docker google-cloud-platform gcsfuse






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 22 at 2:01







Amitie 10g

















asked May 21 at 21:20









Amitie 10gAmitie 10g

185




185












  • Is it /download or /downloads?

    – Michael Hampton
    May 22 at 0:34











  • It is /downloads, Wich is not exposed as volume not in the Dockerfile nor at the command line. Anyway, I tested with different names, but mounting still failing.

    – Amitie 10g
    May 22 at 2:03

















  • Is it /download or /downloads?

    – Michael Hampton
    May 22 at 0:34











  • It is /downloads, Wich is not exposed as volume not in the Dockerfile nor at the command line. Anyway, I tested with different names, but mounting still failing.

    – Amitie 10g
    May 22 at 2:03
















Is it /download or /downloads?

– Michael Hampton
May 22 at 0:34





Is it /download or /downloads?

– Michael Hampton
May 22 at 0:34













It is /downloads, Wich is not exposed as volume not in the Dockerfile nor at the command line. Anyway, I tested with different names, but mounting still failing.

– Amitie 10g
May 22 at 2:03





It is /downloads, Wich is not exposed as volume not in the Dockerfile nor at the command line. Anyway, I tested with different names, but mounting still failing.

– Amitie 10g
May 22 at 2:03










1 Answer
1






active

oldest

votes


















0














I resolved this by building the mount.gcsfuse helper, and populating the /etc/fstab file at /etc/cont-init.d/20.config:



echo "$BUCKET /downloads gcsfuse rw,user,noauto,key_file=/config/gcsfuse-key.json" >> /etc/fstab


Then, running mount.gcsfuse:



s6-setuidgid abc mount.gcsfuse $BUCKET /downloads





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968292%2fno-such-file-or-directory-when-mounting-built-using-the-golangalpine-docker%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I resolved this by building the mount.gcsfuse helper, and populating the /etc/fstab file at /etc/cont-init.d/20.config:



    echo "$BUCKET /downloads gcsfuse rw,user,noauto,key_file=/config/gcsfuse-key.json" >> /etc/fstab


    Then, running mount.gcsfuse:



    s6-setuidgid abc mount.gcsfuse $BUCKET /downloads





    share|improve this answer



























      0














      I resolved this by building the mount.gcsfuse helper, and populating the /etc/fstab file at /etc/cont-init.d/20.config:



      echo "$BUCKET /downloads gcsfuse rw,user,noauto,key_file=/config/gcsfuse-key.json" >> /etc/fstab


      Then, running mount.gcsfuse:



      s6-setuidgid abc mount.gcsfuse $BUCKET /downloads





      share|improve this answer

























        0












        0








        0







        I resolved this by building the mount.gcsfuse helper, and populating the /etc/fstab file at /etc/cont-init.d/20.config:



        echo "$BUCKET /downloads gcsfuse rw,user,noauto,key_file=/config/gcsfuse-key.json" >> /etc/fstab


        Then, running mount.gcsfuse:



        s6-setuidgid abc mount.gcsfuse $BUCKET /downloads





        share|improve this answer













        I resolved this by building the mount.gcsfuse helper, and populating the /etc/fstab file at /etc/cont-init.d/20.config:



        echo "$BUCKET /downloads gcsfuse rw,user,noauto,key_file=/config/gcsfuse-key.json" >> /etc/fstab


        Then, running mount.gcsfuse:



        s6-setuidgid abc mount.gcsfuse $BUCKET /downloads






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 25 at 7:17









        Amitie 10gAmitie 10g

        185




        185



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968292%2fno-such-file-or-directory-when-mounting-built-using-the-golangalpine-docker%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos