Giter Club home page Giter Club logo

container-tunnel's Introduction

What this is

A Docker container that runs Visual Studio Code Remote Tunnel which can be connected from a remote client having Visual Studio Code locally installed or from the vscode.dev web app. The remote client can be a computer, an iPad or even a smartphone if your eyesight is good enough.

The container mounts a named volume that is supposed to contain workspace data.

How to use it

Run the scripts

Windows

  1. Execute build.bat to build the Dockerfile.
  2. Execute run.bat to run the container if it doesn't exist yet or to start it if it has been created before.

The image's name should be alexanderdna/container-tunnel.

The container and volume's name should both be alexanderdna-container-tunnel.

You can change the names to whatever you like.

Linux/MacOS

I don't have the shell scripts for these platforms yet. Please feel free to contribute by making pull requests. Thank you in advance.

Allow connections

When the container is up, open its log in Docker Desktop or in the terminal using the following command:

docker logs -n 50 alexanderdna-container-tunnel

You will see a message from Visual Studio Code Server with the instruction to log into GitHub. Follow the instruction and you will be provided a tunnel name to connect.

For more details about Remote Tunnel, visit this page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.