On attempt to create docker-compose python interpreter in PyCharm I get error:
Error while parsing "/Users/belek/Projects/project/docker-composee.yml": Process
docker-compose config
failed.
Itself docker-compose works fine. The docker-compose config
command running in terminal works too.
Before updating macOS and PyCharm I was using docker-compose python interpreter succesfully. Can't understand what's wrong. I created issue in JB YouTrack, but no response.
PyCharm 2019.2.3
macOS Catalina 10.15
The key difference between docker run versus docker-compose is that docker run is entirely command line based, while docker-compose reads configuration data from a YAML file. The second major difference is that docker run can only start one container at a time, while docker-compose will configure and run multiple.
Note: Docker Compose requires Python 3.6 or later.
The following helped me.
Go to 'System Preferences' -> 'Security & Privacy'.
Add PyCharm to "Full Disk Access" and to "Developer tools".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With