1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 22:39:41 +02:00

feat(container-console): add ability to specify the user (#976)

This commit is contained in:
Konstantin Azizov 2017-07-05 08:16:57 +03:00 committed by Anthony Lapenna
parent c5ce45f588
commit 54c8872d25
3 changed files with 37 additions and 19 deletions

View file

@ -45,6 +45,7 @@ function ($scope, $stateParams, Container, Image, Exec, $timeout, EndpointProvid
AttachStdout: true,
AttachStderr: true,
Tty: true,
User: $scope.state.user,
Cmd: $scope.state.command.replace(' ', ',').split(',')
};