-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
doc: Add docs for Codespaces #52
base: master
Are you sure you want to change the base?
Conversation
Added a subsection of 'Setup for a project' named 'Run inside GihHub Codespaces' in where is explained how to setup the devcontainer inside a GitHub Codespace. Fix #51
Fixed a typo inside 'Run inside GitHub Codespaces' section Co-authored-by: Quentin McGaw <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
# Docker socket to access Docker server | ||
- /var/run/docker.sock:/var/run/docker.sock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this one be commented as well for codespaces?
- - ~/.ssh:/root/.ssh | ||
+ # - ~/.ssh:/root/.ssh | ||
# For Windows without WSL, a copy will be made | ||
# from /tmp/.ssh to ~/.ssh to fix permissions | ||
- - ~/.ssh:/tmp/.ssh:ro | ||
+ # - ~/.ssh:/tmp/.ssh:ro | ||
# Shell history persistence | ||
- - ~/.zsh_history:/root/.zsh_history:z | ||
+ # - ~/.zsh_history:/root/.zsh_history:z | ||
# Git config | ||
- - ~/.gitconfig:/root/.gitconfig | ||
+ # - ~/.gitconfig:/root/.gitconfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually thinking more about this, should we flip this around?
Comment them in .devcontainer/docker-compose.yml and not have this section in the readme?
That would make more sense I think.
I'll see what I can do with https://github.com/qdm12/devtainr as well so it can uncomment those fields when setting up a repo 😉 Created qdm12/devtainr#68
Added a subsection of 'Setup for a project' named 'Run inside GihHub Codespaces' in where is explained how to setup the devcontainer inside a GitHub Codespace.
Fix #51