How to make a docker container exit with a specific error, I can spin up a Docker container with docker-compose and check its exit code with this example: # Dockerfile FROM alpine:3.15 as base. # docker-compose.yml version: '3.6' services: dummy: build: context: . entrypoint: ["sleep...
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...
upon trying to rerun the celery worker I get the first error posted above. From reading this thread it is not clear to me whether this is an error related to celery or my work environment. Here is mydocker-compose.ymlfile for reference: version: "2.3" services: webapp: build: context: ...