Skip to content
Discussion options

You must be logged in to vote

说明里的那个不能用 我自己建立了一个iml文件 可以正常了

version: '3.8'

services:
ikuai-bypass:
container_name: ikuai-bypass
image: alpine:latest
privileged: true
restart: always
ports:
- "19000:19000"
# 核心修改:宿主机持久路径 ↓ 映射到容器内路径
volumes:
- /volume2/docker/ikuai-bypass/:/opt/ikuai-bypass/
command: ["/opt/ikuai-bypass/ikuai-bypass", "-c", "/opt/ikuai-bypass/config.yml", "-r", "cron"]
stdin_open: true
tty: true

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joyanhui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant