{"id":7730,"date":"2023-02-11T22:45:48","date_gmt":"2023-02-11T13:45:48","guid":{"rendered":"https:\/\/www.taruki.com\/wp\/?p=7730"},"modified":"2023-02-11T23:29:12","modified_gmt":"2023-02-11T14:29:12","slug":"%e8%89%b2%e3%80%85%e7%ae%a1%e7%90%86%e7%94%a8%e9%af%96%e8%bf%bd%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/www.taruki.com\/wp\/?p=7730","title":{"rendered":"\u8272\u3005\u7ba1\u7406\u7528\u9bd6\u8ffd\u52a0"},"content":{"rendered":"<p>\u5197\u9577\u6027\u3068\u304b\u8981\u3089\u306a\u3044\u3057\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3082\u3042\u3093\u307e\u308a\u3084\u308b\u6c17\u306e\u306a\u3044\u7d30\u3005\u3068\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u5185\u90e8\u7528Debian\u9bd6\u306bpodman\u3067\u3044\u304f\u3064\u304b\u4f5c\u3063\u305f\u30e1\u30e2\u3002<br \/>\npodman\u7528\u306ezfs\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001\u81ea\u52d5\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306f\u5bfe\u8c61\u5916\u306b\u5909\u66f4\u3002<br \/>\n<code><br \/>\n# zfs create hdd001\/podman<br \/>\n# zfs set com.sun:auto-snapshot=false hdd001\/podman<br \/>\n<\/code><br \/>\n\u3067\u3001\/etc\/containers\/storage.conf\u3092\u5f04\u3063\u3066\u30b3\u30f3\u30c6\u30ca\u306e\u4fdd\u7ba1\u5148\u3092zfs\u306b\u5909\u66f4\u3002<br \/>\n<code><br \/>\n[storage]<br \/>\n  driver = \"zfs\"<br \/>\n  graphroot = \"\/hdd001\/podman\"<br \/>\n<\/code><br \/>\n\u3042\u3068\u306f\u3001\u3072\u305f\u3059\u3089\u30b3\u30f3\u30c6\u30ca\u4f5c\u6210<br \/>\n<code><br \/>\n# podman run -d   -p 8080:80   -v \/root\/podmanConf\/dashy-conf.yml:\/app\/public\/conf.yml   --name daicyan-dashboard   --restart=always   lissy93\/dashy:latest<br \/>\n# podman run -d -p 8086:8086  --name influxdb --restart=always influxdb:latest<br \/>\n# podman run -d --name=grafana -p 3000:3000 grafana\/grafana<br \/>\n# podman generate systemd --name grafana >\/etc\/systemd\/system\/podman-grafana.service<br \/>\n# podman generate systemd --name daicyan-dashboard >\/etc\/systemd\/system\/podman-dashboard.service<br \/>\n# podman generate systemd --name influxdb >\/etc\/systemd\/system\/podman-influxdb.service<br \/>\n# systemctl daemon-reload<br \/>\n# systemctl enable podman-grafana.service<br \/>\n# systemctl enable podman-influxdb<br \/>\n# systemctl enable podman-dashboard.service<br \/>\n<\/code><br \/>\n\u30b3\u30f3\u30c6\u30ca\u306e\u30c9\u30e9\u30a4\u30d0\u3092zfs\u306b\u3059\u308b\u3068xfs\u3068\u9055\u3063\u3066\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u308a\u307e\u304f\u308b\u306e\u3067\u30a4\u30e1\u30fc\u30b8\u4f5c\u6210\u306f\u9045\u3044\u3057\u4f5c\u6210\u4e2d\u306f\u3059\u3063\u3054\u3044iowait\u304c\u51fa\u308b\u3002podman\u306e\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u306f\u3060\u3044\u305f\u3044docker\u3068\u540c\u3058\u306a\u306e\u3067\u7c21\u5358\u3002<br \/>\n\u3042\u3068\u3001zfs\u306a\u306e\u3067\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306foverlayfs\u3058\u3083\u306a\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u4f5c\u308c\u306a\u3044\u306e\u3067nonroot\u306f\u8272\u3005\u9762\u5012\u3002\u306a\u306e\u3067root\u306b\u3057\u305f\u3002\u3069\u3046\u305b\u5916\u306b\u306f\u516c\u958b\u3057\u306a\u3044\u5185\u90e8\u7528\u3060\u3057\u306d\u3002<br \/>\nepgstation\u306fffmpeg\u304cGPU(VAAI)\u4f7f\u3046\u306e\u3067\u30b3\u30f3\u30c6\u30ca\u5316\u3059\u308b\u3068\u9762\u5012\u3060\u304b\u3089\u3084\u3089\u306a\u3044\u3064\u3082\u308a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5197\u9577\u6027\u3068\u304b\u8981\u3089\u306a\u3044\u3057\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3082\u3042\u3093\u307e\u308a\u3084\u308b\u6c17\u306e\u306a\u3044\u7d30\u3005\u3068\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u5185\u90e8\u7528Debian\u9bd6\u306bpodman\u3067\u3044\u304f\u3064\u304b\u4f5c\u3063\u305f\u30e1\u30e2\u3002 podman\u7528\u306ezfs\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001\u81ea\u52d5\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306f\u5bfe\u8c61\u5916\u306b\u5909\u66f4\u3002 #  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[24,17],"tags":[111,50,49,210],"class_list":["post-7730","post","type-post","status-publish","format-standard","hentry","category-pc","category-taruki-com","tag-container","tag-debian","tag-linux","tag-zfs"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7730"}],"version-history":[{"count":0,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7730\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taruki.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}