Comments (4)
@31z4 Can you set the gid and uid back to 1000 to match the previous version?
That would help people that are upgrading.
zookeeper-docker/3.5.5/Dockerfile
Line 18 in 81a8277
from zookeeper-docker.
Done! Please wait until this PR docker-library/official-images#6058 is merged.
from zookeeper-docker.
The user id changed from 1000 in v3.4.13, to 999 in v3.4.14 and v3.5.5
You can check it like this
root:~# docker run --rm zookeeper:3.4.13 bash -c 'su-exec $ZOO_USER whoami && su-exec $ZOO_USER id'
zookeeper
uid=1000(zookeeper) gid=1000(zookeeper) groups=1000(zookeeper)
root:~# docker run --rm zookeeper:3.4.14 bash -c 'gosu $ZOO_USER whoami && gosu $ZOO_USER id'
zookeeper
uid=999(zookeeper) gid=999(zookeeper) groups=999(zookeeper)
root:~# docker run --rm zookeeper:3.5.5 bash -c 'gosu $ZOO_USER whoami && gosu $ZOO_USER id'
zookeeper
uid=999(zookeeper) gid=999(zookeeper) groups=999(zookeeper)
One solution is to change your security context to
securityContext:
fsGroup: 999
runAsUser: 999
from zookeeper-docker.
Thanks @mingfang and @srilumpa 👍
UID and GID are explicitly set now.
from zookeeper-docker.
Related Issues (20)
- Version 3.6.3 failed to start on arm64 machine. HOT 2
- Zookeeper 3.5.10 image HOT 1
- Zookeeper Vulnerability Analysis HOT 1
- Upgrade to JRE 17, pin Ubuntu release HOT 1
- Update jackson-databind to resolve high security vulnerabilities (2.13.1 to 2.13.4.1) HOT 1
- override parent docker image from alpine to ubi8
- Please Publish 3.8.1 HOT 1
- Add s390x to docker official image HOT 1
- with replicas 3, it wont work HOT 1
- Add ppc64le to docker official image HOT 2
- Upgrade to 3.9.0 HOT 1
- Failed to pull image "zookeeper:3.9.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/library/zookeeper:3.9.0": no match for platform in manifest: not found HOT 3
- zookeeper docker 3.9.0 HOT 1
- JSON logging HOT 2
- Zookeeper 3.7.2, 3.8.3 and 3.9.1 tags needed ASAP HOT 2
- Zookeeper switched from log4j to Logback in v3.8.2 HOT 3
- New tag suggestion: stable
- How do I run zookeeper3.7.2 like the official documentation
- Re-releasing Docker images with the same number causes issues HOT 2
- JVM crashes with out of memory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zookeeper-docker.