안녕하세요,
Docker 호스트 네트워킹을 사용하여 Discourse를 설치하려고 하는데, rebuild 명령어에서 이상한 오류가 발생하고 있습니다.
./launcher rebuild app --docker-args --net=host --skip-mac-address를 실행하면 Discourse가 문제없이 재빌드되며 로드 밸런서를 통해 접근할 수 있습니다.
하지만 대신 container/app.yml에 해당 설정을 추가하면 재빌드 과정 초반에 오류가 발생합니다.
[root@hpc-discourse-p1 discourse]# ./launcher rebuild app
Device "docker0" does not exist.
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
unknown flag: --skip-mac-address
See 'docker run --help'.
unknown flag: --skip-mac-address
See 'docker run --help'.
unknown flag: --skip-mac-address
See 'docker run --help'.
unknown flag: --skip-mac-address
See 'docker run --help'.
unknown flag: --skip-mac-address
See 'docker run --help'.
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
unknown flag: --skip-mac-address
See 'docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
rm: cannot remove 'cids/app_bootstrap.cid': No such file or directory
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
[root@hpc-discourse-p1 discourse]#
이 설정을 구성 파일의 일부로 추가하여, 저나 다른 관리자가 재빌드나 유사한 작업을 수행할 때마다 추가 플래그를 매번 기억해서 입력해야 하는 번거로움을 없애고 싶습니다.
