You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jekyll/_cci2/install-machine-runner-3-on-docker.adoc
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,12 @@ contentTags:
15
15
16
16
This page describes how to install CircleCI's machine runner 3.0 with the Docker executor. If you are looking to set up self-hosted runners in a private Kubernetes cluster, visit the <<container-runner-installation#,Container runner>> page.
17
17
18
-
[#new-recommended-method-container-runner]
19
-
== Recommended method for Docker installation (container runner)
18
+
[NOTE]
19
+
====
20
+
xref:container-runner#[Container runner] is the **recommended method** for self-hosted runner Docker installation. The instructions on this page are for a simple Docker setup using machine runner 3.0.
20
21
21
-
The <<container-runner#,container runner>> is the recommended approach for running containerized jobs on self-hosted runners. Container runner offers the ability to seamlessly define, publish, and use custom Docker images during job execution, as well as the ability to manage dependencies or libraries through custom Docker images instead of enumerating dependencies as part of `steps` in the `.circleci/config.yml` file.
22
+
Container runner is the recommended approach for running containerized jobs on self-hosted runners. Container runner offers the ability to seamlessly define, publish, and use custom Docker images during job execution, as well as the ability to manage dependencies or libraries through custom Docker images instead of enumerating dependencies as part of `steps` in the `.circleci/config.yml` file.
23
+
====
22
24
23
25
[#machine-approach-with-docker]
24
26
== Machine-based approach with Docker
@@ -28,8 +30,8 @@ The <<container-runner#,container runner>> is the recommended approach for runni
The host needs to have Docker installed. Once the `runner` container is started, the container will immediately attempt to start running jobs. The container will be reused to run more jobs indefinitely until it is stopped.
When the container starts, it will immediately attempt to start running jobs.
76
-
77
-
[#start-the-docker-container-on-server]
78
-
==== Start the Docker container on server
79
-
80
+
[.tab.startContainer.Server]
81
+
--
80
82
When starting the Docker container on server, the `CIRCLECI_RUNNER_API_URL` environment variable will also need to be passed in using the `--env` flag.
0 commit comments