diff --git a/backend/app/service/container.go b/backend/app/service/container.go index b3acf43dc..54388f099 100644 --- a/backend/app/service/container.go +++ b/backend/app/service/container.go @@ -156,10 +156,12 @@ func (u *ContainerService) ContainerCreate(req dto.ContainerCreate) error { return err } config := &container.Config{ - Image: req.Image, - Cmd: req.Cmd, - Env: req.Env, - Labels: stringsToMap(req.Labels), + Image: req.Image, + Cmd: req.Cmd, + Env: req.Env, + Labels: stringsToMap(req.Labels), + Tty: true, + OpenStdin: true, } hostConf := &container.HostConfig{ AutoRemove: req.AutoRemove,