1. NextCloud
docker run -d --name nextcloud --privileged=true -p 9001:80 -v /home/nextcloud/html:/var/www/html -v /home/nextcloud/data:/var/www/data --restart=always nextcloud
2. NetData
docker run -d --name=netdata -p 9002:19999 -v /proc:/host/proc:ro -v /sys:/host/sys:ro -v /var/run/docker.sock:/var/run/docker.sock:ro --cap-add SYS_PTRACE --security-opt apparmor=unconfined --restart=always netdata/netdata
3.Minio
docker run -p 9000:9000 --name minio1 -e "MINIO_ACCESS_KEY=minio222" -e "MINIO_SECRET_KEY=12345678" -v /mnt/data:/data -v /mnt/config:/root/.minio --privileged=true -d minio/minio server /data
4.Mysql
docker run -p 9003:3306 --name mysql --privileged=true -v $PWD/conf:/etc/mysql/conf.d -v $PWD/logs:/logs -v $PWD/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.6
网友评论