Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error on first deployment: fails to create cache folder (error: create cache directory: mkdir /home/coder/.cache: permission denied)#17782

Unanswered
javierspn asked this question inGeneral
Discussion options

Hi Team!

Before reporting an issue, I would like to know if someone has encountered this.

I follow the docker setup instructions and get the docker group to declare in group_add within the compose file, as the defaults gave me the error on the title:

getent group docker | cut -d: -f3 (result is 994).

However whenever I start the stack I get this error multiple times:

[getent group docker | cut -d: -f3](error: create cache directory: mkdir /home/coder/.cache: permission denied)

This is my (partial) compose file:

group_add:      -${GROUP_ID}volumes:      -${CODER_SOCK_VOLUME}      -${CODER_HOME_VOLUME}

And the variables:

GROUP_ID=994# CODER VOLUMESCODER_SOCK_VOLUME=/var/run/docker.sock:/var/run/docker.sockCODER_HOME_VOLUME=/docker/data/coder/home:/home/coder

Am I missing something?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@javierspn

[8]ページ先頭

©2009-2025 Movatter.jp