Join Lee Brandt for an in-depth discussion in this video Using the exercise files, part of Docker for .NET Developers with Visual Studio.
- [Instructor] This course comes with exercise files. I recommend downloading them to your desktop like I've done here. Let's open up the exercise files and take a look at what's inside. There's a starter project that's just a conference app that we'll be dockerizing. Then for each chapter where we change the code, there'll be a folder with a begin and a finish. This means you can jump around as you like and you can just start with the begin folder for whatever chapter you'd like to view.
You'll also need to download Docker. Go to the Community Edition page and download Docker for whatever platform you're running on. We'll be running on Windows. If you're running Docker on Windows, the first thing you'll want to do once it's installed, is go to the Docker whale in your taskbar. Right click on the Docker whale and go to settings. Choose Shared Drives. Make sure that your C drive, or whatever drive you're running on is shared. This is where Docker will be writing all of its files.
If it doesn't have access to it Docker won't work and it's not shared by default. Also for Docker to work, you'll need to be using Windows 10 Professional version or better. Windows 10 Home will not work. For our command shell we'll be using PowerShell.
- Why containers?
- How do containers compare to virtual machines?
- Creating a Dockerfile
- Building an image from a Dockerfile
- Running a container from a new image
- Working with the Docker Compose file format
- Pushing images to Docker Hub