-
Notifications
You must be signed in to change notification settings - Fork 376
Sanity Check VS Code Servers
Connor Peet edited this page Mar 15, 2021
·
25 revisions
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'
-
Note: at the moment, you need to manually install libatomic on the
arm32v7/ubuntu
container:-
docker ps
to get the ID of the running container docker exec -it <id> apt update
docker exec -it <id> apt install libatomic1
-
-
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
andaarch64
) - Alpine Linux runs on
x86_64
, checkcat /etc/os-release
shows Alpine as the distro.
- Check which platform you are on by running
-
Use the Remote Explorer to remove the containers. (Note that the current window's container cannot be removed, use a new window instead.)
Use the Remote-SSH extension to connect from any client platform to a Windows remote. You can use the test VM from this issue.
Use the Remote-SSH extension to connect from any client platform to a macOS remote (connecting to localhost
is ok). To start the SSH server, you just have to enable Remote Login as described here.
Project Management
Help
Smoke Tests