cleanstart/glibc

Verified Publisher

By CleanStart

•Updated about 11 hours ago

Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.

Image
Operating systems
0

50K+

cleanstart/glibc repository overview

CleanStart Container for Glibc

The GNU C Library (glibc) container provides essential standard C libraries and utilities required for Linux applications. This container includes the complete GNU C Library implementation, featuring POSIX threading support, locale data, and core system libraries. It serves as a fundamental runtime dependency for applications requiring glibc compatibility, offering standardized C library functions, system calls, and internationalization support. The container is security-hardened and optimized for enterprise deployments, featuring minimal attack surface and FIPS-compliant cryptographic functions.

šŸ“Œ CleanStart Foundation: Security-hardened, minimal base OS designed for enterprise containerized environments.

Key Features

  • Complete GNU C Library implementation with POSIX support
  • Internationalization and locale data included
  • Thread-safe library functions and utilities
  • FIPS 140-2 compliant cryptographic functions

Common Use Cases

  • Base container for C/C++ applications requiring glibc
  • Runtime environment for compiled applications
  • Multi-language application support requiring standard C libraries
  • Enterprise applications requiring POSIX compliance

Quick Start

Pull Latest Image Download the container image from the registry

docker pull cleanstart/glibc:latest
docker pull cleanstart/glibc:latest-dev

Basic Run Run the container with basic configuration

docker run -it --name glibc-test cleanstart/glibc:latest-dev /bin/bash

Production Deployment Deploy with production security settings

 docker run -d --name glibc-prod \
  --read-only \
  --security-opt=no-new-privileges \
  --user 1000:1000 \
  cleanstart/glibc:latest \
  tail -f /dev/null

Volume Mount Mount local directory for persistent data

docker run -d -v $(pwd)/data:/data cleanstart/glibc:latest-dev tail -f /dev/null

Configuration

Environment Variables

VariableDefaultDescription
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binSystem PATH configuration
LANGC.UTF-8Default system locale configuration
LD_LIBRARY_PATH/usr/local/libLibrary search path for dynamic linker

Security & Best Practices

Recommended Security Context

securityContext:
  runAsNonRoot: true
  runAsUser: 1000
  runAsGroup: 1000
  readOnlyRootFilesystem: true
  allowPrivilegeEscalation: false
  capabilities:
    drop: ['ALL']

Best Practices

  • Use specific image tags for production (avoid latest)
  • Configure resource limits: memory and CPU constraints
  • Enable read-only root filesystem when possible
  • Run containers with non-root user (--user 1000:1000)
  • Use --security-opt=no-new-privileges flag
  • Regularly update container images for security patches
  • Implement proper network segmentation
  • Monitor container metrics for anomalies

Architecture Support

Multi-Platform Images

docker pull --platform linux/amd64 cleanstart/glibc:latest
docker pull --platform linux/arm64 cleanstart/glibc:latest

⁠Documentation Resources

Essential links and resources for further information

CleanStart Images: https://images.cleanstart.com/⁠

Community Images:
Docker Hub: https://hub.docker.com/u/cleanstart⁠
GitHub: https://github.com/cleanstart-containers⁠
AWS ECR Public Gallery: https://gallery.ecr.aws/cleanstart/⁠

Presence on Social Media:
Community: https://www.linkedin.com/groups/18324021/⁠
YouTube: https://www.youtube.com/@CleanStartOfficial⁠

Contribute to Container Use Cases: https://github.com/cleanstart-dev/cleanstart-use-cases/⁠

⁠Vulnerability Disclaimer

CleanStart offers Docker images that include third-party open-source libraries and packages maintained by independent contributors. While CleanStart maintains these images and applies industry-standard security practices, it cannot guarantee the security or integrity of upstream components beyond its control.

Users acknowledge and agree that open-source software may contain undiscovered vulnerabilities or introduce new risks through updates. CleanStart shall not be liable for security issues originating from third-party libraries, including but not limited to zero-day exploits, supply chain attacks, or contributor-introduced risks.

Security remains a shared responsibility: CleanStart provides updated images and guidance where possible, while users are responsible for evaluating deployments and implementing appropriate controls.

Tag summary

Content type

Image

Digest

sha256:a4ff8d50f…

Size

21.5 MB

Last updated

about 11 hours ago

docker pull cleanstart/glibc:2.43-arm64