I work with a WebApi project in Net.Core and MS SQL Database. MS SQL server is executed in Docker container. Suddenly I found out, that ID field value with autoincrement has increased from 2 to 1001.

ID numbers dramatically increased with MS SQL in Docker

At first I decided, that my code with EF Core generates something strange. But, as it turned out, it’s a bug or a feature for MS SQL in docker.

It’s ok )