瀏覽代碼

backend.local: Add command support

Signed-off-by: Chris Crone <[email protected]>
Chris Crone 5 年之前
父節點
當前提交
db3a14694b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      local/containers.go

+ 1 - 0
local/containers.go

@@ -118,6 +118,7 @@ func (cs *containerService) Run(ctx context.Context, r containers.ContainerConfi
 
 	containerConfig := &container.Config{
 		Image:        r.Image,
+		Cmd:          r.Command,
 		Labels:       r.Labels,
 		Env:          r.Environment,
 		ExposedPorts: exposedPorts,