Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 637 Bytes

docker.md

File metadata and controls

13 lines (10 loc) · 637 Bytes

Quickly install and run docker-tars

run commends following:

    mkdir -p /data/tars/mysql_data
    mkdir -p /data/tars/tars_data
    docker run --name mysql -e MYSQL_ROOT_PASSWORD=(your DB password) -d -p 3306:3306 -v /data/tars/mysql_data:/var/lib/mysql mysql:5.6 --innodb_use_native_aio=0
    docker run -d -it --name tars --link mysql --env MOUNT_DATA=false --env DBIP=mysql --env DBPort=3306 --env DBUser=root --env DBPassword=(DB password) -p 3000:3000 -v /data/tars/tars_data:/data tarscloud/tars:php