Skip to content

Commit

Permalink
Use GID from config for container (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahvdAa authored Jan 20, 2022
1 parent 760554f commit 13a9ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion environment/docker/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (e *Environment) Create() error {
conf := &container.Config{
Hostname: e.Id,
Domainname: config.Get().Docker.Domainname,
User: strconv.Itoa(config.Get().System.User.Uid),
User: strconv.Itoa(config.Get().System.User.Uid) + ":" + strconv.Itoa(config.Get().System.User.Gid),
AttachStdin: true,
AttachStdout: true,
AttachStderr: true,
Expand Down

0 comments on commit 13a9ee9

Please sign in to comment.