sameersbn / sameersbn/docker-gitlab

ERROR: for gitlab Cannot create container for service gitlab

Open
#1,322 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported docker-compose.yml configuration and reproduce the failure using docker-compose up -d. Check the Docker 17.06.0-ce, docker-compose 1.14.0, and CentOS kernel details against the /dev/shm mount error. Done means identifying a compatible configuration or clearly documenting the environmental cause and workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.