-
카테고리
-
세부 분야
데브옵스 · 인프라
-
해결 여부
미해결
docker run --rm -p 8080:8080 jxlwqq/http-echo --text="hello" 명령어시 경고문
22.02.14 14:52 작성 조회수 215
1
사용 OS : MAC M1
docker run --rm -p 8080:8080 jxlwqq/http-echo --text="hello"
입력시
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET / --> main.TextHandler (3 handlers)
[GIN-debug] GET /health --> main.HealthHandler (3 handlers)
라는 경고문구가 나오고 멈춥니다.
답변을 작성해보세요.
0
subicura
지식공유자2022.02.26
안녕하세요.
해당 로그가 보이고 멈춘것처럼 보인다면, 정상적으로 서버가 실행된 상태입니다.
그 상태에서 브라우저에서 "http://localhost:8080/"를 입력하셨을 때 정상적으로 hello가 표시된다면 문제가 없다고 보시면 됩니다.
감사합니다!
답변 1