-
-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting rancher as docker to work #272
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm trying to add the rancher server instance to this docker setup (which is working great) and cannot succeed. Here is my setup, which is added to the docker-compose-ts yml file:
rancher:
image: rancher/rancher:latest
container_name: rancher
restart: unless-stopped
networks:
- t2_proxy
#ports:
# - 81:80
# - 440:443
volumes:
- $DOCKERDIR/appdata/rancher:/var/lib/rancher
command:
-- privileged
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.rancher-rtr.entrypoints=https"
- "traefik.http.routers.rancher-rtr.rule=Host(
rancher.$DOMAINNAME0
)"## Middlewares
# - "traefik.http.routers.rancher-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.rancher-rtr.service=rancher-svc"
- "traefik.http.services.rancher-svc.loadbalancer.server.port=80"
The error I'm seeing in the log is that the --privileged flag must be set when running rancher outside of kubernetes. I thought I had this covered with the command statement.
Maybe someone got this running and has a tip?
The text was updated successfully, but these errors were encountered: