Last active
February 10, 2023 15:56
-
-
Save alejandromav/4b8d3fa987f1c054dc42d997f87f99d2 to your computer and use it in GitHub Desktop.
Docker start commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MySQL | |
docker run --rm \ | |
--name mysql \ | |
-p 3306:3306 \ | |
-e MYSQL_ROOT_PASSWORD=toor \ | |
-v ~/Data/mysql:/var/lib/mysql \ | |
-d mysql \ | |
--local_infile=1 | |
# MongoDB | |
docker run --rm \ | |
--name mongodb \ | |
-p 27017:27017 \ | |
-v ~/Data/mongo:/data/db \ | |
-d mongo | |
# Redis | |
docker run --rm \ | |
--name redis \ | |
-p 6379:6379 \ | |
-v ~/Data/redis:/data \ | |
-d redis | |
# ClickHouse | |
docker run --rm \ | |
--name clickhouse-server \ | |
--ulimit nofile=262144:262144 \ | |
-p 8123:8123 \ | |
-v ~/Data/clickhouse:/var/lib/clickhouse \ | |
-d clickhouse/clickhouse-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment