docker-compose无法映射root目录 #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
services: hubproxy: image: ghcr.io/sky22333/hubproxy container_name: hubproxy ports: - "5000:5000" restart: always volumes: - './src:/root'容器可以弄个自定义目录吗?例如/hubproxy进行配置文件挂载
要映射配置文件需要先在宿主机添加好配置文件,然后再映射启动
ok了