Installation : Running in a Docker Container
A RavenDB Server can be run on Docker using our official images available in two channels:
- ravendb/ravendb containing stable, patch, rc and beta images
- ravendb/ravendb-nightly containing our nightly releases
Server images are published on Docker for the following platforms:
- Ubuntu 16.04
- Windows Nano Server
Beside tags matching the exact builds e.g.
4.0.0-rc-40025-windows-nanoserver each of the repositories contain the following tags for your convenience:
latestthis is an alias to
ubuntu-latestis an alias to the latest RavenDB Ubuntu image
windows-nanoserver-latestis an alias to the latest RavenDB Windows Nano Server image
latest tag, you can issue a command as follows:
docker run -d -p 8080:8080 -p 38888:38888 ravendb/ravendb
You can access the RavenDB Management Studio by going to
http://localhost:8080 in your browser. This is assuming that you are using the default networking configuration with Docker, and that the Docker instance is not exposed beyond the host machine. If you intend to host RavenDB on Docker and expose it externally, make sure to go through the security configuration first.
For more detailed information on how to use and setup RavenDB on Docker please visit our Docker Hub page available here.