How to Run MongoDB in Docker

  Рет қаралды 23,183

ScriptBytes

ScriptBytes

Күн бұрын

Пікірлер: 47
@javajavelin1
@javajavelin1 Ай бұрын
You are so succinct and fluent in explaining every little tidbit meticulously and flawlessly. I'd appreciate if you can make a 1 hour docker course. Because, it can cover and clear all the concepts of docker in 1 hour which other videos of length 10+ hours unable to do. Thanks so much ❤
@hamprams2231
@hamprams2231 16 күн бұрын
If i could like this video twice, i would! Super easy to understand and follow
@chandansarkar1123
@chandansarkar1123 19 күн бұрын
Thanks a lot for simple and straight forward tutorial.
@MrSadPanda
@MrSadPanda Жыл бұрын
Quick, thorough, and very helpful! Thanks for the video!
@scriptbytes
@scriptbytes Жыл бұрын
Thank you!
@emericpetitgenet3512
@emericpetitgenet3512 5 ай бұрын
Dude you make it practical and easy to understand basic concepts for running mongoDB in docker. Enjoyed the video
@scriptbytes
@scriptbytes 5 ай бұрын
I appreciate that, thank you!
@raylin2527
@raylin2527 28 күн бұрын
I really enjoy watching your video!!
@mikegreiling
@mikegreiling 4 ай бұрын
Thank you. Clear, concise and exactly the information I was looking for.
@scriptbytes
@scriptbytes 4 ай бұрын
Glad it was helpful!
@yadnyesh
@yadnyesh 8 ай бұрын
Cut to chase, loved your video, thank you very much!
@scriptbytes
@scriptbytes 8 ай бұрын
Glad you enjoyed it!
@SimanAndGarfunkel
@SimanAndGarfunkel 9 ай бұрын
really nice, straight forward with the important details explained.
@scriptbytes
@scriptbytes 9 ай бұрын
Thanks for watching!
@lukemanning3825
@lukemanning3825 Ай бұрын
Had so much trouble getting the MongoDB setup for my new Unifi controller, no one else seems to document the username/password configuration options, thanks a bunch.
@hayoudoing
@hayoudoing 6 ай бұрын
This is gold. Thanks a lot
@scriptbytes
@scriptbytes 6 ай бұрын
Happy to help!
@Andy-c6r1c
@Andy-c6r1c 7 ай бұрын
Hey, man! Thank you for your comprehensive guide! This helped me A LOT!
@scriptbytes
@scriptbytes 6 ай бұрын
You’re welcome, thanks for watching!
@UtkarshKoppikar
@UtkarshKoppikar 2 ай бұрын
Never learnt docker in a better way! Found a gold mine
@scriptbytes
@scriptbytes 2 ай бұрын
Great to hear! Thanks!
@PilotGT
@PilotGT 4 ай бұрын
well done, thanks for posting
@tiendatnguyen6758
@tiendatnguyen6758 5 ай бұрын
really detaille , I love it
@scriptbytes
@scriptbytes 5 ай бұрын
Glad you like it!
@WinaM2
@WinaM2 8 ай бұрын
Thanks bro, you saving me!
@scriptbytes
@scriptbytes 8 ай бұрын
Glad I could help!
@doodleydude7833
@doodleydude7833 Жыл бұрын
thanks man, this helps a lot
@scriptbytes
@scriptbytes Жыл бұрын
No problem! Thanks for watching.
@abc_cba
@abc_cba 2 ай бұрын
You have such an easy way of explaning without complexity being added over it. Best wishes, I wanted to sub you but I guess, that you stopped posting videos. All the greetings from India.
@scriptbytes
@scriptbytes 2 ай бұрын
Ya I haven't posted in a while. Between kids, family, summer, and a new position at work, I've taken a break. I'm hoping to start posting again now that summer is over and things are slowing down. Thanks for watching!
@abc_cba
@abc_cba 2 ай бұрын
@@scriptbytes Take all your time, i only wanted to appreciate you, you're an awesome teacher. Best wishes.
@renealbrechtsen9743
@renealbrechtsen9743 4 ай бұрын
In newer docker versions you can just call it 'compose.yaml" and you also don't need to add "version".
@edward481
@edward481 6 ай бұрын
Thanks so much for this video, very clear and helpful. Do you know why a second volume is created which has a name that looks like a long id of some kind?
@AmitKapadiaUK
@AmitKapadiaUK 10 ай бұрын
This is a fantastic tutorial. Can you show how we would deploy this docker compose image to gcloud please. I'm stuck on how to get this live. 🙏
@scriptbytes
@scriptbytes 9 ай бұрын
Where and how you deploy it depends on a few things (price, size, public facing, managed, etc), but I have an older video out that shows how to run a Postgres database on a Google Compute Engine VM. In that video I am showing postgres, and I'm using Docker Run (not compose), but the same general rules would apply. I haven't used it, but MongoDB Atlas in GCP is another option, but it's not using Docker.
@AmitKapadiaUK
@AmitKapadiaUK 9 ай бұрын
@scriptbytes thank you. It's for a client of mine. Small app with not many impressions. Less than a thousand impressions a month. My docker compose image is using node and postgres images
@jakubk7158
@jakubk7158 4 ай бұрын
great video thanks :)
@fatimarani6544
@fatimarani6544 3 ай бұрын
PS D:\mongoDB> docker compose up no configuration file provided: not found got this error
@paulh6933
@paulh6933 Жыл бұрын
Awesome video. couple of q's. when u make a named volume, where is it located in case i wanted to back it up (guessing it may change between mac and windows). how much memory does your mac have. on windows, w/ wsl i mac out my 16gb, even w/ restricting resources
@scriptbytes
@scriptbytes Жыл бұрын
With named volumes, I'm not actually sure where they are, Docker handles all of it. However it sounds like you might want to not use a named volume, and instead give it a path directly to a folder on your pc. Something like this: -v C:/path/to/folder:/data/db This way instead of a volume managed by Docker, it's a folder directly on your host. I have 32GB of memory on this. It's pretty normal for me to be using around 25GB total, but I run a lot of stuff at once lol.
@zed620
@zed620 11 ай бұрын
How do I run TWO or more Micro-services (Spring boot + MongoDB) in a docker compose container ? I can not get my head around it, do I need two separate instance of MongoDB on two different ports?
@scriptbytes
@scriptbytes 11 ай бұрын
If you need two different databases in the same docker compose, then I think they need to be on different ports. I haven't tested it yet, but I would think it would work. Maybe I'll do some testing and research and do a video on it.
@scriptbytes
@scriptbytes 11 ай бұрын
I just ran a really really quick test. I created two different databases in my docker compose file, each with a unique port. I was able to connect to each of them. I think that should work for you. Good luck!
@RomiLandau
@RomiLandau 9 ай бұрын
for some reason i cant seem to connect to the server , the container is running but i cant connect , i have tried every thing
@scriptbytes
@scriptbytes 9 ай бұрын
Are you getting any errors or info from the logs in the container? It will probably show if it's a wrong password or anything like that. One thing that's happened to me is having special characters in my password that the terminal didn't like. Thinks like \ / ' #, etc.
@RomiLandau
@RomiLandau 9 ай бұрын
@@scriptbytes actually I had mongo installed before (locally) and the connection tried only the local one no matter the port , once I deleted the local one it worked great
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 274 М.
Ultimate Docker Compose Tutorial
1:03:14
TechWorld with Nana
Рет қаралды 209 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 134 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
How to use MongoDB in a Docker container
10:52
Abstract programmer
Рет қаралды 4,7 М.
Python MongoDB tutorial using PyMongo and Docker
8:52
CoderVlogger
Рет қаралды 12 М.
Setup MongoDB for Production deployment - Replica Sets cluster
19:42
How to create a great dev environment with Docker
29:55
Patrick Loeber
Рет қаралды 275 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 1 МЛН
How to Dockerize NodeJS application with MongoDB
28:16
coder awesome
Рет қаралды 10 М.
Connect Node to MongoDB with Docker and Docker Compose
15:02
WittCode
Рет қаралды 4,3 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 134 МЛН