Docker notes (Q&A)
How to create a user when using base alpine image?
Alpine uses the command adduser and addgroup for creating users and groups (rather than useradd and usergroup).
1 | FROM alpine:latest |
How to create a user when using base alpine image?
Alpine uses the command adduser and addgroup for creating users and groups (rather than useradd and usergroup).
1 | FROM alpine:latest |