Skip to content
Rohit pawar edited this page Mar 3, 2023 · 1 revision

Welcome to the Docker-commands wiki!

Question : Each time when we kill and up container new Ip assigned to containers?

 Ans : YES , so here changing IP every-time so for internal communication b/w container It can create problem , solution is Docker-virtual network in which Existing container can communicate with another container by using its name instead of IP And Hence Problem resolved.

Question : Why Docker-compose?

  1. We can start multiple container at ones
  2. and It acts as one time afford Script through which by running one cmd all things set up.
  3. Docker-compose also gives the feature of restart or update the container without killing them just update.

Question : Docker-Architecture?

  1. Docker-Demon
  2. Docker-Client
Clone this wiki locally