You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,20 @@ docker run -it --rm \
102
102
103
103
> You can now launch nvim from inside the container, and work on your project directly from the mounted volume.
104
104
105
+
💡 **Note**: The Codespaces Docker image is also available on GitHub Container Registry.
106
+
107
+
If your company restricts access to docker.io, you can use the GitHub-hosted image instead by replacing `ealen/codespaces` with `ghcr.io/ealenn/codespaces`.
108
+
109
+
```sh
110
+
alias codespaces='docker run -it --rm \
111
+
-v "$HOME/.ssh:/home/ubuntu/.ssh:ro" \
112
+
-v "$HOME/.gnupg:/home/ubuntu/.gnupg:ro" \
113
+
-v "/var/run/docker.sock:/var/run/docker.sock" \
114
+
-v "$PWD:/workspace" \
115
+
-w /workspace \
116
+
ghcr.io/ealenn/codespaces'
117
+
```
118
+
105
119
# 💻 GitHub Codespaces Support
106
120
107
121
This image is fully compatible with [GitHub Codespaces](https://docs.github.com/en/codespaces)!
0 commit comments