Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
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. '*', '$', ',', '_' ...)
about 4 years ago · Santiago Trujillo
2 answers
Answer question

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.

about 4 years ago · Santiago Trujillo Report

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.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!