Questions tagged [github-codespaces]
114 questions
2
votes
1 answer
Are gitignore’d `.env` files in GitHub Codespaces visible to anyone but me?
Background
GitHub allows you to store Encrypted Secrets (Settings > Codespaces > Codespaces secrets), which is an amazing feature. For security, secrets stored this way are never visible to you once they are stored.
However, while hacking on…

Ash Ryan Arnwine
- 1,471
- 1
- 11
- 27
2
votes
0 answers
Is it possible to build mobile apps using VSCode Dev Containers / GitHub Codespaces?
My assumption is no, due to the need for device connectivity or running emulators which exceeds the capabilities of Dev Containers and containers in general that seem to rely on opening ports to expose the running app.
There seems to be very little…

gbro3n
- 6,729
- 9
- 59
- 100
2
votes
0 answers
Poor terminal performance in local VS Code Dev Container
I'm exploring remote container development in VS Code and GitHub Codespaces.
For context, I'm working in Windows 11 on performant Dell XPS 9310 i7 / 32 GB RAM machine.
When I open my Codespace / Dev Container in GitHub Codespaces via the browser, or…

gbro3n
- 6,729
- 9
- 59
- 100
2
votes
0 answers
None of your organizations have access to Codespaces yet
I am unable to locate and enable Codespaces on my Github account. I have tried different variation like
Navigating in the organization setting but there is no option related to codespace.
Can anyone guide me in the right direction on this.

hellowahab
- 2,445
- 4
- 21
- 34
2
votes
1 answer
GitHub Codespaces: can't open file explorer at top-level directory
When you start a Codespace, it puts you in /workspaces/repoName, both in the terminal and the sidebar file explorer.
From the terminal, you can cd / into the top level directory, and do command-line stuff.
But the file explorer can't seem to…

ultraGentle
- 5,084
- 1
- 19
- 45
1
vote
1 answer
Key repeat in GitHub Codespaces
In the text editor of a GitHub Codespace...
If I press-and-hold an arrow key on my keyboard, the key repeats. Perfect!
If I press-and-hold the j key, only one j is inserted. Not perfect!
How do I enable key repeat in the editor of a GitHub…

Wallace Kelly
- 15,565
- 8
- 50
- 71
1
vote
0 answers
Forward ipv6 port on github codespace
I'm trying to create a port forwarding in github codespaces. When I run the application using an ipv4 port, the codespace itself creates port forwarding and it just works, but when I try to forward an ipv6 port, I can't access the application that…

Estevanbs
- 140
- 2
- 13
1
vote
1 answer
codespaces dockerfile copy fails
I am trying to learn codespaces and I have the following dockerfile:
FROM mcr.microsoft.com/vscode/devcontainers/base:debian-11
RUN apt update -y; \
apt install python3-pip -y
COPY .devcontainer/req.txt /usr/local/bin/.
RUN pip3 install…

JohnJ
- 6,736
- 13
- 49
- 82
1
vote
2 answers
ModuleNotFoundError while using GitHub codespace editor
Recently I started using GitHub codespace for the first time. I created a new codespace from one of my repositories. Assuming the folder structure as below:
my-codespace
|--- utils
|------ my_script.py
|--- config.py
I get the following error when…

Babak
- 55
- 8
1
vote
1 answer
GitHub self-hosted runner appears offline on codespace start up
Context
In my .devcontainer.json file I have postCreateCommand and postStartCommand jobs that point to startup.sh script. My idempotent .startup.sh script start github's self-hosted runner with nohup process - that way the runner runs in background…

Lukasz Dynowski
- 11,169
- 9
- 81
- 124
1
vote
1 answer
How to connect to git code spaces via ssh from another machine?
I have git code space
I want to use my other machine MacBook Pro to connect to that specific git code space via ssh
How do I do that ?

David
- 1,284
- 1
- 11
- 21
1
vote
1 answer
Is it possible to host a Minecraft server on GitHub Codespaces?
I downloaded the Fabric server jar file to a GitHub Codespace and am able to run the server without trouble. However, I am unable to determine the IP needed to connect to the server. Starting the server automatically forwards port 25565 and I make…

AdamRaichu
- 149
- 1
- 13
1
vote
1 answer
How to k8s deploy to a minikube that runs in github codespaces?
Context
I've installed minikube in github codespaces, and that works fantastic! With this setup I'm able to port forward any application running in minikube and reach it with the url generated by github codespaces.
Problem
I'd like to use github…

Lukasz Dynowski
- 11,169
- 9
- 81
- 124
1
vote
0 answers
Is it possible to to run and display pygame features on GitHub Codespaces? ("pygame.error: No available video device")
Let's say I have a simple program as shown below that I want to run on the Cloud IDE Codespaces in GitHub.
import pygame
from pygame.locals import *
pygame.init()
pygame.display.init()
Now, if I run the program, I get a bunch of…

Blyfh
- 43
- 5
1
vote
1 answer
Dockerfile and multiple images (for github codespace)
I am trying to set up a .devcontainer.json file to use in Github Codespace. What I want is to have a container which has the basic python image, plus the bazel image so that I can use bazel without having to install it any time I create a new…

Ant
- 5,151
- 2
- 26
- 43