Local User w/Enterprise Container
When using a starter Docker template, the buildfile shown here, creates a local user that is the person who is logging into the workspace.
However when using the enterprise container creates a "coder" user, so that a user named "Fred" is now logged in as coder. I've tried updating the build file as such, but the build breaks with issues on the useradd command. Not really sure why.
However when using the enterprise container creates a "coder" user, so that a user named "Fred" is now logged in as coder. I've tried updating the build file as such, but the build breaks with issues on the useradd command. Not really sure why.
6 Replies
<#1227296455673385001>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
the enterprise image already has a user named coder and you do not need to add anew non-root user
I want to add a user that isn't named "coder". I like the docker sample template because the user is named whatever they are named from the SSO.
Ok. Then you need to add your new user with a diffrent uid
The existing user has uid 1000
Can you share the error you get?
hey @John King, could you share the error you're getting?