VS code in browser - tested

 

With Visual Studio Code it is very easy to develop on a remote system, see Visual Studio Code (VS Code) - Remote. The Openvscode server from Gitpod goes one step further, this allows VS Code to be made available as a server service. All that is needed to access it is a browser.

Docker Basics

Docker allows applications to be launched by command in a so-called container.
A container is an isolated environment independent of the operating system (OS):
When a container is first launched, Docker independently loads all the necessary sources
from the internet.
Docker can be installed on Windows, macOS or an Linux Distribution

On the server side, a Docker container with a mapping to a local folder is enough:

Docker container startup

Those who already have Docker installed can start the Openvscode server with the following command:

docker run -it --init -p 3033:3000 -v "$(pwd):/home/workspace:cached" gitpod/openvscode-server

Instead of $(pwd), another folder can of course be used here. The folder is then mapped into the Docker container and can be used there for editing. As port for access I used :3033 according to the command:

See also: github.com/gitpod-io/openvscode-server/

https and authentication

If you want to make the Openvscode server available on the network or even over the internet, you should protect it from unauthorized access. Network traffic should be encrypted and authentication should be added urgently. Depending on the usage scenario, an additional web proxy, such as the Letsencrypt-nginx-proxy-companion and at least a Basic-Authentication or Google-Authentication helps for this, see: LetsEncrypt Reverse Proxy in Practice.

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2023-05-23 from Bernhard | Übersetzung Deutsch |🔔 | Comments:0

Node-RED in Docker and Home Assistant integration | Container | InfluxDB: Time series database in Docker

Top articles in this section


Send signal messages via script / API: signal-cli-rest-api

The well-known Signal Messenger can besides the app also be used via command line or from other systems. The signal-cli-rest-api, which is available in the form of a Docker container, offers a simple option for this. For the API to work, it has to be coupled via the Signal app beforehand.


Nextcloud Server Docker | Setup + https: Let's Encrypt [ssl]

To synchronize contacts, appointments, and photos of my NAS, I tested Nextcloud and thus turned my back on other cloud providers for my private data. Thanks to Docker, the installation is easier and more flexible than ever, allowing Nextcloud to run on almost any hardware.


Commissioning Zigbee2MQTT in Docker - step by step

Zigbee2MQTT is an open source Zigbee bridge which can be easily integrated into existing smart home solutions thanks to the MQTT network protocol. As an example, Zigbee2MQTT combined with MQTT broker Mosquitto and Home Assistant can collect, display, record and control data from Zigbee devices. The setup described here uses Docker as a base. Manufacturer's website: https://www.zigbee2mqtt.io

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details