We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
记录使用docker-compose安装docker可视化管理工具portainer
version: '3' services: portainer: image:portainer/portainer container_name: portainer restart: always volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "./portainer/data:/data" - "./portainer/Portainer-CN:/public" # 汉化 environment: # 设置环境变量,相当于docker run命令中的-e TZ: Asia/Shanghai LANG: en_US.UTF-8 ports: # 映射端口 - "9000:9000"
docker run -d -p 9000:9000 --restart=always --name portainer -v /var/run/docker.sock:/var/run/docker.sock -v /data/portainer:/data portainer/portainer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
记录使用docker-compose安装docker可视化管理工具portainer
docker-compose.yml
docker command
The text was updated successfully, but these errors were encountered: