For the complete documentation index, see llms.txt. This page is also available as Markdown.

Running Starcounter 3.0 applications under Docker

With Starcounter 3.0 it is possible to run Starcounter applications in Linux Docker containers.

Sample Starcounter 3.0 Docker configuration

Sample files structure:

πŸ“ App
|--πŸ“‘ App.csproj
|--πŸ“‘ nuget.config
|--πŸ“‘ Program.cs
πŸ“‘ Dockerfile
  • The App folder contains a sample Starcounter Console application files.

  • The Dockerfile file contains Docker container definition for the app.

App.csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Starcounter.Nova.App" Version="3.0.0-*" />
  </ItemGroup>
</Project>

nuget.config

Program.cs

Dockerfile

Last updated