Just run a docker container and play with the data!
You need to modify MongoDB/run.sh
, pointing it to your local storage - e.g. Mac OSX local machine /Users/mongodb
docker run -p 27017:27017 -d -v /Users/mongodb:/data/db mongo
If you are on MacOS, this config is ready to go!
mkdir /Users/mongodb
git clone https://github.com/AlberErre/docker-quick-databases.git
cd docker-quick-databases/MongoDB
bash run.sh
Note: use sudo
if needed.
If everything was ok, you should have a docker container running in the background. To ensure it's running just use:
docker ps
netstat ao | grep 27017
You can use Robo 3T to interact with your database, run queries, etc.
docker kill DOCKER_UUID
You need to modify MariaDB/run.sh
, pointing it to your local storage - e.g. Mac OSX local machine /Users/mariadb
docker run -e MYSQL_ROOT_PASSWORD=1234 -d -p 3333:3306 -v /Users/mariadb:/var/lib/mysql mariadb
If you are on MacOS, this config is ready to go!
mkdir /Users/mariadb
git clone https://github.com/AlberErre/docker-quick-databases.git
cd docker-quick-databases/MariaDB
bash run.sh
Note: use sudo
if needed.
If everything was ok, you should have a docker container running in the background. To ensure it's running just use:
docker ps
You can use SQLElectron to interact with your database, run queries, etc.
docker kill DOCKER_UUID