Questions tagged [remote-containers]
14 questions
7
votes
1 answer
Fedora Silverblue : VS code's remote container extension : empty folder
Introduction
I'm currently trying to use Remote container of VS Code with Fedora 36 Silverblue OS.
And I configured the extension to use Podman instead of Docker.
The project with which I try to use the extension:…

ThrowsError
- 1,169
- 1
- 11
- 43
6
votes
1 answer
How can I bind mount to a vscode devcontainer without hard-coding it in devcontainer.json
In this question it is recommended that .devcontainer.json should be committed.
I agree, but for one problem. I need to bind mount a local directory into my devcontainer. That requires a local path that my colleagues won't have. The purpose is to…

thclark
- 4,784
- 3
- 39
- 65
4
votes
0 answers
How to interrupt the building of a Docker container in VSCode?
Haven't found anyone else asking this question so this might have an obvious answer, but I'm new to web development and haven't been able to figure out yet (so here goes nothing)
If VSCode is unable to finish building a container because the…

hziggity
- 53
- 3
1
vote
0 answers
I am getting an error when I use the remote-container plugin for VS Code to connect to a remote Linux docker container
my environment
VS Code: 1.68.1
remote-containers: v0.238.2
Docker: 20.10.17
Linux(Server): Linux version 3.10.0-957.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC…

sunnyc
- 15
- 5
1
vote
0 answers
Deploy an app developed in VS code remote containers
I just started using vscode remote containers extension. It's quite nice as I can simply install packages in the container, I don't have to use virtual environments and I don't have to clean up packages locally. It helps me keep my local environment…

vlsb
- 31
- 6
0
votes
0 answers
VSCode failed to build and open dev container over remote SSH
I use VSCode to build and open dev container in a remote Ubuntu server. VSCode failed to create the dev container.
The log shows that docker buildx failed to get build context dev_containers_feature_content_source as there is no such file or…

TuanNV
- 81
- 1
- 4
0
votes
0 answers
Environment variables for root user in VSCode Remote-Container
I have a rather complex setup (corporate proxy) where I need to set proxies in the vscode remote container in order to do anything.
This works great if I set HTTP_PROXY and such in the containerEnv in devcontainer.json.
Now in case someone wants to…

Roemer
- 2,012
- 1
- 24
- 26
0
votes
0 answers
Error creating a container after Windows Update
I could create dev containers all fine before i updated my windows. Now
whenever i try to create a new remote connection on docker using vs code Dev Containers, i get this error
[6194 ms] Error: Command failed: docker-compose --project-name…

Jaki
- 1
- 1
0
votes
0 answers
How to run a remote container in JetBrains IDE
Please forgive me as this is my first time working with docker and containers so I may mess up some terminology.
So I am trying to take on a project that is found in a remote docker container, and as far as I know, working remotely in a container is…
0
votes
0 answers
branches of git repo not showing in vscode using local devcontainer
I have a repo on github configured with codespaces. When opening codespaces on github in the cloud everything works and I can easily switch between branches.
Now I checked out the same repo locally on my windows machine an opened it with my local…

mwinterm
- 1
0
votes
1 answer
VSCode remote containers - M1 ver Win11
My Win11 computer's VSCode for remote containers shows the green "Open in Remote Window" in the UI but my Mac M1 doesn't. Both are running docker and both took the latest updates. Is there a reason Mac M1 UI is different now or is this a bug?
The…

DFBerry
- 1,818
- 1
- 19
- 37
0
votes
2 answers
VSCode - Dev container on docker not running
I've been using the "Remote - Containers" extension to run python inside a docker container.
This has been working great for me for the last couple of month without any issues.
Today I've tried doing the same on a repo I haven't ran before. Went…

Ido GD
- 45
- 6
0
votes
1 answer
Reopening in a Container in Vscode - git issue
I have a project with a .devcontainer folder with appropriate setup files. So, through Vscode I can open the project in a docker container with the configured environment for development and testing. But when I open it in a container all the files…

Tarique
- 463
- 3
- 16
0
votes
1 answer
How do I deploy a dev container without running every other service?
Below is a docker-compose.yml from Visual Studio Code "Go & PostgreSQL" development container preset (original avaiable here):
version: '3.8'
volumes:
postgres-data:
null
services:
app:
build:
context: .
dockerfile:…

thzoid
- 185
- 11