"ERROR: no such image: alpinelinux/gitlab-shell:: invalid reference format" when running docker-compose up -d
Setting up
Hi. It's my first time using this repo. I am following the README guide.
I first cloned the repo with
git clone git@gitlab.alpinelinux.org:alpine/infra/docker/gitlab.git
.env
and I added the four variables, added an =
and a value after each.
Then I created a The .env
contents example:
GITLAB_HOSTNAME=git
GITLAB_ROOT_PASSWORD=gitlabroot
POSTGRES_PASSWORD=password
POSTGRES_USER=postgres
Running
docker-compose up -d
Next, I run this is my error output:
server:~/gitlab$ docker-compose up -d
WARNING: The GITLAB_VERSION variable is not set. Defaulting to a blank string.
WARNING: The GITALY_SERVER_VERSION variable is not set. Defaulting to a blank string.
WARNING: The GITLAB_SHELL_VERSION variable is not set. Defaulting to a blank string.
ERROR: no such image: alpinelinux/gitlab-shell:: invalid reference format
Troubleshooting
Checked and found that no containers are running.
server:~/gitlab$ docker-compose ps
Name Command State Ports
------------------------------
.env
file is created.
Made sure the server:~/gitlab$ ls -a
. .git Dockerfile Taskfile.yml build-args.env gitlab-shell
.. .gitignore LICENSE VERSIONS docker-compose.yml lib
.env .gitlab-ci.yml README.md build gitaly overlay
I check if the containers are running with docker-compose ps
and noticed nothing up.