mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
8 lines
258 B
Bash
Executable File
8 lines
258 B
Bash
Executable File
#export MYQL_ROOT_PASSWORD=root123
|
|
docker run --name harbor_mysql -d -e MYSQL_ROOT_PASSWORD=root123 -p 3306:3306 -v /devdata/database:/var/lib/mysql harbor/mysql:dev
|
|
|
|
echo "sleep 10 seconds..."
|
|
sleep 10
|
|
|
|
mysql -h 127.0.0.1 -uroot -proot123 < ./populate.sql
|