An example project with pre-configured Docker container to run and test the latest Umbraco build.
-
Download Docker and install it if you don't have it on your machine yet.
-
Set up/change the password for the SA database user specified in configs/ms.sql.env file.
SA_PASSWORD=examplepasswordtodb
ACCEPT_EULA=Y
- Run the following commands in the directory with docker-compose.yml:
Build and run all the configured services:
> docker-compose up -d
Dedicated service composition (e.g. just Umbraco project named umbraco-netcore in this demo):
> docker-compose up -d umbraco-netcore
-
Configure the database on the created MSSQL server instance by connecting to it using e.g. SQL Management Studio or Azure Data Studio.
-
After successfull build (it may take a while at the first time!) and database creation, visit: localhost:8080 (default configuration) and continue with Umbraco installation (same as usual).
- The host has a changing IP address (or none if you have no network access). Use the special DNS name host.docker.internal which resolves to the internal IP address used by the host. This is for development purpose and will not work in a production environment outside of Docker Desktop for Windows.
- Missing dictionary items / translations after starting the Docker container