Install Rancher Agent on a fresh ubuntu 16.04
apt-get install -y apt-transport-https ca-certificates && \ | |
apt-key adv \ | |
--keyserver hkp://ha.pool.sks-keyservers.net:80 \ | |
--recv-keys 58118E89F3A912897C070ADBF76221572C52609D && \ | |
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list && \ | |
apt-get update && \ | |
apt-get install -y docker-engine=1.12.6-0~ubuntu-xenial && \ | |
docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.0 <server-url> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment