Skip to content

docker container causes same id to be generated every time #10

@jeacott

Description

@jeacott

For some reason whenever I run an application using fauxflake inside a docker,
it always generates the same id (this is a single long running instance of a linux container),
even if the container stays up and has net=host set.

private static IdGenerator snowflake = IdGenerators.newSnowflakeIdGenerator();
snowflake.generateId(1000).asString();

always yields ffffffffffc01000

works perfectly outside the container though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions