sqlserver安装:
docker pull mcr.microsoft.com/mssql/server:2019-latest
chown -R 10001:0 /data/docker/mssql2019
docker run --name sqlserver2019 -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=数据库密码' \
-p 1433:1433 -v /data/docker/mssql2019/:/var/opt/mssql/ \
-e MSSQL_PID='序列号' \
-e MSSQL_LCID=2052 \
-e MSSQL_COLLATION='Chinese_PRC_CI_AS' \
-e TZ='Asia/Shanghai' \
-d mcr.microsoft.com/mssql/server:2019-latest
redis安装:
docker run -idt -p 6379:6379 --name redis7 --restart=always \
-v /software/redis/redis.conf:/etc/redis/redis_default.conf \
-v /software/redis/data/:/data \
-e TZ="Asia/Shanghai" \
redis:7 redis-server /etc/redis/redis_default.conf --appendonly yes
rabbitmq安装:
docker pull rabbitmq:3.9.7-management
② docker run -d --hostname rabbitmq3 --name ra