最近把树莓派3b重新折腾起来了,安装了一个ubuntu,装上docker 和docker compose,我测试了一下读写系统盘的SD卡,写入大概15M/s,读取20M/s。读写usb2.0接口上的sd卡速度更慢,写入只有6~7M/s,用来存放生产数据不太乐观,比较合理的是用来做备份,数据放在系统盘的SD卡上。
安装Docker:
当前只能使用snap的...
You can get this error if docker doesn't shut down cleanly. The following answer is for the docker snap package.
Run snap logs docker and look for the following:
Error...
couldn't get either cross or direct build working with this Dockerfile...but I discovered a somewhat obvious alternative package is available via pip!https://pypi.org/proje...
Key Takeways
File permission is the pain in docker development, better to change default user in php-fpm
Be careful with $document_root in nginx configuration, maybe...
docker 里跑 trojan 和网站,外面装一个 nginx,用 nginx 的 stream,可以预读取域名,根据不同域名转发到不同的 docker,而且也可以转发 SSH,对于外面来说只开一个 443 就够了。
stream {
#$ssl_preread_server_name #通过 SNI 请求的服务器名称
map $ssl_prer...
Installing Docker on Raspberry Pi 3:
On Ubuntu Core, you can only install snap packages. Luckily, Ubuntu Core has Docker snap package in the official snap package repository. So,...
jellyfin docker container 运行的两种网络方式:Bridge 模式
docker run -d \
-p 8096:8096 \
--volume /mnt/sda3/jellyfin/config:/config \
--volume /mnt/sda3/jellyfin/cache:/cache...
Are you about to begin an important Vue project? To ensure you start with a solid foundation, you might use a template (aka boilerplate, skeleton, starter, or scaffold) rather...