C01: Setting up git / Docker / VSCode DevContainers for Class Assignments
This video is mainly for students of East Texas A&M University who need to set up a git / Docker / VSCode environment for doing DevContainer based assignments. But if you are interested in using Docker containers in VSCode for creating development containers, it should be relevant to you. In this video I walk students through the steps to set up their environments for doing class assignments. This video is not specifically for Windows 10/11 students, I dot discuss installing on MacOS and Linux, but there are some Windows 10/11 specific examples. I start by creating a GitHub account, and installing git tools on the system. I look at ensuring your git configuration is correct, and how to generate a ssh key pair and successfully add it to GitHub and authenticate with it. Also I talk about setting up your ssh-agent so that your keys can correctly be communicated into your containers. I next look at installing and configuring the Docker Engine. On a Windows 10/11 system, you should first configure wsl (Windows Subsystem for Linux) before installing Docker, which we demonstrate doing. Once git and Docker are configured, I show installing VSCode and using it to do DevContainer development. I install the Remote Development package of extensions. I then walk you though creating a test container and validating that your container works correct and that your ssh keys are correctly communicated into the container and can be used to authenticate with GitHub for development. Resources: git / Docker / VSCode setup instructions: https://github.com/etamu-class/vscode-docker-devcontainer git installer: https://git-scm.com/downloads Docker installer: https://www.docker.com/get-started/ VSCode installer: https://code.visualstudio.com/ East Texas A&M University: https://www.tamuc.edu/ ETAMU Department of Computer Science: https://www.tamuc.edu/computer-science-and-information-systems/ 00:00 Introduction 00:37 Install and configure git and create a GitHub account 09:42 Generate ssh keypair, add key to GitHub and test you can correctly authenticate 15:45 Ensure ssh-agent is managing key to communicate into containers 19:24 Setup wsl (Windows Subsystem for Linux) for Windows 10/11 Docker Users 24:39 Install and configure Docker Desktop 29:28 Install VSCode IDE 31:23 Install Remote Development pack Extension for DevContainer creation and development 33:38 Test creating and opening Docker DevContainers in VSCode 39:35 Summary
Download
0 formatsNo download links available.