sudo apt update
sudo apt upgrade -y
sudo apt install –only-upgrade snapd
sudo snap refresh snapd
snapd 2.63 from Canonical? refreshed
sudo systemctl restart snapd
sudo snap install docker
docker 24.0.5 from Canonical✓ installed
root@C20240802138154:~# docker -v
Docker version 24.0.5, build ced0996
curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-uname -s–uname -m -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
root@C20240802138154:~# docker-compose –version
docker-compose version 1.23.2, build 1110ad01
mkdir -p /data/dashmachine/data && cd /data/dashmachine
nano docker-compose.yml
version: ‘3’
services:
dashmachine:
container_name: dashmachine
ports:
– 6952:5000
volumes:
– /data/dashmachine/data:/dashmachine/dashmachine/user_data
restart: always
image: rmountjoy/dashmachine:latest
docker-compose up -d
docker ps
root@C20240802138154:/data/dashmachine# docker exec -it beeb178ff9b6 /bin/bash
root@beeb178ff9b6:/dashmachine# ls
Dockerfile default_config.ini readme_settings.md screenshot3.png
License.md migrations requirements.txt screenshot4.png
README.md pull_request_template.md run.py template_apps
pycache readme_cards.md screenshot1.png update_message.md
dashmachine readme_data_sources.md screenshot2.png wsgi.py
docker rm -rf $(docker ps -aq)
Config.ini:
[baidu]
prefix = https://
url = http://www.baidu.com
icon = static/images/apps/gogs.png
sidebar_icon = static/images/apps/gogs.png
description = Gogs is a painless self-hosted Git service.
open_in = new_tab
![图片[1]-Docker部署DashMachine仪表板-晴天生活分享日志](https://osaka2.cn/wp-content/uploads/2024/08/QQ浏览器截图20240802153727.png)
![图片[2]-Docker部署DashMachine仪表板-晴天生活分享日志](https://osaka2.cn/wp-content/uploads/2024/08/QQ浏览器截图20240802153801.png)
感谢您的来访,获取更多精彩文章请收藏本站。
1. 资源都是经过站长或作者收集测试修改后发布分享。转载请在文内以超链形式注明出处,谢谢合作!
2. 本站除原创内容,其余所有内容均收集自互联网,仅限用于学习和研究目的,本站不对其内容的合法性承担任何责任。如有版权内容,请通知我们或作者删除,其版权均归原作者所有,本站虽力求保存原有版权信息,但因众多资源经多次转载,已无法确定其真实来源,或已将原有信息丢失,所以敬请原作者谅解!
3. 本站用户所发布的一切资源内容不代表本站立场,并不代表本站赞同其观点和对其真实性负责,若您对本站所载资源作品版权归属存有异议,请留言附说明联系邮箱,我们将在第一时间予以处理 ,同时向您表示歉意!为尊重作者版权,请购买原版作品,支持您喜欢的作者,谢谢!
4. 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客如有发现请立即向站长举报;本站资源文件大多存储在云盘,如发现链接或图片失效,请联系作者或站长及时更新。

测试-晴天生活分享日志">
彩虹易支付使用教程-晴天生活分享日志">



暂无评论内容