This container spins up RavenDB single node server instance.
- RavenCage on DockerHub : repository
- RavenCage on GitHub : repository
- RavenDB : official site
- Docker : official site
- Windows Containers : site at MSDN
Windows 2016 build 14393 or Windows 10 build 14393.222 with installed Windows Containers.
To check your OS build, Win+R
and type winver
.
At this moment Windows 10 supports Hyper-V Containers only.
To install Windows Containers on your machine follow on of there guides: Windows Server 2016, Windows 10
For Windows Server 2016
Run server on port 8080
as service.
docker run -d pizycki/ravendb:latest
Run server on port 8080
in debug
mode and interactive console.
docker run -it -e mode=debug pizycki/ravendb:latest
Running on IIS is not supported here.
Map directory where your databases will be stored to C:\db\
on your host. You can also map place in your network.
docker run -d -v C:\db\:C:\RavenDB\Server\Databases\ pizycki/ravendb:latest
Make you container listen on port 5555
docker run -d -p 5555:8080 pizycki/ravendb:latest
Both volume and port mapping work with either
service
anddebug
mode.
Automated builds are initialized on every tagged commit.
Thanks to AppVeyor for letting use their platform! You are the real MVP!
Build image with Build.ps1
script.
Remember to replace <tag>
with actual tag name, i.e.: RavenDB version.
& .\Build-Image.ps1 `
-Tag <RavenDB_version> `
-Latest `
-PushToDockerHub
DockerHub credentials are stored in credentials
file or can be passed through via parameters.
Starting from January 2018 this image will be updated on request only.
If you see that new RavenDB version is out and you'd like to get it from pizycki/ravendb
, create an issue or tweet me!