что я пытаюсь сделать, это настроить общую папку на VB-VM. это будет использоваться для каталогов томов для докера.

Мой fstab выглядит так:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/docker--vg-root /               ext4    errors=remount-ro 0       1
/dev/mapper/docker--vg-swap_1 none            swap    sw              0       0
docker-volumes /var/lib/docker/volumes  vboxsf  rw      0       0

Но когда я делаю это, я получаю следующую ошибку при запуске службы Docker

May 09 20:32:32 docker systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILUR
May 09 20:32:32 docker systemd[1]: Failed to start Docker Application Container Engine.
May 09 20:32:32 docker systemd[1]: docker.service: Unit entered failed state.
May 09 20:32:32 docker systemd[1]: docker.service: Failed with result 'protocol'.
May 09 20:32:32 docker systemd[1]: docker.service: Service hold-off time over, scheduling restart.
May 09 20:32:32 docker systemd[1]: Stopped Docker Application Container Engine.
May 09 20:32:32 docker systemd[1]: docker.service: Start request repeated too quickly.
May 09 20:32:32 docker systemd[1]: Failed to start Docker Application Container Engine.
May 09 20:32:32 docker systemd[1]: docker.service: Unit entered failed state.
May 09 20:32:32 docker systemd[1]: docker.service: Failed with result 'protocol'.

ls -l /var /lib /docker /

drwx------ 2 root root 4096 May  9 19:49 builder
drwx--x--x 3 root root 4096 May  9 19:49 containerd
drwx------ 2 root root 4096 May  9 19:49 containers
drwx------ 3 root root 4096 May  9 19:49 image
drwxr-x--- 3 root root 4096 May  9 19:49 network
drwx------ 3 root root 4096 May  9 20:24 overlay2
drwx------ 4 root root 4096 May  9 19:49 plugins
drwx------ 2 root root 4096 May  9 20:32 runtimes
drwx------ 2 root root 4096 May  9 19:49 swarm
drwx------ 2 root root 4096 May  9 20:32 tmp
drwx------ 2 root root 4096 May  9 19:49 trust
drwxrwxrwx 1 root root 4096 May  9 20:23 volumes

ls -n /var /lib /docker /

drwx------ 2 0 0 4096 May  9 19:49 builder
drwx--x--x 3 0 0 4096 May  9 19:49 containerd
drwx------ 2 0 0 4096 May  9 19:49 containers
drwx------ 3 0 0 4096 May  9 19:49 image
drwxr-x--- 3 0 0 4096 May  9 19:49 network
drwx------ 3 0 0 4096 May  9 20:24 overlay2
drwx------ 4 0 0 4096 May  9 19:49 plugins
drwx------ 2 0 0 4096 May  9 20:32 runtimes
drwx------ 2 0 0 4096 May  9 19:49 swarm
drwx------ 2 0 0 4096 May  9 20:32 tmp
drwx------ 2 0 0 4096 May  9 19:49 trust
drwxrwxrwx 1 0 0 4096 May  9 20:23 volumes

Как я могу это исправить ?

0