Install Docker On Debian



  • Installing GitLab Runner
We provide packages for the currently supported versions of Debian, Ubuntu, Mint, RHEL, Fedora, and CentOS. You may be able to install GitLab Runner as a binary on other Linux distributions.
DistributionVersionEnd of Life date
DebianstretchJune 2022
DebianbusterJune 2024
UbuntuxenialApril 2021
UbuntubionicApril 2023
UbuntufocalApril 2025
Mintsarah, serena, sonya, sylviaApril 2021
Minttara, tessa, tina, triciaApril 2023
Mintulyana, ulyssaApril 2025
RHEL/CentOS7June 2024
CentOS8December 2021
RHEL8May 2029
Fedora32approx. May 2021
Fedora33approx. Nov 2021

Prerequisites

Mar 09, 2021 As you can see, docker-ce is not installed, so we can move on to the next step. Install Docker on Ubuntu 18.04. We are almost done. Use the apt command to install Docker: sudo apt install docker-ce 6. Check Docker Status. Once the installation is complete, it is a good idea to check the status of the service: sudo systemctl status docker. The Docker Desktop installation includes Docker Engine, Docker CLI client, Docker Compose, Notary, Kubernetes, and Credential Helper. Install and run Docker Desktop on Mac Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder.

If you want to use the Docker executor, make sure to install Docker beforeusing GitLab Runner. Read how to install Docker for your distribution.

Installing GitLab Runner

If you are using or upgrading from a version prior to GitLab Runner 10, read howto upgrade to the new version. If you wantto install a version prior to GitLab Runner 10, visit the old docs.

If you are using or upgrading from a version prior to GitLab Runner 10, read how to upgrade to the new version.If you want to install a version prior to GitLab Runner 10, visit the old docs. The Docker Desktop installation includes Docker Engine, Docker CLI client, Docker Compose, Notary, Kubernetes, and Credential Helper. Install and run Docker Desktop on Mac Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder.

To install GitLab Runner:

  1. Add the official GitLab repository:

  2. Install the latest version of GitLab Runner, or skip to the next step toinstall a specific version:

    Debian buster users should disable skel to preventNo such file or directory Jobfailures
  3. To install a specific version of GitLab Runner:

If you are using or upgrading from a version prior to GitLab Runner 10, read how to upgrade to the new version.If you want to install a version prior to GitLab Runner 10, visit the old docs.

After completing the step above, a runner should be started and beready to be used by your projects!

Make sure that you read the FAQ section which describessome of the most common problems with GitLab Runner.

APT pinning

A native package called gitlab-ci-multi-runner is available inDebian Stretch. By default, when installing gitlab-runner, that packagefrom the official repositories will have a higher priority.

If you want to use our package, you should manually set the source ofthe package. The best way is to add the pinning configuration file.

If you do this, the next update of the GitLab Runner package - whether it willbe done manually or automatically - will be done using the same source:

Docker

Updating GitLab Runner

Simply execute to install latest version:

Manually download packages

You can manually download and install thepackages if necessary.

Disable skel

Introduced in GitLab 12.10.

Install Docker On Debian Jessie

Sometimes the default skeleton (skel) directorycauses issues for GitLab Runner,and it fails to run a job. When installing GitLab Runner, set the environment variableGITLAB_RUNNER_DISABLE_SKEL to true before you install the package. This will createthe $HOME directory without the files inside of skel:

For example:

Upgrading to GitLab Runner 10

To upgrade GitLab Runner from a version prior to 10.0:

Install Docker On Debian 9

  1. Remove the old repository:

  2. Follow the same steps when installing GitLab Runner,without registering it and using the new repository.

  3. For RHEL/CentOS/Fedora, run:

    If you don’t run the above command, you will be leftwith no service file. Follow issue #2786for more information.

Install Docker On Debian

Help & feedback

Docs
Edit this pageto fix an error or add an improvement in a merge request.
Create an issueto suggest an improvement to this page.
Show and post commentsto review and give feedback about this page.
Product
Create an issueif there's something you don't like about this feature.
Propose functionalityby submitting a feature request.
Join First Lookto help shape new features.
Feature availability and product trials
View pricingto see all GitLab tiers and features, or to upgrade.
Try GitLab for freewith access to all features for 30 days.
Get Help

If you didn't find what you were looking for,search the docs.

If you want help with something specific and could use community support,post on the GitLab forum.

For problems setting up or using this feature (depending on your GitLabsubscription).

Request supportPlease enable JavaScript to view thecomments powered by Disqus.