version: '3'
services:
rancher:
image: rancher/rancher
restart: always
user: root
ports:
- 8002:80
- 4443:443
volumes:
- /opt/rancher/rancher/:/var/lib/rancher/
- /opt/rancher/rancher/log/:/var/log/auditlog/
environment:
- CATTLE_SYSTEM_CATALOG=bundled
- AUDIT_LEVEL=3
来源:oschina
链接:https://my.oschina.net/yvanwang/blog/4277920