Comments (5)
Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!
from docker-code-server.
Looks like your password files have trailing newlines.
Create them with printf as described in the docker secrets docs so they don't have the trailing newline
from docker-code-server.
Looks like your password files have trailing newlines.
Create them with printf as described in the docker secrets docs so they don't have the trailing newline
Thanks a lot. I try printf my-password > password.txt
and docker-compose up again. To my surprise, it works well.
but i still don't know that why code-server could not set the password properly when the user fill password to password.txt via vim
or echo xxx > password.txt
Is it a bug? the code-server forgets to trim the password.
from docker-code-server.
Is it a bug? the code-server forgets to trim the password.
You can report that upstream
But as you can see, the SUDO_PASSWORD, which is set by our image in bash, is failing because the trailing newline breaks our bash code and results in the error:
setting sudo password using SUDO_PASSWORD env var
Enter new UNIX password: Retype new UNIX password: Sorry, passwords do not match
passwd: Authentication token manipulation error
passwd: password unchanged
from docker-code-server.
Is it a bug? the code-server forgets to trim the password.
You can report that upstream
But as you can see, the SUDO_PASSWORD, which is set by our image in bash, is failing because the trailing newline breaks our bash code and results in the error:
setting sudo password using SUDO_PASSWORD env var Enter new UNIX password: Retype new UNIX password: Sorry, passwords do not match passwd: Authentication token manipulation error passwd: password unchanged
Indeed, you are right.
Anyway, thanks a lot.
from docker-code-server.
Related Issues (20)
- [BUG] Turn on Cloud Changes Error HOT 5
- 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
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.