In this video, learn how to run the test that you developed through Docker Compose. Additionally, practice running one-time commands through Docker Compose services.
- [Instructor] So now that we have our Docker composed, … let's go ahead and run it. … First of all I'm going to start the website with … Docker Compose up, but I'm going to use a dash D option … to hide the output from the website. … So docker-compose up website. … And then I'm going to run my unit tests … against the website. … So I'm going to do docker-compose run. … And then I'm going to put this RM option so that … Docker Compose doesn't save the container … when it's done doing what it needs to do. … That way I can save some space. … So unit tests... … And so now it's going to build our unit tests. … This can take a while. … Ah, I spelled something wrong. … Let me go ahead and fix that. … Mantainer, no, let's try maintainer. … This can take a while, depending on your system … and your network connection … because this is quite, this is quite big. … And in addition to that it does some … code compilation, … so that can take a while depending on how fast … your system is. … This is usually where it gets hung up. …
- Writing your first Dockerfile
- Using Docker Compose
- Testing your app with RSpec, Capybara, and Selenium
- Writing Terraform code
- Deploying a website into AWS S3
- Writing and running integration tests
- Writing a CI/CD pipeline with Jenkins
Skill Level Beginner
1. The Project/The Mission
Your application, pre-DevOps2m 59s
2. Testing Locally with Docker
3. Testing Your App with RSpec, Capybara, and Selenium
4. Infrastructure as Code with Terraform
5. CI/CD as Code with Jenkins
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.