Docker部署系列:数据集成工具KettleWeb

# 拉取镜像
docker pull hiromuhota/webspoon

# 启动镜像
docker run -d --name kettle-web -p 8080:8080 hiromuhota/webspoon 

# 测试访问
http://192.168.5.11:8080/spoon/spoon

#配置中文化(root权限)
docker exec -it -u 0 kettle-web /bin/bash

# 清空/etc/apt/sources.list文件
echo > /etc/apt/sources.list

echo -e "deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib \ndeb http://mirrors.aliyun.com/debian-security stretch/updates main \ndeb-src http://mirrors.aliyun.com/debian-security stretch/updates main \ndeb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib \ndeb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib" > /etc/apt/sources.list
apt-get update
apt-get install -y libtinfo5 --allow-remove-essential
apt-get install -y vim

cd /usr/local/tomcat/bin
vim setenv.sh 

# 汉化配置,在文件末尾追加这如下两项内容配置
CATALINA_OPTS="-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true"
JAVA_OPTS="-Duser.language=zh -Duser.region=CN -Dfile.encoding=UTF-8"

docker restart kettle-web

你可能感兴趣的:(Docker系列,docker)