-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Docker: Settings/extensions not saved #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
##Updated text for specifics |
bump? |
The You can add more
|
alright, so it was me not knowing how to use docker properly, thanks for the information! So if i wanted the docker container to hold the same config/extensions as the binary setup, the command would be something like this?
|
Yeah, that should work if you add the missing double quote. |
Okay, now im getting the samegrey screen error as my last issue (websockets are open) |
@deansheather using the docker method we just described, all I am getting is a grey screen Websockets are open on my web server so I know that's not the issue, I think #edit |
|
Not sure what the cause of the grey screen is, could you check if there's anything in the browser console? |
Nope!
…On Sun, May 26, 2019, 11:42 PM Dean Sheather ***@***.***> wrote:
Not sure what the cause of the grey screen is, could you check if there's
anything in the browser console?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#703>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACPQOXTVNPT3ZYBVM53U2F3PXN7F7ANCNFSM4HOEQVUQ>
.
|
And i jsut realized what you meant |
For some stupid reason, it wants to work now... WELP! UPDATE Realized this was before i specifed data and extension dirs |
How i test this is by uninstalling docker, and then reinstalling it with absolutely nothing persistant WORKING Code-Server (binary)https://i.imgur.com/q4u8ZkF.png DOCKER (UNSPECIFIED/DEFAULT RUN COMMAND)DOCKER (Specified) |
I was able to get this working by copying the entire /home/coder/.local/share/code-server directory from a working container using docker cp, then changing the owner on that to 1000:1000 (the uid used inside the coder container) and mounting that. I haven't tested to see if you can mount individual folders with the correct permissions - this works well enough for me. |
Requesting further information. Failure to reply means it was fixed in your end and I'll close this automatically after 3 days. |
I actually gave up with docker |
code-server
version: Latest Docker as of may 20, 2019. 1145am PST-8Description
Does not save settings/extensions at all
Steps to Reproduce
fresh docker image, (
sudo apt install docker.io
,docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth
)open terminal in code-server
then
touch ~/persistence_test
then stop the docker image, and relaunch it,
~/persistence_test
does not existThe text was updated successfully, but these errors were encountered: