Do It Yourself - Exercise
An exercise to test how well you understand Docker Swarm.
We'll cover the following
Finally, you are here! The journey to Docker mastery will end soon and you will have Docker in your skill set along with its variations. The feeling of achievement must be awesome. You should definitely feel proud as you put all your efforts into learning a new skill that increases your ability to work with containerized product environments.
This exercise is mainly focused on your understanding of the different components and architecture of Docker and Docker Swarm. So, if your core concepts are clear, then solving this exercise will be a piece of cake.
Problem statement
In this exercise, you will troubleshoot the issues in the code. The following code of the docker-compose environment has some issues. You need to identify them and fix them. When you run the app in swarm mode using the following code it won’t work as expected. The task is to fix the docker-compose file to make the app work with the database.
Get hands-on with 1400+ tech skills courses.