platformio-vscode-ide
platformio-vscode-ide copied to clipboard
PlatformIO IDE on code-server running in a Docker container
Hi guys, this is probably not the right place to ask this question, but I don't know where to start such a thread ... don't have a Discord server or a Slack workspace or a Team on Microsoft Teams?
Anyway, has anyone tried running PlatformIO IDE inside a code-server instance running in a docker container like this https://hub.docker.com/r/codercom/code-server ?
I have tried and made a good point, but there are several obstacles that I don't know how to deal with ...
Thank you for your nice work!
I have it mostly working using the linuxserver docker image. Here's a snippet of my docker compose file:
version: '2.4'
services:
code-server:
image: lscr.io/linuxserver/code-server
restart: always
ports:
- 8443:8443
environment:
- TZ=America/Chicago
- PUID=1000
- PGID=1000
- DOCKER_MODS=linuxserver/mods:code-server-python3
- 'EXTENSIONS_GALLERY={"serviceUrl":"https://marketplace.visualstudio.com/_apis/public/gallery","itemUrl":"https://marketplace.visualstudio.com/items"}'
volumes:
- /srv/docker/code-server:/config
- /projects/path/on/host:/projects
The pio command and PlatformIO project tasks work but the embedded web pages (e.g. PIO Home) don't work. And unfortunately it's not possible to get them working currently as the extension assumes you're accessing it from the same host it's running on.
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
Has anyone been able to get PlatformIO running in docker in code-server?