![]() Make sure that you read the FAQ section which describes some of the most common problems with GitLab Runner. To do this, there are two options, which are described below. To run gitlab-runner inside a Docker container, you need to make sure that the configuration is not lost when the container is restarted. Install the Docker image and start the containerīefore you begin, ensure Docker is installed. The only difference is that the gitlab-runner command is executed inside of aĭocker container. ![]() ![]() In short, the gitlab-runner part of the command is replaced withĭocker run gitlab/gitlab-runner, while the rest of theĬommand stays as it is described in the register documentation. The general rule is that every GitLab Runner command that normally would be executedĭocker run -rm -t -i gitlab/gitlab-runner -help GitLab Runner was installed directly on the host. GitLab Runner Docker images (based on Ubuntu or Alpine Linux)Īre designed as wrappers around the standard gitlab-runner command, like if You should always use the latest stable Docker Engine version. However, to ensure you have the latest features and security updates, The GitLab Runner images should be backwards and forwards compatible. In general, the version of Docker Engine and the version of the GitLab Runner container imageĭo not have to match. This is how you can run GitLab Runner inside a Docker container.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |