Skip to content

tomcat container does not start - maybe UID deviation #96007

Description

@ZsBT

Name and Version

bitnami/tomcat:latest

What steps will reproduce the bug?

by default, the container says at startup:

tomcat 13:47:24.14 ERROR ==> The TOMCAT_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.

however, by setting any of the above environment variables, it stops with:

chmod: changing permissions of '/opt/bitnami/tomcat/conf/tomcat-users.xml': Operation not permitted

What is the expected behavior?

container starts

What do you see instead?

the container does not start

Additional information

maybe because the container UID is 1001, but the tomcat user ID in there is 999.

Metadata

Metadata

Assignees

Labels

tech-issuesThe user has a technical issue about an applicationtriageTriage is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions