bitnami / bitnami/containers

tomcat container does not start - maybe UID deviation

Open
#96,007 4 comments 0 reactions 1 assignee Claimed by @alvneiayu View on GitHub
in-progress tech-issues
Dominant language
Shell
Stars
4.5k
Forks
6.9k
Avg merge
13m
Merged PRs (30d)
995

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.