

(~160/350 MB Ubuntu vs ~45/130 MB Alpine compressed/decompressed). gitlab/gitlab-runner:alpine based on Alpine with much a smaller footprint.gitlab/gitlab-runner:latest based on Ubuntu.The following multi-platform Docker images are available: Your container is already running you may need to restart it for the changes to take effect. The GitLab Runner container imports the ca.crt file on startup so if The ca.crt file should contain the root certificates of all the servers you e "CA_CERTIFICATES_PATH=/DIR/CERT" configuration option.Ĭopy the ca.crt file into the certs directory on the data volume (or container). The gitlab/gitlab-runner image is configured to look for the trusted SSLĬertificates at /etc/gitlab-runner/certs/ca.crt, this can however be changed using the Make sure the GitLab CI server certificate is trusted by the GitLab RunnerĬontainer for them to be able to talk to each other. If your GitLab CI server is using self-signed SSL certificates then you should Installing trusted SSL server certificates

You may find more information about handling container logs at theĭocker documentation page. Where gitlab-runner is the name of the container, set with -name gitlab-runner by by adding -v docker-machine-config:/root/.docker/machine for Docker named volumes.by adding -v /srv/gitlab-runner/docker-machine-config:/root/.docker/machine for system volume mounts.If you want to use the Docker Machine executor for autoscaling feature, you also need to mount Docker Machine Need to expose port 8093 by adding -p 8093:8093 to your docker run command. If you are using a session_server, you also.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.
#Alpine linux us keyboard layout install#
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.
