How to upgrade to a specific Gitlab version via Docker?

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.

Problem to solve

Describe your question in as much detail as possible:

I was running Gitlab version 14.4.0 in a docker container, i want now to upgrade to version 15.3.0 but the logs keep telling me i have to follow the upgrade path and install 15.0.x first, so i installed 15.0.0 but when i run it it tells me you gotta install 14.10.0 first, and so i go on in the rabbit hole.

I am running old versions of Gitlab for security testing old exploits on it, i don’t wanna install intermediate versions of it, is there any way i can install the specific versions i want? do i have to delete all the old installed versions ?

Here is the docker-compose.yml file that im using.

version: '3.6'
    image: gitlab/gitlab-ee:15.0.0-ee.0
    container_name: gitlab2
    restart: always
    hostname: ''
        # Add any other gitlab.rb configuration here, each on its own line
        # external_url ''
      - '9999:80'
      - '443:443'
      - '22:22'
      - '$GITLAB_HOME/config:/etc/gitlab'
      - '$GITLAB_HOME/logs:/var/log/gitlab'
      - '$GITLAB_HOME/data:/var/opt/gitlab'
    shm_size: '256m'

to be clear, i would like to install any version i want without installing intermediate versions, if that’s not possible then i would like to know the update path from 14.4.0 to 15.3.0
i check the following tool Upgrade Path but it doesn’t even have 15.3.0, just 15.3.5 which i don’t want.

Thank you

  • What are you seeing, and how does that differ from what you expect to see?
  • Consider including screenshots, error messages, and/or other helpful visuals

Steps to reproduce

Which troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?


Provide screenshots from the GitLab UI showing relevant configuration, if applicable.
On self-managed instances, add the relevant configuration settings or changes.


Please select whether options apply, and add the version information.


Helpful resources

  1. Before opening a new topic, make sure to search for keywords in the forum search
  2. Check the GitLab project for existing issues. If you encounter a bug, please create a bug report issue.
  3. Troubleshooting docs: Self-managed GitLab instances.

Thanks for taking the time to be thorough in your request, it really helps! :blush:


Please refer to the pinned guideline here: GitLab Upgrade Path Resources
There are also plenty of posts on this topic, please search the forum.

P.S. Why do you not want 15.3.5? It’s the same as 15.3.0, just with bugfixes and security patches. Upgrade path will most of the time suggest you to upgrade to the latest patch of the minor.