From the course: Database Foundations: Intro to Databases

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Create a server container

Challenge: Create a server container

From the course: Database Foundations: Intro to Databases

Start my 1-month free trial

Challenge: Create a server container

(Upbeat music) - [Instructor] Running a database server inside of a Docker container greatly simplifies the installation and configuration needed in order to get up and running. Because of this i want to make this process the subject of your first challenge. Your goal is to create a new RDBMS container for either SQL server or PostgreSQL. There are a couple of things to keep in mind if you've been following along. Docker containers must have unique names and your database server containers must listen on unique communication ports. This way, you can have multiple containers running at the same time and you'll be able to distinguish them on your virtual network. After you've created your new server, verify that it's running. Stop the container and then remove it. Feel free to practice these steps until you feel comfortable with the procedure. Finally, keep in mind that the Docker image for your RDBMS only needs…

Contents