For example, such a document
version: '2' networks: default: driver: bridge services: aria2-app: image: xujinkai/aria2-with-webui container_name: aria2-with-webui environment: - SECRET=123 volumes: - /tmp/download:/data - /docker/aria2:/conf ports: - "6800:6800" - "6880:80" - "6888:8080"
I use it
docker stop aria2-with-webuiHow to start it again?
You can only delete the container before executing it.
docker-compose up -d
Well, a solution has been found
docker-compose up -d --force-recreate