Skip to content
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

[Question]: How to use it as Dev Container image? #864

Open
2 tasks done
Diegorro98 opened this issue Nov 10, 2024 · 1 comment
Open
2 tasks done

[Question]: How to use it as Dev Container image? #864

Diegorro98 opened this issue Nov 10, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Diegorro98
Copy link

Diegorro98 commented Nov 10, 2024

Is your question not already answered in the FAQ?

  • I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

  • I am sure my question is not about a technical issue.

Question

I would like to use the image in a devcontainer, vscode tries it.
This what I already done: create a workspace with a file called .devcontainer/devcontainer.json with the following content:

{
  "name": "Windows Dev Container",
  "image": "dockurr/windows",
  "postCreateCommand": "/usr/bin/tini -s /run/entry.sh",
  "runArgs": [
    "--device=/dev/kvm",
    "--cap-add",
    "NET_ADMIN",
    "--stop-timeout",
    "120"
  ],
  "appPort": [
    "8006:8006",
    "3389:3389/tcp",
    "3389:3389/udp"
  ]
}

Then open the workspace with vscode and execute remote-containers.reopenInContainer command
In local it was working, but because I didn't have enough space, I think it failed.

I also tried at codespaces, limiting the disk space to 16G with "containerEnv":{"DISK_SIZE":"16G"}, and it booted, but trying to access to the desktop from the browser doesn't seem to be working (connection refused)

@Diegorro98 Diegorro98 added the question Further information is requested label Nov 10, 2024
@maksymdor
Copy link

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@Diegorro98 @maksymdor and others