MongoDB inside Docker Container

preview_player
Показать описание
(One FREE project forever 😘)

In this video, I’ll be telling you how to run MongoDB inside a docker container.

(One FREE project forever 😘)

Docker Installation:

———————————————
What I use
———————————————

#yoursTruly #docker #mongodb #mongo #Dockerfile #docker-compose #docker-hub #nodejs #tutorial #how-to
Рекомендации по теме
Комментарии
Автор

One of the greatest tutorials I've ever seen. Thank you!

arthurpaiva
Автор

if someone is seeing the error bash: mongo: command not found after "docker exec -it mymongo bash" then once in cotainer run mongosh instead of mongo because The mongo shell is removed from MongoDB 6.0. The replacement is mongosh.

jimmykaushal
Автор

3:25 In newer versions of mongo, run mongosh (mongo shell) instead of mongo

marcome
Автор

Simple yet informative instructions on how to quickly set up a MongoDB docker container... Well done

crazy_vulcan
Автор

Well done. Exactly what I was looking for.

DLBrown
Автор

Thanks for your video.
Learning docker recently and find the solution of some mistakes.

ennis_w
Автор

I really loved it. Simple and on the point.
Thanks a LOT!!!

FahmidWasif
Автор

man, you are great!
Greetings and big thx from Ukrainian developer

yurafedonyuk
Автор

Great video, because it's concise!

rennygalindez
Автор

i have a backend project, do i need to run this in my project folder (path). Or is this just database storage, that can summoned whenever the path my project located ?
Please 🙏🙏 this is my firstime using docker with mongo, and i have a technical test to be done

anecdote-jarcoustic
Автор

I don't know English perfectly, but i understand all.
Thanks 👍

mksmstpck
Автор

Good one but when I enter into container by this command: docker exec -it mymongo bash and then enter mongo command it says me: bash: mongo: command not found.
Any thoughts on this issue?
Thanks!

ashique
Автор

It's quick and easy, but technically not really secure. Wish someone would show how to create a really secure MongoDB container.

saltierthanyou
Автор

AVX in VM is a problem.. if can't use latest image i won't use it at all.. quickest dump of learning something as dev ever..

djordje
Автор

thanks for the video !! I have problem while running docker for crAPI
container crapi-community error
when I run docker logs crapi-community
I receive this error
Sad!! .env file not found
2023/06/08 02:54:22 connection() : auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
can you help me to fix this please ?

ghassenbarkache
Автор

Can you please help me
I am running two services mongo and redis in a docker container but for some reason i want to run it locally but after i run on docker even after i stopped the services i still am unable to run mongo locally anymore

nikhilsharma
Автор

Para quem é br, e não conseguiu executar o comando mongo em 3:25, utilize o comando mongosh... 😉

mauriciosouza
Автор

After run the docker mongo image how can i logged in by using robo 3t ? How can i generate username and password ?

vamsikrishna
Автор

when I go inside an conatiner and run mongo command warning is displayed as bash mongo:command not found

SIDAUM-qm
Автор

can vice versa is possible for port mapping from docker container to host machine? Is it possible by pass parameter?

sanketdarekar