Skip to content

Sanity Check VS Code Servers

Christof Marti edited this page Feb 5, 2020 · 25 revisions

Linux Platforms

This is using the Remote-Containers extension and assumes Docker is installed.

  • Install VS Code at the exact version (commit) that needs sanity checking.
  • Install the Remote-Containers extension.
  • Register the QEMU hardware emulator and start 4 kinds containers with the following commands:
docker run --rm --privileged hypriot/qemu-register
docker run -d ubuntu sleep infinity
docker run -d arm32v7/ubuntu sleep infinity
docker run -d arm64v8/ubuntu sleep infinity
docker run -d alpine /bin/sh -c 'while sleep 1; do :; done'
  • Check that you can connect to each of the containers from the Remote Explorer.
    • Check which platform you are on by running uname -m from the integrated terminal. (Expect: x86_64, armv7l and aarch64)
    • Alpine Linux runs on x86_64, check cat /etc/os-release shows Alpine as the distro.
  • Use the Remote Explorer to remove the containers. (Note that the current window's container cannot be removed, use a new window instead.)