Jump to content

Noob can't create Docker Image - Solved


Warlock13

Recommended Posts

Hi, just upgraded to V6 and I am very inexperienced.

 

I have been thru the LimeTech Docker Guide, and it just says after it is created on the cache the Docker Container will appear.

The Noobie Docker Guide picks up after the img has already been enabled.

Checked out the Unraid Manual, and it just says "Click Apply" and this can take some time.

 

I never saw the Docker Container show up, so I was trying to set up the Docker img again when when I notice the error message in the Lower Left of the Screen.

 

Docker%20Img%20Couldnt%20Create.jpg

 

I have the Cache in the array, it is enabled, the array is started.

 

I'm at a loss.

 

Any ideas?

 

Thanks for any help...

 

Link to comment

Going through the Logs it seems like my Cache Drive is Read Only.

 

Startup:

Mar 19 20:38:53 Tower emhttp: shcmd (476): mkdir -p /mnt/cache

Mar 19 20:38:53 Tower emhttp: shcmd (477): set -o pipefail ; mount -t ntfs -o noatime,nodiratime /dev/sdf1 /mnt/cache |& logger

Mar 19 20:38:53 Tower logger: mount: warning: /mnt/cache seems to be mounted read-only.

Mar 19 20:38:53 Tower kernel: ntfs: volume version 3.1.

Mar 19 20:38:53 Tower emhttp: shcmd (478): sync

Mar 19 20:38:54 Tower emhttp: shcmd (479): mkdir /mnt/user0

Mar 19 20:38:54 Tower emhttp: shcmd (480): /usr/local/sbin/shfs /mnt/user0 -disks 30 -o noatime,big_writes,allow_other  |& logger

Mar 19 20:38:54 Tower emhttp: shcmd (481): mkdir /mnt/user

Mar 19 20:38:54 Tower emhttp: shcmd (482): /usr/local/sbin/shfs /mnt/user -disks 31 40960000000 -o noatime,big_writes,allow_other -o remember=330  |& logger

Mar 19 20:38:54 Tower emhttp: shcmd (483): cat - > /boot/config/plugins/dynamix/mover.cron <<< "# Generated mover schedule:#01240 3 * * * /usr/local/sbin/mover |& logger#012"

Mar 19 20:38:54 Tower emhttp: shcmd (484): /usr/local/sbin/update_cron &> /dev/null

Mar 19 20:38:54 Tower emhttp: shcmd (485): :>/etc/samba/smb-shares.conf

Mar 19 20:38:54 Tower emhttp: shcmd (486): cp /etc/exports- /etc/exports

Mar 19 20:38:54 Tower avahi-daemon[1541]: Files changed, reloading.

Mar 19 20:38:54 Tower emhttp: shcmd (487): chmod 0777 '/mnt/cache'

Mar 19 20:38:54 Tower emhttp: shcmd: shcmd (487): exit status: 1

 

Trying to create Docker.img:

Mar 19 20:45:10 Tower php: Starting Docker...

Mar 19 20:45:10 Tower logger: Creating new image file for Docker: /mnt/cache/docker.img size: 10G

Mar 19 20:45:10 Tower logger: Not starting Docker: failed to create image file

Mar 19 20:45:11 Tower php:  Updating templates...  Updating info...

Mar 19 20:45:11 Tower php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505

Mar 19 20:45:11 Tower php: Couldn't create socket: [2] No such file or directory Done.

Mar 19 20:49:37 Tower php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php

Mar 19 20:49:37 Tower php: Starting Docker...

Mar 19 20:49:37 Tower logger: Creating new image file for Docker: /mnt/cache/docker.img size: 10G

Mar 19 20:49:37 Tower logger: Not starting Docker: failed to create image file

Mar 19 20:49:38 Tower php:  Updating templates...  Updating info...

Mar 19 20:49:38 Tower php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505

Mar 19 20:49:38 Tower php: Couldn't create socket: [2] No such file or directory Done.

Mar 19 20:49:52 Tower php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php

Mar 19 20:49:52 Tower php: Starting Docker...

Mar 19 20:49:52 Tower logger: Creating new image file for Docker: /mnt/cache/docker.img size: 10G

Mar 19 20:49:52 Tower logger: Not starting Docker: failed to create image file

Mar 19 20:49:52 Tower php:  Updating templates...  Updating info...

Mar 19 20:49:52 Tower php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505

Mar 19 20:49:52 Tower php: Couldn't create socket: [2] No such file or directory Done.

Mar 19 20:49:58 Tower php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php

Mar 19 20:49:58 Tower php: Starting Docker...

 

Tryng to make my AppData Dir:

Mar 19 20:39:29 Tower avahi-daemon[1541]: Service "Tower" (/services/smb.service) successfully established.

Mar 19 20:42:11 Tower emhttp: shcmd (506): mkdir '/mnt/user/AppData' |& logger

Mar 19 20:42:11 Tower shfs/user: shfs_mkdir: mkdir: /mnt/cache/AppData (30) Read-only file system

Mar 19 20:42:11 Tower logger: mkdir: cannot create directory '/mnt/user/AppData': Read-only file system

Mar 19 20:42:11 Tower emhttp: shcmd (507): :>/etc/samba/smb-shares.conf

Mar 19 20:42:11 Tower emhttp: shcmd (508): cp /etc/exports- /etc/exports

Mar 19 20:42:11 Tower avahi-daemon[1541]: Files changed, reloading.

Mar 19 20:42:11 Tower emhttp: shcmd (509): chmod 0777 '/mnt/cache'

Mar 19 20:42:11 Tower emhttp: shcmd: shcmd (509): exit status: 1

 

It says my File Sys is NTFS, and the Unraid 6 Manual says it should be BTRFS.

 

Changed the File Sys to BTRFS which made it Unmountable.

This let the Format Option to come up.

Re-Formatted the Drive, and now it looks like it is letting make the img.

 

Thanks for pointing me in the right direction.  :)

 

 

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...