wordpress:
image: wordpress
links:
- wordpress_db:mysql
ports:
- 8080:80
wordpress_db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: edureka
phpmyadmin:
image: corbinu/docker-phpmyadmin
links:
- wordpress_db:mysql
ports:
- 8181:80
environment:
MYSQL_USERNAME: root
MYSQL_ROOT_PASSWORD: edureka
Asked
Active
Viewed 131 times
0
![](../../users/profiles/38644.webp)
Gerald Schneider
- 19,757
- 8
- 52
- 79
-
1I tried to format your yaml properly, but I believe by doing so I removed the actual problem. Please insert your actual yaml file contents in the same way, so it's formatted properly. If your error message contains a line number, please add that as well. – Gerald Schneider Jun 09 '22 at 09:50
-
Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) – Kostya Lubarsky Jun 09 '22 at 10:28
-
Please provide the actual content of your docker-compose.yml – Gerald Schneider Jun 09 '22 at 10:30
-
ok. it's fine now. Thank you for your response. – Kostya Lubarsky Jun 09 '22 at 10:36