赞
踩
Kafka with ZooKeeper
Run the following commands in order to start all services in the correct order:
# Start the ZooKeeper service
bin/zkServer.sh start
Open another terminal session and run:
# Start the Kafka broker service
bin/kafka-server-start.sh config/server.properties
Once all services have successfully launched, you will have a basic Kafka environment running and ready to use.
Work With Non-Root Containers for Bitnami Applications
这是一种没有 root 用户的容器 (默认没开启)。
开启方法: Using Non-Root Containers as Root Containers
If you wish to run a Bitnami non-root container image as a root container image, you can do so by adding the line user: root
right after the image:
directive in the container’s docker-compose.yml
. After making this change, simply restart the container and it will run as the root
user with all privileges instead of an unprivileged user.
在 docker-compose.yml
文件里面的 image:
行下再加一行: user: root
。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。