Based docker installation superset

Installation Docker problems and solutions

1 , Docker the Quickstart Terminal shortcut bound to git the bash.exe wrong place , resulting in can not find bash.exe ------- Right , properties , modify the shortcut to replace locally installed git git address shortcuts the address of

E:\anzhuang\Git\bin\bash.exe --login -i "C:\Program Files\Docker Toolbox\start.sh"

2 , can not find boot2docker.iso file .-------- will Docker directory \ Docker Toolbox under boot2docker.iso copied to the C: \ Users \ user name .docker \ machine \ cache

3 , Virtual Box can not play ------------- virtual box too old to uninstall , go to the official web https://www.virtualbox.org/wiki/Downloads download the latest version , reinstall

Check that you have installed docker (docker version)

 

 

 

Installation superset container

Create a local directory (let container superset mount local machine's configuration file)

mkdir /opt/docker/superset/

 

Download successful container location

docker images

Create a superset container (docker run -d -p 8088: 8088 -v / opt / docker / superset: / home / superset amancevice / superset)

Check whether the container runs successfully (docker ps)

 

 

 

Delete container

 

 

 

 

 

Username and password (docker exec -it container ID fabmanager create-admin -app superset)

 

 

 

 

Database initialization (docker exec -it container ID superset db upgrade)

 

 

 

superset initialization (docker exec -it container ID superset init)

 

 

 

 

Open superset Service (docker exec -it container ID superset runserver)

 

 

 Query docker IP

 

 

 

Browser to access: http: //192.168.99.100: 8088 / Enter your username and password above

 

 

 

From: https: //blog.csdn.net/u012578322/article/details/79343828

 

Guess you like

Origin www.cnblogs.com/lanliying/p/12586498.html