Comments (9)
This repo instructions links to the coder/code-server instructions for generating the HASH. However, their documentation is incorrect for how to enter it. For both HASHED_PASSWORD and SUDO_PASSWORD_HASH it must be entered with NO QUOTES and every $ needs to be doubled up $$ so docker doesn't try to process it as a variable.
from docker-code-server.
So I ran into an issue with using hashed passwords in my compose file, on the "- HASHED_PASSWORD" line I did a find replace for all $ to $$ and that resolved the issue for me.
Example:
- HASHED_PASSWORD=$$argon2i$$v=19$$m=4096,t=3,p=1$$f2v7Q2zMnxdMtlAP1T4HXQ$$teRq1ux1px8UEHMNkFreKCEtsEIRiSpyX3kc38b5I30
from docker-code-server.
Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!
from docker-code-server.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from docker-code-server.
Am I posting this in the wrong place or am I just the only one wanting this?
from docker-code-server.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from docker-code-server.
I'm also having issues trying to get the hashed sudo password to work - tried changing it twice now but neither works in the code-server terminal. I was thinking about using the unhashed variable but then I found this issue and I'm not sure I should.
from docker-code-server.
It's not a docker thing, it's a yaml thing specifically.
In docker run, you should be able to just wrap the hash in single quotes, no escape necessary
But in yaml, quotation depends on the formatting you're using and $
needs escaping
from docker-code-server.
I'm having the same problem and SUDO_PASSWORD_HASH doesn't seem to work following these instructions
from docker-code-server.
Related Issues (20)
- Cannot find conda HOT 4
- [BUG] Can't use cuda driver inside container for tensorflow HOT 3
- use another marketplace HOT 5
- Does the "bind-addr" only can be set at container create? HOT 2
- [BUG] Selecting Python Interpreter HOT 2
- [BUG] Github Copilot HOT 8
- Extensions stop working when passed thru a reverse-proxy HOT 10
- [BUG] Random refreshing folder from code-server HOT 7
- [BUG] Sudo password not being set using env vars HOT 3
- [FEAT] Expose bind-addr, auth, password and cert as environment variables HOT 4
- [BUG] No syntax highlighting in ungoogled-chromium browser HOT 5
- [kompose] <kompose doesn't work on the docker-compose file?> HOT 2
- [FEAT] Tracking of User Logins HOT 2
- [BUG] The default docker compose exposes the instance to internet HOT 4
- [FEAT] Preinstall packages from docker-compose HOT 2
- [FEAT] <Docker works but can't install extension with `EMFILE: EMFILE: too many open files, rename ` when deployed to Google Cloud Run with gcsfuse as persistent volume> HOT 1
- [BUG] Using command: in compose.yaml makes the container crashes HOT 2
- [BUG] No network environment usage error reported HOT 2
- [FEAT] Bind to IPv6 Address as well HOT 2
- update baseimage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-code-server.