You have multiple dependent Docker containers. How can you make them to wait for their dependencies to become ready?
Experience Level: Junior
Tags: Docker
Answer
Use Docker compose that has depends_on, links, volumes_from.
Related Docker job interview questions
Is it a good practice to run Docker compose in production?
Docker JuniorHow do you monitor Docker in production?
Docker JuniorIs it a good practice to run stateful applications on Docker?
Docker JuniorHow many containers can run per host?
Docker JuniorDo you think that Docker will be replaced by Cloud?
Docker Junior