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/12/17 13:34] admindocker [2025/06/01 17:12] (current) – [Compose files] admin
Line 50: Line 50:
 ==== Start on boot ==== ==== Start on boot ====
 <code> <code>
-nano /lib/systemd/system/docker.service+$ sudo nano /lib/systemd/system/docker.service 
 +</code> 
 + 
 +<file>
 After=media-usb.mount media-ssd.mount After=media-usb.mount media-ssd.mount
 Requires=media-usb.mount media-ssd.mount Requires=media-usb.mount media-ssd.mount
-</code> 
  
 +</file>
 From "unit files": From "unit files":
  
 +<code>
 $ sudo systemctl list-unit-files|grep mount $ sudo systemctl list-unit-files|grep mount
 +</code>
 +
 +<code>
 media-ssd.mount                                                               generated       - media-ssd.mount                                                               generated       -
 media-usb.mount                                                               generated       - media-usb.mount                                                               generated       -
 +</code>
 Matching mount points: Matching mount points:
  
 +<code>
 $ df -kh $ df -kh
 Filesystem      Size  Used Avail Use% Mounted on Filesystem      Size  Used Avail Use% Mounted on
 /dev/sda1       361G   85G  258G  25% /media/ssd /dev/sda1       361G   85G  258G  25% /media/ssd
 /dev/sdb1       7.3G  1.3G  5.7G  18% /media/usb /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]]
  
-==== References ====+[[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|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://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.1639719290.txt.gz
  • Last modified: 2021/12/17 13:34
  • by admin