Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: for laravelblog_mysql_1 Cannot create container for service mysql: invalid bind mount spec "/home/laravel-blog/storage/tmp/db:/var/lib/mysql:cached": invalid mode: cached #40

Closed
rasperepodvipodvert opened this issue Jul 4, 2018 · 3 comments

Comments

@rasperepodvipodvert
Copy link

After docker-compose run --rm --no-deps blog-server composer install

ERROR: for laravelblog_mysql_1 Cannot create container for service mysql: invalid bind mount spec "/home/laravel-blog/storage/tmp/db:/var/lib/mysql:cached": invalid mode: cached

Run on:

[root@localhost laravel-blog]# docker -v
Docker version 1.13.1, build 30c1ca9-unsupported

[root@localhost laravel-blog]# docker-compose -v
docker-compose version 1.17.1, build 6d101fb
@guillaumebriday
Copy link
Owner

Hey, your both versions of Docker and Docker-compose are very old.

The 1.13.1 version is the same as the 17.03 after the new versioning scheme.

To use the cached mode, you need at least 17.04.

@rasperepodvipodvert
Copy link
Author

Please write this in "Development environment requirements :"
Docker version >= 17.04

@guillaumebriday
Copy link
Owner

Done here, I added the stable version required 4e58b56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants