I have an Ubuntu 18 image and I can correctly start with docker run and the container runs fine, except that the content of the /etc/fstab file is not mounted when the container is up and running.
//18.104.22.168/dirname /shared/otherdirname cifs credentials=/etc/fstab.password,iocharset=utf8,noperm,vers=2.1 0 0
where 99.99… is of course a to be replaced with the correct IP address. Credentials and file access rights are OK, after boot using mount -a as root mounts the fstab entries correctly !
Why it is not mounted at boot time ? How I can mount it ?
Thanks a lot,