Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

132
Vistas
Docker - Restrictions regarding naming container


I have questions regarding restrictions about naming containers. I search online and saw different issue and answers.

  1. what is the maximum characters number in naming container?
  2. which special characters are not allowed in docker container name? (e.g. '*', '$', ',', '_' ...)
over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

The characters allowed to represent a container name is represented by the regex : src code

// RestrictedNameChars collects the characters allowed to represent a name, normally used to validate container and volume names.
const RestrictedNameChars = `[a-zA-Z0-9][a-zA-Z0-9_.-]`

see #3138

And only the images name has a limited size of 30 chars.

over 4 years ago · Santiago Trujillo Denunciar

0

Container names must start with an alphanumeric character and can then use _ . or - in addition to alphanumeric. [a-zA-Z0-9][a-zA-Z0-9_.-]+

I'm not sure there is a hard limit set for the length of a container name. You might run into some HTTP URL limits at some point as the name ends up in the path for a number of API calls.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda