You must be doing something different when using the glass container. There should be no difference.
Darkness in sauerkraut may be caused by:
- Unwashed and improperly trimmed cabbage
- Insufficient juice to cover fermenting cabbage
- Uneven distribution of salt
- Exposure to air
- High temperatures during fermentation, processing, or storage
- Long storage period