I am receiving an error Are you trying to mount a directory onto a file (or vice-versa)? when starting docker-compose
When using docker toolbox (on older Windows workstations), only the
C:\Users directory is mounted and accessible to docker by default.
Place the Botium Box distribution directory somewhere below the
C:\Users directory to do the installation.
ERROR: for premium_nginx_1 Cannot start service nginx: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:58: mounting \\\"/c/dev/botium-box-dist/premium/nginx.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/overlay2/55fefd6ae4a7ed04b2831a0d32eca2f11217c51f144aa92d9cab4e40075c0426/merged\\\" at \\\"/mnt/sda1/var/lib/docker/overlay2/55fefd6ae4a7ed04b2831a0d32eca2f11217c51f144aa92d9cab4e40075c0426/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
|