gocd / docker-gocd-agent

GoCD Agent Docker image
https://hub.docker.com/r/gocd/
47 stars 37 forks source link

Can't change user inside container (alpine-3.5) #44

Closed holms closed 6 years ago

holms commented 7 years ago

When trying to change user inside container - it doesn't work.

$ docker --tls exec -it 17330814aeea bash
bash-4.3# whoami
root
bash-4.3# su go
su: can't execute ',,,:/home/': No such file or directory
bash-4.3# cat /etc/passwd | grep go
go:x:1000:1000:Linux User,,,:/home/go:,,,:/home/

Where this ,,, comes from?