For creating multiple images for our website

Please anybody can tell me how to create different images for my website components like - front end, backend.
and how to connect them ???


I think you need to find some tutorials/read some doku about docker, i belive you need some basic understanding on how it works.

But in short, you need to create a docker network, that both containers use, and then you can use the container names, fx. if you have a container named “database”, you should be able to “ping database” from the other container.

But this is all pretty simple to make if you use docker-compose, which will create the network and join the containers in it.