1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Docker

Exercise

Helping a colleague

You're working on a project of your own and have quite a few containers running when your colleague asks you to debug an issue he's having. You've got some time to help your colleague, but you want to make sure you can find his container among all the ones you already have running.

Instructions 1/3

undefined XP
  • 1
    • Using the terminal, enter the command to run the my_project image detached from your shell while giving it the colleague_project name.
  • 2
    • The container should be running now. Make sure it is by filtering the running containers using the name colleague_project you gave the container.
  • 3
    • Now that you're sure the container is running look at the logs using the container's name, colleague_project.