• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

docker-compose up 에러

22.05.09 21:28 작성 조회수 461

0

안녕하세요, 파일 구성 완료 후 docker-compose up 명령어를 통해 실행시킬 때 문제가 발생합니다.
해당 문제는 mysql 을 실행하는 도중 멈추고 더이상 진행되지 않는데요
multi-container-docker-app-nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
app_backend                            | 애플리케이션이 500번 포트에서 시작됩니다.
multi-container-docker-app-frontend-1  | Starting the development server...
이렇게 nginx와 백앤드 프론트 앤드는 프로세스가 마무리 된 것 같은데
 
mysql은 아래와 같이
 
app_mysql | 2022-05-09T12:21:58.718924Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. app_mysql | 2022-05-09T12:22:00.648367Z 0 [System] [MY-010229] [Server] Starting XA crash recovery... app_mysql | 2022-05-09T12:22:01.138022Z 0 [System] [MY-010232] [Server] XA crash recovery finished. app_mysql | 2022-05-09T12:22:02.395027Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. app_mysql | 2022-05-09T12:22:02.399042Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. app_mysql | 2022-05-09T12:22:02.474283Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. app_mysql | 2022-05-09T12:22:04.760275Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
app_mysql | 2022-05-09T12:22:04.772098Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.29' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
 
이렇게 로그가 찍히다가 여기서 더이상 진행되지 않습니다. 혹시 뭐가 문제인지 알 수 있을까요?

답변 2

·

답변을 작성해보세요.

0

강승갑님의 프로필

강승갑

2023.01.13

저는 아래와 같은 오류메시지가 나옵니다.

service "mysql" has neither an image nor a build context specified: invalid compose project

0

SJ님의 프로필

SJ

2022.11.14

저도 같은 에러가 발생했습니다 해결하셨나여 ?