sudo apt-get update
sudo apt-get install docker
docker pull amancevice/superset
docker run –detach –name superset -d -p 8088:8088 amancevice/superset
docker run -p 8088:8088 -v /dockerfs/superset/conf:/etc/superset -v /dockerfs/superset/data:/data –name superset -d amancevice/superset
docker exec -it superset superset-init
Username [admin]: admin
User first name [admin]: admin
User last name [user]: a
Email [[email protected]]: a
Password: 123456
Repeat for confirmation:123456
**此处省略几百行
1.进入superset内部
docker exec -u 0 -it superset /bin/bash(root权限)
docker exec -it superset /bin/bash
2.安装pip
apt-get install python-pip
安装pip3
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo pip3 install setuptools –upgrade
sudo pip3 install pymssql
3.
pip3 install pymssql
sudo su - //切换到root
service docker start //启动docker service
docker images //显示所有images
docker run amancevice/superset //重新运行
docker inspect –format=’{{.NetworkSettings.IPAddress}}’ $(docker ps -a -q) docker查看容器IP
docker rm id
docker attach 44fc0f0582d9
docker ps
一键安装
curl -s https://shipyard-project.com/deploy | bash -s
http://m.blog.csdn.net/qq273681448/article/details/75050513
https://hub.docker.com/r/amancevice/superset/
http://www.jianshu.com/p/a6fe79d0b1b3