docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker [2021/10/13 22:00] admindocker [2025/06/01 17:12] (current) – [Compose files] admin
Line 48: Line 48:
 </code> </code>
  
-==== References ====+==== Start on boot ==== 
 +<code> 
 +$ sudo nano /lib/systemd/system/docker.service 
 +</code> 
 + 
 +<file> 
 +After=media-usb.mount media-ssd.mount 
 +Requires=media-usb.mount media-ssd.mount 
 + 
 +</file> 
 +From "unit files": 
 + 
 +<code> 
 +$ sudo systemctl list-unit-files|grep mount 
 +</code> 
 + 
 +<code> 
 +media-ssd.mount                                                               generated       - 
 +media-usb.mount                                                               generated       - 
 +</code> 
 +Matching mount points: 
 + 
 +<code> 
 +$ df -kh 
 +Filesystem      Size  Used Avail Use% Mounted on 
 +/dev/sda1       361G   85G  258G  25% /media/ssd 
 +/dev/sdb1       7.3G  1.3G  5.7G  18% /media/usb 
 +</code> 
 + 
 +===== Random bits ===== 
 +Access Docker volumes from WSL Linux instance: 
 +<file> 
 +# mount -t drvfs '\\wsl.localhost\docker-desktop\mnt\docker-desktop-disk\data\docker\volumes' /mnt/volumes 
 +</file> 
 + 
 +===== Compose files ===== 
 +[[Cacti]] 
 + 
 +[[Portainer Agent]] 
 +===== References =====
 [[http://www.xeams.com/app?operation=forum&st=viewOneArticle&id=15469|How to change the timezone in XEAMS]] [[http://www.xeams.com/app?operation=forum&st=viewOneArticle&id=15469|How to change the timezone in XEAMS]]
  
 +[[https://github.com/openmediavault/openmediavault/issues/458#issuecomment-628076472|Delay docker startup until all shared folders is mounted #458]]
 +
 +[[https://github.com/openmediavault/openmediavault/issues/458#issuecomment-628076472|How To Use Systemctl to Manage Systemd Services and Units]]
 +
 +[[https://superuser.com/questions/1777084/in-a-wsl2-distro-what-determines-the-files-that-appear-under-wsl-some-other/1778525#1778525|In a WSL2 distro - what determines the files that appear under: /wsl/{some-other-distro}]]
 +
 +{{tag>[Docker]}}
  • docker.1634133633.txt.gz
  • Last modified: 2021/10/13 22:00
  • by admin