Database Containerization

Containers are basic execution environments that are sandboxed and contained within sandboxed portions of an operating system. They are very useful for developing, testing and even deploying databases. See [containers][container-zk] for details.

Running MySQL in Docker

You can run various [SQL based databases][sql-zk] in [containers][container-zk].

docker run -p 3306:3306 --name test-mysql -e MYSQL_ROOT_PASSWORD='root' -d mysql

Running MongoDB in Docker

docker run -p 27017:27017 --name some-mongo -d mongo

References

Note References