摘要:
version: '3.7' services: prometheus: container_name: "prometheus" restart: always image: prom/prometheus deploy: resources: limits: cpus: "0.20" memor 阅读全文
摘要:
1.查看当前IP地址: ifconfig | grep inet 2.启动API: php artisan serve --host=0.0.0.0 3.查看larval的命令: php artisan list 4.开启docker,进入到对应文件夹 docker-compose up -d 5. 阅读全文
摘要:
1. 删除指定容器 docker rm -f <containerid 2. 删除未启动成功的容器 docker rm $(docker ps -a|grep Created|awk '{print $1}') 或者 docker rm $(docker ps -qf status=created) 阅读全文