I could narrow down the crash to the docker-composerestart: alwaysflag. When I have a running compose stack withrestart: always, it crashes on launch. Any other restart policy or just stopping the stack, seems to fix the crash. ClassicDarkChocolate commentedon May 25, 2022 ...
I had something like docker-compose run my_container pytest || ( docker-compose logs && false ) in my build script. In the beginning this was the last command in the scripts section and worked as expected. A bit later another command was added after that one and failing tests from then...
Here is my docker-compose.yml file for reference: version: "2.3" services: webapp: build: context: . dockerfile: Dockerfile image: my-app container_name: my-app runtime: nvidia links: - redis environment: - NVIDIA_VISIBLE_DEVICES=all ports: - "4000:4000" volumes: - ./:/app command:...