Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile Build an StoneDB #3

Merged
merged 2 commits into from
Jul 4, 2022
Merged

Dockerfile Build an StoneDB #3

merged 2 commits into from
Jul 4, 2022

Conversation

zsp108
Copy link

@zsp108 zsp108 commented Jun 20, 2022

Dockerfile Build an StoneDB

StoneDB images default user: root
StoneDB images default pwd: stonedb123

1、docker build or pull
docker build --rm -t $image_name:v0.1 .
or
docker pull stoneatom/stonedb:v0.1
2、docker run
docker run -p 13306:3306 -v $stonedb_volumn_dir/data/:/stonedb56/install/data/ -it -d stoneatom/stonedb:v0.1 /bin/bash
or
docker run -p 13306:3306 -it -d stoneatom/stonedb:v0.1 /bin/bashdocker run -p 13306:3306 -it -d stoneatom/stonedb:v0.1 /bin/bash

@zsp108 zsp108 requested a review from RingsC June 20, 2022 11:59
@hustjieke hustjieke merged commit 3e4bf4d into stoneatom:main Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants