Skip to content

How to solve IsADirectoryError: [Errno 21] Is a directory: 'tgcf.config.yml' when doing docker run #187

Answered by aahnik
manojsitapara asked this question in Q&A
Discussion options

You must be logged in to vote

The docker method is for people who know docker.

As you are a windows user, it's best that you follow this guide


The solution to the mistake you made

You must use an absolute file path for docker volumes.

/absolute/path/to/tgcf.config.yml is just an example in the docker guide. It must be replaced with the actual path of the file on your computer.

As you have just written just tgcf.config.yml, docker thinks that it is a folder. An empty folder at the root (which does not exist) is mounted in the working dir of the docker container.

Learn

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aahnik
Comment options

@manojsitapara
Comment options

Answer selected by aahnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #186 on June 02, 2021 15:32.