“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;
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
add a comment |
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
Is it/downloador/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
add a comment |
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
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
docker
edited May 22 at 2:01
Amitie 10g
asked May 21 at 21:20
Amitie 10gAmitie 10g
185
185
Is it/downloador/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
add a comment |
Is it/downloador/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
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered May 25 at 7:17
Amitie 10gAmitie 10g
185
185
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Is it
/downloador/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