-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
Hi, after installing su-exec
on an Alpine-based image for Docker I tried running it and received the following output: su-exec: setgroups: Operation not permitted
Below is a simple Dockerfile and test showing what I'm seeing.
Dockerfile
FROM alpine
RUN apk update
RUN apk add --no-cache bash su-exec \
&& rm -rf /var/cache/apk/*
RUN addgroup -g 82 -S www-data \
&& adduser -u 82 -D -S -G www-data www-data
USER www-data
Command
# su-exec root /bin/bash
su-exec: setgroups: Operation not permitted
Metadata
Metadata
Assignees
Labels
No labels