sameersbn / docker-gitlab

Dockerized GitLab
http://www.damagehead.com/docker-gitlab/
MIT License
7.91k stars 2.14k forks source link

ERROR: for gitlab Cannot create container for service gitlab #1322

Open andersonlin opened 7 years ago

andersonlin commented 7 years ago

Hello,

I used the recommended configuration of docker-compose.yml, but it promotes the following error, does somebody has any ideas? many thanks!

#docker-compose up -d
Creating gitlab ... 
Creating gitlab ... error

ERROR: for gitlab  Cannot create container for service gitlab: mkdir /var/lib/docker/overlay/d70e968cfc8349b4e29c34dbf7fb8ab662b9ba7d66f6fc661ee6744e07868097-init/merged/dev/shm: invalid argument

ERROR: for gitlab  Cannot create container for service gitlab: mkdir /var/lib/docker/overlay/d70e968cfc8349b4e29c34dbf7fb8ab662b9ba7d66f6fc661ee6744e07868097-init/merged/dev/shm: invalid argument
ERROR: Encountered errors while bringing up the project.

#docker-compose --version
docker-compose version 1.14.0, build c7bdf9e

#docker --version
Docker version 17.06.0-ce, build 02c1d87

# cat /proc/version
Linux version 3.10.0-327.36.3.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Mon Oct 24 16:09:20 UTC 2016
MichaelEischer commented 7 years ago

This is a docker problem: It seems like docker has problems to create the overlay filesystem when using xfs, ext4 seems to work. See https://github.com/moby/moby/issues/10294 for details.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.

Kruemmelspalter commented 3 years ago

For me, it also doesn't work with ext4