Skip to content

Commit

Permalink
fix(toolbox) set gid on container create
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacon committed Jan 11, 2019
1 parent 72237c0 commit 18ef09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/toolbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func ensureContainer(username, image, command string) error {
fmt.Sprintf("--mount=type=bind,source=/etc/passwd,destination=/etc/passwd,bind-propagation=rprivate,readonly"),
fmt.Sprintf("--mount=type=bind,source=%s/data,destination=%s/data,bind-propagation=rprivate", usr.HomeDir(), usr.HomeDir()),
fmt.Sprintf("--mount=type=tmpfs,destination=%s,tmpfs-size=8192", filepath.Join(usr.HomeDir(), ".aws")),
"--user", fmt.Sprintf("%d", usr.Uid()),
"--user", fmt.Sprintf("%d:%d", usr.Uid(), usr.Uid()),
"--workdir", usr.HomeDir(),
}
sshAuthSock := os.Getenv("SSH_AUTH_SOCK")
Expand Down

0 comments on commit 18ef09b

Please sign in to comment.