diff --git a/content/k3s/latest/en/running/_index.md b/content/k3s/latest/en/running/_index.md index 6d63e5e3ac9..0782e165a14 100644 --- a/content/k3s/latest/en/running/_index.md +++ b/content/k3s/latest/en/running/_index.md @@ -171,8 +171,7 @@ serves as an example of how to run k3s from Docker. To run from `docker-compose d54c8b17c055 Ready 11s v1.13.2-k3s2 db7a5a5a5bdd Ready 12s v1.13.2-k3s2 -To run the agent only in Docker use the following `docker-compose-agent.yml` is in the root of this repo that -serves as an example of how to run k3s agent from Docker. Alternatively the Docker run command can also be used; +To run the agent only in Docker, use `docker-compose up node`. Alternatively the Docker run command can also be used; sudo docker run \ -d --tmpfs /run \ @@ -181,13 +180,6 @@ serves as an example of how to run k3s agent from Docker. Alternatively the Dock -e K3S_TOKEN=${NODE_TOKEN} \ --privileged rancher/k3s:vX.Y.Z - sudo docker run \ - -d --tmpfs /run \ - --tmpfs /var/run \ - -e K3S_URL=https://k3s.example.com:6443 \ - -e K3S_TOKEN=XXX \ - --privileged rancher/k3s:vX.Y.Z - Air-Gap Support ---------------