Zun

Make "command" parameter as positional

Bug #1675082 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Opinion
Medium
feng.shengqin@zte.com.cn

Bug Description

At "run" and "create" command, we use "--command" to take a command. For example:

  $ zun run --command "sleep 10000" cirros

I think it is better to change the syntax as:

  $ zun run cirros sleep 1000

The goals of this change is:
* Make it consistent with "zun exec" (zun exec <container> sleep 1000)
* Make it consistent with docker cli (docker run -d cirros sleep 1000)

NOTE: this change is significant so requires a team discussion first.

hongbin (hongbin034)
description: updated
Changed in zun:
status: New → Opinion
importance: Undecided → Medium
Changed in zun:
assignee: nobody → feng.shengqin@zte.com.cn (feng-shengqin)
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.