Container code runs as root #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The container currently runs its code as root.
A dedicated user should be created inside the container to prevent this.
Fixed in
e9dd15d290
.Now, a new, non-root user gets created during the image build process.
The user's
UID:GID
defaults to1000:1000
, but this can be overridden by setting appropriate build arguments.This newly created user now runs the WSGI server and application code inside the container.