The Codespace is not available #153598
Replies: 2 comments
-
The mistakes is happening due to the fact when you run docker forestall $(docker playstation -q) you're preventing all jogging containers—consisting of the very box that powers your Codespace. When that field stops, the Codespace shuts down, that's why you notice a big white screen with the message "The Codespace is not available." What’s Going On? Command Impact: The command docker ps -q lists the IDs of all running bins. Piping that to docker stop stops each box, inclusive of the only you're actively the usage of. How to Avoid It docker stop <container_id_or_name> Exclude the Codespace Container: Be cautious no longer to consist of the Codespace field on your command. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I am excited to get my first codespace established, which means I need to issue docker commands.
With, for example,
docker stop $(docker ps -q)",
I get "The Codespace is not available" on a big white screen. I guess white is the new blue.
/ For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/java
{
"name": "xxxx",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a Java version: 17, 19
// Append -bullseye or -buster to pin to an OS version.
// Use the -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "17-bullseye",
// Options
// maven and gradle wrappers are used by default, we don't need them installed globally
// "INSTALL_MAVEN": "true",
// "INSTALL_GRADLE": "false",
"NODE_VERSION": "22.13.1"
}
},
}
Beta Was this translation helpful? Give feedback.
All reactions