mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update executor fixes from swarmkit
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
3b555a575d
commit
5673c53417
2 changed files with 2 additions and 1 deletions
|
@ -276,6 +276,7 @@ func (c *containerConfig) hostConfig() *enginecontainer.HostConfig {
|
|||
Resources: c.resources(),
|
||||
Binds: c.binds(),
|
||||
Tmpfs: c.tmpfs(),
|
||||
GroupAdd: c.spec().Groups,
|
||||
}
|
||||
|
||||
if c.task.LogDriver != nil {
|
||||
|
|
|
@ -33,7 +33,7 @@ type controller struct {
|
|||
|
||||
var _ exec.Controller = &controller{}
|
||||
|
||||
// NewController returns a dockerexec runner for the provided task.
|
||||
// NewController returns a docker exec runner for the provided task.
|
||||
func newController(b executorpkg.Backend, task *api.Task) (*controller, error) {
|
||||
adapter, err := newContainerAdapter(b, task)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue