René's URL Explorer Experiment


Title: [Bug]: code-server (run with docker) will always overwrite PATH variable · Issue #5621 · coder/code-server · GitHub

Open Graph Title: [Bug]: code-server (run with docker) will always overwrite PATH variable · Issue #5621 · coder/code-server

X Title: [Bug]: code-server (run with docker) will always overwrite PATH variable · Issue #5621 · coder/code-server

Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Remote OS: Ubunu Remote Architecture: amd64 code-server --version: both v4.7.0 and v4.0.1 are tried Steps to Reproduce In a machine with docker i...

Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Remote OS: Ubunu Remote Architecture: amd64 code-server --version: both v4.7.0 and v4.0.1 are tried Steps...

X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Remote OS: Ubunu Remote Architecture: amd64 code-server --version: both v4.7.0 and v4.0.1 are tried Steps...

Opengraph URL: https://github.com/coder/code-server/issues/5621

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: code-server (run with docker) will always overwrite PATH variable","articleBody":"### Is there an existing issue for this?\n\n- [X] I have searched the existing issues\n\n### OS/Web Information\n\n- Remote OS: Ubunu\r\n- Remote Architecture: amd64\r\n- `code-server --version`: both v4.7.0 and v4.0.1 are tried\r\n\n\n### Steps to Reproduce\n\n1. In a machine with docker installed, run\r\n   ```bash\r\n   mkdir -p ~/.config\r\n   docker run -it --name code-server -p 127.0.0.1:8080:8080 \\\r\n   -v \"$HOME/.config:/home/coder/.config\" \\\r\n   -v \"$PWD:/home/coder/project\" \\\r\n   -u \"$(id -u):$(id -g)\" \\\r\n   -e \"DOCKER_USER=$USER\"  -e \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/some/path\" \\\r\n   codercom/code-server:latest\r\n   ```\r\n2. Login to the browser, launch terminal in vscode and print the PATH `echo $PATH`\r\n3. Always get: \r\n\n\n### Expected\n\n`/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/some/path` with some extra paths appended by code-server.\n\n### Actual\n\n`/usr/lib/code-server/lib/vscode/bin/remote-cli:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games`\n\n### Logs\n\n_No response_\n\n### Screenshot/Video\n\n_No response_\n\n### Does this issue happen in VS Code or GitHub Codespaces?\n\n- [X] I cannot reproduce this in VS Code.\n- [X] I cannot reproduce this in GitHub Codespaces.\n\n### Are you accessing code-server over HTTPS?\n\n- [X] I am using HTTPS.\n\n### Notes\n\nThough I checked I am using HTTPS, but I actually running locally without HTTPS.\r\nI checked it because it is a must and I think HTTPS has nothing to do with the issue.","author":{"url":"https://github.com/huweiATgithub","@type":"Person","name":"huweiATgithub"},"datePublished":"2022-10-05T05:07:22Z","url":"https://github.com/coder/code-server/issues/5621"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2d5e5292-d164-cfc1-d111-3c1b85cf7f1b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC4E2:19AA62:2A47C16:35B22F6:6B01A71D
html-safe-nonce7ab23f2ff0100196465943ea1887080d63742878b58d412c60ba50bd196eb4a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEUyOjE5QUE2MjoyQTQ3QzE2OjM1QjIyRjY6NkIwMUE3MUQiLCJ2aXNpdG9yX2lkIjoiODQyMDAwMDA4NTI2NTQ1ODk3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac37d13d8f4a03246b50c4bd83984f1755ed8f19d4d5dd4f54730fcba953eebcb2
hovercard-subject-tagissue:1397237488
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5621/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d30f98becf4e894d0b5589055f71cbe22a0407592f83d3ed8eb4230e9e07bba3/coder/code-server/issues/5621
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d30f98becf4e894d0b5589055f71cbe22a0407592f83d3ed8eb4230e9e07bba3/coder/code-server/issues/5621
og:image:altIs there an existing issue for this? I have searched the existing issues OS/Web Information Remote OS: Ubunu Remote Architecture: amd64 code-server --version: both v4.7.0 and v4.0.1 are tried Steps...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehuweiATgithub
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/5621#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5621
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5621
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/5621
Reloadhttps://github.com/coder/code-server/issues/5621
Reloadhttps://github.com/coder/code-server/issues/5621
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5621
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5621
#5688https://github.com/coder/code-server/pull/5688
[Bug]: code-server (run with docker) will always overwrite PATH variablehttps://github.com/coder/code-server/issues/5621#top
#5688https://github.com/coder/code-server/pull/5688
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
4.8.0https://github.com/coder/code-server/milestone/48
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issue-1397237488
Nexthttps://github.com/coder/code-server/issues/5621?timeline_page=1
huweiATgithubhttps://github.com/huweiATgithub
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#event-7522072096
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268069226
fix: invoking code-server in integrated terminal #5360https://github.com/coder/code-server/pull/5360
[Feat]: Upgrade vscode to 1.70 #5417https://github.com/coder/code-server/issues/5417
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268749658
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268750777
@code-asherhttps://github.com/code-asher
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268767916
@huweiATgithubhttps://github.com/huweiATgithub
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268776661
@huweiATgithubhttps://github.com/huweiATgithub
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268780283
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268787319
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268788687
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268802060
https://demo.jupyter.b-data.chhttps://demo.jupyter.b-data.ch
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268820184
#4699https://github.com/coder/code-server/issues/4699
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268821320
https://demo.jupyter.b-data.ch/https://demo.jupyter.b-data.ch/
https://user-images.githubusercontent.com/37072526/194139034-b3a0d04e-aae3-40a1-99cf-ae1fb4fc198a.png
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268825414
#4699https://github.com/coder/code-server/issues/4699
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268829866
as seen herehttps://github.com/microsoft/vscode/blob/a236bed77998b6e6026813a9dd7d45d7a6f680dc/src/vs/platform/shell/node/shellEnv.ts#L136-L142
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268852886
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268858352
https://github.com/b-data/jupyterlab-python-docker-stack#run-containerhttps://github.com/b-data/jupyterlab-python-docker-stack#run-container
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268862114
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268863341
as seen herehttps://github.com/microsoft/vscode/blob/a236bed77998b6e6026813a9dd7d45d7a6f680dc/src/vs/platform/shell/node/shellEnv.ts#L136-L142
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268876980
https://user-images.githubusercontent.com/37072526/194147208-27d46b98-a3d6-4e0b-bf17-5618636e7de2.png
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268917421
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268935854
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268963878
https://github.com/huweiATgithub
huweiATgithubhttps://github.com/huweiATgithub
on Oct 5, 2022https://github.com/coder/code-server/issues/5621#issuecomment-1268993231
jsjoeiohttps://github.com/jsjoeio
On Deckhttps://github.com/coder/code-server/milestone/20
on Oct 6, 2022https://github.com/coder/code-server/issues/5621#event-7535842601
code-asherhttps://github.com/code-asher
completedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5688https://github.com/coder/code-server/pull/5688
on Oct 24, 2022https://github.com/coder/code-server/issues/5621#event-7656590882
jsjoeiohttps://github.com/jsjoeio
On Deckhttps://github.com/coder/code-server/milestone/20
October 2022https://github.com/coder/code-server/milestone/47
4.8.0https://github.com/coder/code-server/milestone/48
on Oct 24, 2022https://github.com/coder/code-server/issues/5621#event-7657513486
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/5621
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5621
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
4.8.0https://github.com/coder/code-server/milestone/48
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.