/complete-intro-to-containers

The Complete Intro to Containers! As taught on Frontend Masters.

Primary LanguageJavaScriptOtherNOASSERTION

Getting Set Up

For Everyone

Install Visual Studio Code. For one section of the course I'll go over some of how VSCode and containers work well together. The rest of the course you can use whatever editor you want.

For macOS and Linux

Please make sure you have the following things installed and ready to go!

For Windows

If you have Windows 10 Professional (it doesn't work in Home), try WSL 2 and Docker for WSL 2. WSL stands for Window Subsystem for Linux. It allows you to run Linux within Windows. That's what I'll be using. WSL 2 works faster than WSL1 but it's harder to set up since it's still in preview.

If you do not have Windows 10 Professional and you do not want to buy it, follow this blog post to install VirtualBox and a Linux VM so you can follow inside of Linux. I'd suggest using Ubuntu.

Or, if you know PowerShell really well and know how to translate bash commands to PowerShell commands, feel free to install Docker Desktop Community and do everything from PowerShell (honestly it shouldn't be too bad.)

Verify Docker installation:

Make sure when you go to a bash prompt and type docker info that it outputs system info and doesn't error out. This will let you know that everything is working.

Once you have Docker up and running, please run the following. This will pull most of the containers you will need up front.

docker pull ubuntu:bionic
docker pull node:12-stretch
docker pull node:12-alpine
docker pull nginx:1.17
docker pull mongo:3
docker pull jguyomard/hugo-builder:0.55