Zun

("Invalid container name (1), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed")

Bug #1613204 reported by Eli Qiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Committed
Low
Eli Qiao

Bug Description

zun --debug container-create --name 1 --image cirros:0.3.0 --command "sleep 100" --memory 100m

("Invalid container name (1), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed")

Revision history for this message
Eli Qiao (taget-9) wrote :

Restrict container name in REST API layer

Docker only accepts container name as pattern
'[a-zA-Z0-9][a-zA-Z0-9_.-]', restrict it in REST API layer.

Closes-Bug: #1613204
Change-Id: Ie4c69761f81a3110c412114de1a10e0c1a0c4c16

Changed in zun:
assignee: nobody → Eli Qiao (taget-9)
status: New → Fix Committed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.