Skip to content
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

docker启动没有持久化存储吗找不到,bash,sh,ash进不去 #21

Open
xingkongwangbin opened this issue Nov 21, 2023 · 1 comment

Comments

@xingkongwangbin
Copy link

大佬有持久化的解决方案可以共享下

@xingkongwangbin
Copy link
Author

xingkongwangbin commented Nov 21, 2023

docker-compose.yml 
version: '3'
services:
  nexus3:
    image: soulteary/apt-proxy
    container_name: apt-proxy
    restart: always
    ports:
      - 3142:3142
    volumes:
      - /data/apt:/.aptcache

从大佬知乎哪里找到了地址。顺手写了个compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant