Skip to content
Discussion options

You must be logged in to vote

I was finally able to reproduce, but only by mounting the app/working directory in my container which is a non-recommended configuration.

If app/working is provided as a mounted volume to the container, then the Docker process is maintaining a lock on the folder and will not allow it to be deleted.

Can you confirm your docker run command (or compose file) is not mounting app/working as a volume?

The following docker compose reproduces the error:

version: "3.5"
   
services:
  p2g-console:
    container_name: p2g-console
    image: philosowaffle/peloton-to-garmin:stable
    environment:
      - TZ=America/Chicago
    volumes:
      - ./configuration.local.json:/app/configuration.local.json

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pgray007
Comment options

Answer selected by philosowaffle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants