Docker Compose & Docker Volumes | Docker

preview_player
Показать описание
What is Docker-Compose and Docker-volumes?
Queries Solved
- Docker Compose
- Docker Volumes

#DockerCompose #DockerVolumes

Github URL for Source code :-

Channel Link:-

If you like the video , Please do subscribe my channel.
Keep Supporting me so that I can Continue to provide you free
content.
---------------------------------------------------------------------------------
Thank you for watching
---------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Very well explained. Cristal clear. Thanks!

leonardoivars
Автор

If the volumes do not persist when entering docker-compose down, try docker-compose stop. In my case it worked

alexlivadaru
Автор

Question about the syntax in compose file:
@8:18, I can see there is a hyphen "-" in line 6, 8
But there is no hyphen in line 10 or line 13
Some people said hyphen is needed for string. But line 6 is clearly not string but there is a hyphen.
So, what is the rule on the usage of hyphen?

Second, if volume is not used, we lost our existing database when container shuts down as shown in this video.
When volume statement is used, like line 6, I am still not clear that the database data did not get erased when container shuts down. The database still exist in the host regardless, that was why when querying the database @ 10:36, the data returned. To me, data returned because the database was copied from the host to the container when container was restarted.
Am I correct?

Third, what is the differences between using data binding and using volume?

sorcererstone
Автор

Thanks for your time and for sharing this kind of knowledge in english. I have solved some questions but i have others.
What if i make changes in local and not in container? Where is mounted my volume [local]? If im not root, can i access and write in the local end of the volume?
Nice video btw, thank you again

WhiskyEnLaM