johnf@unit3:~/Email-Marketing-1.2.2$ sudo docker-compose build
redis uses an image, skipping
nginx-proxy uses an image, skipping
sidekiq uses an image, skipping
web uses an image, skipping
whoami uses an image, skipping
johnf@unit3:~/Email-Marketing-1.2.2$ sudo docker-compose run web rake db:migrate
Starting emailmarketing122_sidekiq_1
ERROR: for sidekiq Cannot start service sidekiq: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:75: mounting "/datadrive/database.yml" to rootfs at "/smart-email-marketing/config/database.yml" caused: mount through procfd: 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
ERROR: Encountered errors while bringing up the project.
johnf@unit3:~/Email-Marketing-1.2.2$ sudo docker-compose build redis uses an image, skipping nginx-proxy uses an image, skipping sidekiq uses an image, skipping web uses an image, skipping whoami uses an image, skipping johnf@unit3:~/Email-Marketing-1.2.2$ sudo docker-compose run web rake db:migrate Starting emailmarketing122_sidekiq_1
ERROR: for sidekiq Cannot start service sidekiq: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:75: mounting "/datadrive/database.yml" to rootfs at "/smart-email-marketing/config/database.yml" caused: mount through procfd: 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 ERROR: Encountered errors while bringing up the project.