반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 성신여대맛집
- 파이썬
- 영화추천
- 스페인여행
- react
- ubuntu자바설치
- 통영
- npm
- 공무원
- 통영예쁜카페
- 뚝섬역맛집
- springboot
- ELK
- 방이편백육분삼십성신여대
- 서울숲누룽지통닭구이
- tomcat7
- 성북구맛집
- 한성대맛집
- JavaScript
- 성신여대편백집
- 통영에어비앤비
- 통영여행
- 자바스크립트에러처리
- 퇴사후공무원
- gradle
- 돈암동맛집
- 한남동맛집
- 방이편백육분삼십
- 국가직
- 꼴뚜기회
Archives
- Today
- Total
코린이의 기록
[Docker](Solved) Is the docker daemon running? 본문
반응형
docker build를 하려고했더니 아래와 같은 error 발생
Is the docker daemon running?
docker 실행이 안됬나보다 하고 실행 시켜봄
$ systemctl start docker.service
동작 안됨. 아래 커맨드로 좀 더 자세한 원인 파악을 해봄
$ journalctl -xe
--
-- The start-up result is done.
4월 16 14:16:37 rusdev logstash[160250]: Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
4월 16 14:16:38 rusdev logstash[160250]: [2020-04-16T14:16:38,816][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.6.2"}
4월 16 14:16:39 rusdev logstash[160250]: [2020-04-16T14:16:39,689][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/etc/logstash/conf.d/*.conf"}
4월 16 14:16:39 rusdev logstash[160250]: [2020-04-16T14:16:39,733][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
4월 16 14:16:40 rusdev logstash[160250]: [2020-04-16T14:16:40,207][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
4월 16 14:16:45 rusdev logstash[160250]: [2020-04-16T14:16:45,100][INFO ][logstash.runner ] Logstash shut down.
4월 16 14:16:45 rusdev systemd[1]: logstash.service: main process exited, code=exited, status=1/FAILURE
4월 16 14:16:45 rusdev systemd[1]: Unit logstash.service entered failed state.
4월 16 14:16:45 rusdev systemd[1]: logstash.service failed.
4월 16 14:16:45 rusdev systemd[1]: logstash.service holdoff time over, scheduling restart.
4월 16 14:16:45 rusdev systemd[1]: Stopped logstash.
-- Subject: Unit logstash.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit logstash.service has finished shutting down.
4월 16 14:16:45 rusdev systemd[1]: Started logstash.
-- Subject: Unit logstash.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit logstash.service has finished starting up.
--
-- The start-up result is done.
4월 16 14:17:00 rusdev logstash[160293]: Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
4월 16 14:17:01 rusdev logstash[160293]: [2020-04-16T14:17:01,090][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.6.2"}
4월 16 14:17:01 rusdev systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
4월 16 14:17:01 rusdev dockerd[160332]: unable to configure the Docker daemon with file /etc/docker/daemon.json: invalid character '"' after object key:value pair
4월 16 14:17:01 rusdev systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
4월 16 14:17:01 rusdev systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
위 error log중에서 주의깊게 볼 부분이
4월 16 14:17:01 rusdev dockerd[160332]: unable to configure the Docker daemon with file /etc/docker/daemon.json: invalid character '"' after object key:value pair
이 로그가 조금 수상해보였다.
daemon.json에 key:value 가 안맞는다..? 일단 daemon.json파일을 열어보았다.
daemon.json
{
"insecure-registries" : [ "10.20.1.52:5000"]
"insecure-registries" : [ "docker.domain.com"]
}
" , " 가 빠진거같은데..?
daemon.json 수정 후
{
"insecure-registries" : [ "10.20.1.52:5000"],
"insecure-registries" : [ "docker.domain.com"]
}
수정후 정상적으로 docker service 되는것을 확인함
반응형
'ICT&Tools > Docker' 카테고리의 다른 글
[Docker] Nginx Docker Image 생성 (0) | 2019.09.25 |
---|---|
[Docker] Docker 공부 (0) | 2019.09.24 |
Comments